Description Usage Arguments Value
Initialize an LRMoE model based on Clustered Method of Moments
1 |
Y |
A N by d ( |
X |
X A N*P matrix of numerics, where P is the number of covariates.
The first column of |
n_comp |
Numeric, representing how many latent classes/groups to use. |
type |
A vector of strings of either "continuous" or "exact", representing
whether each dimension of |
exact_Y |
TRUE/FALSE: whether |
A list where zero_y
, mean_y_pos
, var_y_pos
,
skewness_y_pos
and kurtosis_y_pos
represent the summary statistics of Y
by dimension and by component.
alpha_init
and experts_init
represents the parameter initializations.
ll_init
contains the loglikelihood of each experts fitted to Y
by
dimension and by component.
ll_best
suggests an initialization of expert functions based on the best loglikelihood.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.