property_simulator {CPNCoverageAnalysis}R Documentation

Simulate properties based on the empricial distribution of the original data and new words with frequency one

Description

Simulate properties based on the empricial distribution of the original data and new words with frequency one

Usage

property_simulator(orig_data, new_words, number_subjects)

Arguments

orig_data

a data frame of size nx3 (id, concept, property). The empriical distribution is generated from this data

new_words

integer greater than 0, corresponding to the number of words with frequency one that should be added to the empirical distribution

number_subjects

number of subjects to be sampled. Each subject with generates new properties

Value

a vector with the extra number of participant to achieve the especific coverage, and the estimate of the number of unique properties listed by the new amount of suggested people

Examples

orig_data=data_paper[data_paper[,2]=="Decision",]
property_simulator(orig_data, 84, 15)

[Package CPNCoverageAnalysis version 1.1.0 Index]