Description Usage Arguments Details Value Note Author(s) References Examples
This function fits a two-component mixture of expert model with ridge penalization on parameters of the linear predictor of proportions.
1 2 3 4 5 |
y |
numeric vector of response to fit. |
x |
matrix of predictors with samples in rows and covariates in columns. |
lambda.ridge |
ridge penalization constant. |
initial |
a list of initial values. |
conv.eps |
EM convergence threshold. |
maxiter |
a list of prespecified integer values for maximum number of iterations. |
we may fill this later
alpha |
the parameters of the linear predictor of proportions under logit transformation. |
beta |
matrix of parameters of the linear predictors for mean components. |
The choice of initial values is crucial. A common variance is assumed. Maximized log likelihood value may be returned, or the estimated common variance. This function only fits Gaussians with two components. A good choice of penalization constant is proved to be of order log of sample size. This function requires installation of GSL libraries on the machine and may not work under Windows platform.
Vahid Partovi Nia and Abbas Khalili
Khalili, A. (2010). New Estimation and Feature Selection Methods in Mixture-of-Experts Models. The Canadian Journal of Statistics, 38, 519-539.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.