prep_par_output: Preparation of Parameter Output

Description Usage Arguments Value

View source: R/help_functions.R

Description

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

Usage

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

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

Value

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


varycoef documentation built on June 3, 2021, 5:10 p.m.