| probs {LCAextend} | R Documentation |
probabilities parameters to be used for examples
Description
a list of probability parameters such as the probability that a founder is assigned to each class, the transition probabilities and the probability that a child is symptomatic.
Usage
data(probs)
Details
probs a list of probability parameters:
For models with familial dependence:
pa probability vector, each
p[c]is the probability that an symptomatic founder is in classcforc>=1,p0the probability that a founder without symptoms is in class 0,
p.transan array of dimension
KtimesK+1timesK+1, whereKis the number of latent classes of the model, and is such thatp.trans[c_i,c_1,c_2]is the conditional probability that a symptomatic individualiis in classc_igiven that his parents are in classesc_1andc_2,p0connecta vector of length
K, wherep0connect[c]is the probability that a connector without symptoms is in class0, given that one of his parents is in classc>=1and the other in class 0,p.foundthe probability that a founder is symptomatic,
p.childthe probability that a child is symptomatic,
For models without familial dependence, all individuals are independent:
pa probability vector, each
p[c]is the probability that an symptomatic individual is in classcforc>=1,p0the probability that an individual without symptoms is in class 0,
p.affthe probability that an individual is symptomatic,
Examples
data(probs)