Learn R Programming

mme (version 0.1-6)

Multinomial Mixed Effects Models

Description

Fit Gaussian Multinomial mixed-effects models for small area estimation: Model 1, with one random effect in each category of the response variable (Lopez-Vizcaino,E. et al., 2013) ; Model 2, introducing independent time effect; Model 3, introducing correlated time effect. mme calculates direct and parametric bootstrap MSE estimators (Lopez-Vizcaino,E et al., 2014) .

Copy Link

Version

Install

install.packages('mme')

Monthly Downloads

165

Version

0.1-6

License

GPL (>= 2)

Maintainer

E. Lopez-Vizcaino

Last Published

January 27th, 2019

Functions in mme (0.1-6)

addtomatrix

Add rows from a matrix
msef

Analytic MSE for Model 1
prmu

Estimated mean and probabilities for Model 1
prmu.time

Estimated mean and probabilities for Model 2 and 3
Fbetaf

Inverse of the Fisher information matrix of the fixed and random effects in Model 1
Fbetaf.ct

Inverse of the Fisher information matrix of fixed and random effects in Model 3
msef.ct

Analytic MSE for Model 3
msef.it

Analytic MSE for Model 2
sPhikf

Fisher information matrix and score vectors of the variance components for Model 1
sPhikf.ct

Fisher information matrix and score vectors of the variance components for Model 3
Fbetaf.it

The inverse of the Fisher information matrix of the fixed and random effects for Model 2
addtolist

Add items from a list
phi.direct.ct

Variance components for Model 3
phi.direct.it

Variance components for Model 2
mme-package

Multinomial Mixed Effects Models
mmedata

Create objects of class mmedata
model

Choose between the three models
modelfit1

Function used to fit Model 1
phi.mult.it

Initial values for the variance components in Model 2
print.mme

Print objects of class mme
wmatrix

Model variance-covariance matrix of the multinomial mixed models
omega

Model correlation matrix for Model 3
phi.direct

Variance components for Model 1
phi.mult

Initial values for the variance components for Model 1
phi.mult.ct

Initial values for the variance components in Model 3
data.mme

Function to generate matrices and the initial values
initial.values

Initial values for fitting algorithm to estimate the fixed and random effects and the variance components
modelfit2

Function to fit Model 2
simdata2

Dataset for Model 2
simdata3

Dataset for Model 3
modelfit3

Function used to fit Model 3
sPhikf.it

Fisher information matrix and score vectors of the variance components for Model 2
simdata

Dataset for Model 1
ci

Standard deviation and p-values of the estimated model parameters
mseb

Bias and MSE using parametric bootstrap