loglk_ig | R Documentation |
Log likelihood for partially classified data with ingoring the missing mechanism
loglk_ig(dat, zm, pi, mu, sigma, ncov = 2)
dat |
An n\times p matrix where each row represents an individual observation |
zm |
An n-dimensional vector containing the class labels including the missing-label denoted as NA. |
pi |
A g-dimensional vector for the initial values of the mixing proportions. |
mu |
A p \times g matrix for the initial values of the location parameters. |
sigma |
A p\times p covariance matrix if |
ncov |
Options of structure of sigma matrix; the default value is 2;
|
The log-likelihood function for partially classified data with ingoring the missing mechanism can be expressed as
\log L_{PC}^{({ig})}(θ)=∑_{j=1}^n ≤ft[ (1-m_j)∑_{i=1}^g z_{ij}≤ft\lbrace \logπ_i+\log f_i(y_j;ω_i)\right\rbrace +m_j\log ≤ft\lbrace ∑_{i=1}^gπ_i f_i(y_j;ω_i)\right\rbrace \right],
where m_j is a missing label indicator, z_{ij} is a zero-one indicator variable defining the known group of origin of each, and f_i(y_j;ω_i) is a probability density function with parameters ω_i.
lk |
Log-likelihood value. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.