as207 {gllm} | R Documentation |
Fits log-linear models for incomplete contingency tables, via an EM approach.
as207(y,s,X,maxit,tol)
y |
is the observed contingency table. |
s |
is a vector of indices, one for each cell of the full (unobserved)
contingency table, representing the appropriate cell of y |
X |
is the design matrix. |
maxit |
is the number of EM iterations. |
tol |
is the convergence criterion for the LR criterion. |
The call to the slightly modified AS207 Fortran code from Haber (1984).
A list with components:
istop |
|
ni |
|
nid |
|
nj |
|
nk |
|
nkp |
ncol(X) |
ji |
|
y |
|
c |
|
conv |
|
w |
|
v |
|
e |
|
f |
|
cspr |
|
cslr |
|
ifault |
{error indicator}
Haber M (1984). AS207: Fitting a general log-linear model. Appl Statist 33:358-362.