Description Usage Arguments Value Examples
View source: R/estimate_NERM.R
Estimate NERM, store fixed and random parameters and variances
1 | estimate_NERM(X, y, clusterID, X_cluster = NULL)
|
X |
Matrix with covariates for fixed effects |
y |
Vector of responses |
clusterID |
Vector with cluster labels |
X_cluster |
Matrix with cluster level covariates for fixed effects.
Default: |
List with parameters:
fit_model_fixed |
Estimated model using fixed effects |
fit_model_mixed |
Estimated model using fixed and random effects |
sig_u |
Variance parameter of random effects |
sig_e |
Variance parameter of errors |
beta |
Fixed effects (regression parameters) |
u |
Random effects |
mu |
Mixed effects |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.