Description Usage Arguments Value References See Also Examples
This function sets the initial values. An iterative algorithm fits the multinomial mixed models
that requires initial values for the fixed effects, the random
effects and the variance components. This initial values are used in modelfit1
,
modelfit2
and modelfit3
.
1 | initial.values(d, pp, datar, mod)
|
d |
number of areas. |
pp |
vector with the number of auxiliary variables per category. |
datar |
output of function |
mod |
a number specifying the type of model: 1=multinomial mixed model with one independent random effect for each category of the response variable (Model 1), 2=multinomial mixed model with two independent random effects for each category of the response variable: one domain random effect and another independent time and domain random effect (Model 2) and 3= multinomial mixed model with two independent random effects for each category of the response variable: one domain random effect and another correlated time and domain random effect (Model 3). |
A list containing the following components, depending on the chosen model.
beta.0 |
a list with the initial values for the fixed effects beta per category. |
phi.0 |
vector with the initial values for the variance components phi of Model 1. |
phi1.0 |
vector with the initial values for the variance components phi1 of Model 2 or 3. |
phi2.0 |
vector with the initial values for the variance components phi2 of Model 2 or 3. |
u |
matrix with the initial values for the random effect for Model 1. |
u1.0 |
matrix with the initial values for the first random effect for Model 2 or 3. |
u2.0 |
matrix with the initial values for the second random effect for Model 2 or 3. |
rho.0 |
vector with the initial values for the correlation parameter for Model 3. |
Lopez-Vizcaino, ME, Lombardia, MJ and Morales, D (2013). Multinomial-based small area estimation of labour force indicators. Statistical Modelling, 13, 153-178.
Lopez-Vizcaino, ME, Lombardia, MJ and Morales, D (2013). Small area estimation of labour force indicators under a multinomial mixed model with correlated time and area effects. Submitted for review.
data.mme
, wmatrix
,
phi.mult.it
, prmu.time
,
Fbetaf.it
, phi.direct.it
,
sPhikf.it
, ci
,
modelfit2
, msef.it
,
mseb
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.