Est.Inpar {SPmlficmcm} | R Documentation |
Computes the initial values
Description
Computes initial values of the model parameters.
Usage
Est.Inpar(fl, N, gnma, gnch, tab1, typ, p = NULL)
Arguments
fl |
Model formula. |
N |
Numeric vector containing the number of eligible cases( N1 ) and controls ( N0) in the population N = ( N0, N1 ). |
gnma |
Name of mother genotype variable. |
gnch |
Name of offspring genotype variable. |
tab1 |
|
typ |
Argument that specifies whether the data are complete (1) or there are missing offspring genotypes (2). |
p |
Disease prevalence. |
Details
The function use logistic regression to evaluate the initial values of the equation parameters given by the formula and uses empirical estimation to compute the initial values of the nonlinear system. For details, see Nguile-Makao et al., (2015).
Value
A list containing components
parms |
Initial values of the model parameters given by the formula and the allelic frequency parameter. |
ma.u |
Initial values of nonlinear system. |
References
Moliere Nguile-Makao, Alexandre Bureau (2015).Semi-Parametric Maximum Likelihood Method for Interaction in Case-Mother Control-Mother Designs: Package SPmlficmcm. Journal of Statistical Software, 68(10), 1-17. doi:10.18637/jss.v068.i10