View source: R/discriminant_beta.R
discriminant_beta | R Documentation |
Discriminant function in the particular case of g=2 classes with an equal-covariance matrix
discriminant_beta(pi, mu, sigma)
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 |
Discriminant function in the particular case of g=2 classes with an equal-covariance matrix can be expressed
d(y_i,β)=β_0+β_1 y_i,
where β_0=\log\frac{π_1}{π_2}-\frac{1}{2}\frac{μ_1^2-μ_2^2}{σ^2} and β_1=\frac{μ_1-μ_2}{σ^2}.
beta0 |
An intercept of discriminant function |
beta |
A coefficient of discriminant function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.