Learn R Programming

varycoef (version 0.3.3)

prep_par_output: Preparation of Parameter Output

Description

Prepares and computes the ML estimates and their respective standard errors.

Usage

prep_par_output(output_par, Sigma_final, Rstruct, profileLik, X, y, H, q)

Value

A list with two data.frame. Each contains the estimated parameters with their standard errors of the fixed and random effects, respectively.

Arguments

output_par

(numeric)
Found optimal value of optim.

Sigma_final

(spam or matrix(n, n))
Covariance matrix Sigma of SVC under final covariance parameters.

Rstruct

(NULL or spam.chol.NgPeyton)
If covariance tapering is used, the Cholesky factor has been calculated previously and can be used to efficiently update the Cholesky factor of Sigma_final, which is an spam object.

profileLik

(logical(1))
Indicates if optimization has been conducted over full or profile likelihood.

X

(matrix(n, p)) Design matrix

y

(numeric(p)) Response vector

H

(NULL or matrix) Hessian of MLE

q

(numeric(1)) Number of SVC