Description Usage Arguments Details Value References See Also Examples
computes triplet and individual weights the E step of the EM algorithm for all pedigrees in the data, in both cases with and without familial dependence. This is an internal function not meant to be called by the user.
1 2 |
ped |
a matrix representing pedigrees and measurements: |
probs |
a list of probability parameters of the model, see below for more details, |
param |
a list of measurement distribution parameters of the model, see below for more details, |
dens |
distribution of the mesurements, used in the model (multinormal, multinomial,...) |
peel |
a list of pedigree peeling containing connectors by peeling order and couples of parents, |
x |
covariates, if any. Default is |
var.list |
a list of integers indicating which covariates (taken from |
famdep |
a logical variable indicating if familial dependence model is used or not. Default is |
probs
is a list of initial probability parameters:
For models with familial dependence:
p
a probability vector, each p[c]
is the probability that an symptomatic founder is in class c
for c>=1
,
p0
the probability that a founder without symptoms is in class 0,
p.trans
an array of dimension K
times K+1
times K+1
, where K
is the number of latent classes of
the model, and is such that p.trans[c_i,c_1,c_2]
is the
conditional probability that a symptomatic individual
i
is in class c_i
given that his parents are in classes
c_1
and c_2
,
p0connect
a vector of length K
, where
p0connect[c]
is the probability that a connector without
symptoms is in class 0
,
given that one of his parents is in class c>=1
and the other in class 0,
p.found
the probability that a founder is symptomatic,
p.child
the probability that a child is symptomatic,
For models without familial dependence, all individuals are independent:
p
a probability vector, each p[c]
is the probability that an symptomatic individual is in class c
for c>=1
,
p0
the probability that an individual without symptoms is in class 0,
p.aff
the probability that an individual is symptomatic,
param
is a list of measurement density parameters: the coefficients alpha
(cumulative logistic coefficients see alpha.compute
) in
the case of discrete or ordinal data, and means mu
and variances-covariances matrices sigma
in the case of continuous data,
The function returns a list of 3 elements:
ww |
triplet posterior probabilities, an array of |
w |
individual posterior probabilities, an array of |
ll |
log-likelihood of the considered model and parameters. |
TAYEB et al.: Solving Genetic Heterogeneity in Extended Families by Identifying Sub-types of Complex Diseases. Computational Statistics, 2011, DOI: 10.1007/s00180-010-0224-2.
See also weight.famdep
, lca.model
.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.