Description Usage Arguments Value References
Apply the linear programming test as derived by Fienberg and Rinaldo (2012), and a calculation of the rank of the design matrix, to check whether a particular model yields an identifiable maximum likelihood estimate based on the given data. The particular algorithm applied is described on page 3 of the supplementary material, with a typographical error corrected.
1 | checkident(zdat, mX = 0, verbose = F)
|
zdat |
Data matrix with t+1 columns. The first t columns, each corresponding to a particular list, are 0s and 1s defining the capture histories observed. The last column is the count of cases with that particular capture history. List names A, B, ... are constructed if not supplied. Where a capture history is not explicitly listed, it is assumed that it has observed count zero. |
mX |
A 2 \times k matrix giving the k two-list interactions to be included in the model.
Each column of |
verbose |
Specifies the output. If |
If verbose=F
, then return the error code ierr
which is 1 if the linear program test shows that the maximum likelihood
estimate does not exist, 2 if it is not identifiable, and 3 if both tests are failed.
If verbose=T
, then return a list with components as below
ierr
As described above
zlp
Linear programming object, in particular giving the value of the objective function at optimum.
Fienberg, S. E. and Rinaldo, A. (2012). Maximum likelihood estimation in log-linear models. Ann. Statist. 40, 996-1023. Supplementary material: Technical report, Carnegie Mellon University. Available from http://www.stat.cmu.edu/~arinaldo/Fienberg_Rinaldo_Supplementary_Material.pdf.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.