Learn R Programming

dirmult (version 0.1.1)

dirmult.summary: Summary table of parameter estimates from dirmult

Description

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)'.

Usage

dirmult.summary(data, fit)

Arguments

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 dirmult used on the same data table as above.

Value

  • Summary table with estimates and standard errors for $\pi$ and $\theta$.

concept

  • Genetics
  • Overdispersion
  • Dirichlet-multinomial

See Also

dirmult

Examples

Run this code
data(us)
fit <- dirmult(us[[1]],epsilon=10^(-12),trace=FALSE)
dirmult.summary(us[[1]],fit)

Run the code above in your browser using DataLab