View source: R/proportionality.R
logitNormalVariation | R Documentation |
Estimates the variation matrix of count-compositional data based on a multinomial logit-Normal distribution. Estimation is performed using only the parameters of the distribution.
logitNormalVariation(
mu,
Sigma,
type = c("standard", "phi", "phis", "rho"),
order = c("second", "first")
)
mu |
The mle estimate of the mu matrix |
Sigma |
The mle estimate of the Sigma matrix |
type |
Type of variation metric to be calculated: |
order |
The order of the Taylor-series approximation to be used in the estimation |
An estimate of the requested metric of proportionality.
data(singlecell)
mle <- mleLR(singlecell)
mu.hat <- mle$mu
Sigma.hat <- mle$Sigma
logitNormalVariation(mu.hat, Sigma.hat)
logitNormalVariation(mu.hat, Sigma.hat, type="phi")
logitNormalVariation(mu.hat, Sigma.hat, type="rho")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.