Description Usage Arguments Examples
Wrapper function for the estimation of the spatio-temporal-FH model as in Marhuenda (2012). Uses the
function FitSpatioTemporalFH
provided by Sample Deliverable 22: Software on Small Area Estimation
1 2 3 4 5 | fitSTEBLUP(formula, dat, beta, sigma, rho,
sigmaSamplingError = seSigmaClosure(nDomains, nTime)(),
nDomains = getNDomains(dat), nTime = getNTime(dat),
w0 = w0Matrix(nDomains), w = w0/rowSums(w0), tol = 0.001,
method = "Nelder-Mead", maxIter = 500)
|
formula |
formula for the fixed effects part |
dat |
data with dependent and independent variable as they are used in formula. The data should
contain a variable |
beta, |
sigma, rho start values for the parameters |
sigmaSamplingError |
True variances for the sampling errors |
nDomains |
the number of domains. Will be determined by default, see |
nTime |
the number of time periods. Will be determined by default, see |
w0 |
proximity matrix - not needed in the call to |
w |
at the moment row-standardized proximity matrix |
tol |
numerical tolerance for algorithm |
method |
method used by the function |
maxIter |
maximal number of iterations |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.