dirmult.summary | R Documentation |
Produces a summary table based on the estimated parameters from
dirmult
. The table contains MLE estimates and standard
errors together with method of moment (MoM) estimates and standard
errors based on MoM estimates from 'Weir and Hill (2002)'.
dirmult.summary(data, fit, expectedFIM=FALSE)
data |
A matrix or table with counts. Rows represent subpopulations and columns the different categories of the data. Zero rows or columns are automaticly removed. |
fit |
Output from |
expectedFIM |
Logical. Determines whether the observed or expected Fisher Information Matrix should be used. For speed use observed (i.e. FALSE) - for accuracy (and theoretical support) use expected (i.e. TRUE). |
Summary table with estimates and standard errors for π and theta.
dirmult
data(us) fit <- dirmult(us[[1]],epsilon=10^(-4),trace=FALSE) dirmult.summary(us[[1]],fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.