Learn R Programming

mvst (version 1.1.1)

coef.mcSEsummary: Extract mcSE Model Coefficients.

Description

The point estimates for the model parameters are obtained from mcSE summary objects.

Usage

# S3 method for mcSEsummary
coef(object, ...)

Value

A list containing the point estimates for the estimated model.

Arguments

object

an object of class mcSEsummary.

...

further arguments passed to or from other methods.

See Also

mcSE, summary.mcSE.

Examples

Run this code
# Generate ST-distributed data (including the value of the latent variables)
pars = list(xi=c(2,2), G=diag(2), psi=c(0.3,0.5), nu=5)
values = rmvSE(n=100, p=2, modelType='ST', theta=pars)
# Estimate a Skew-t model (not run)
# fit = mcSE(y=values$y, X=NULL, N=20000, Ti=3, modelType='ST', warmUp=TRUE)
# stats = summary(fit)
# coef(stats)

Run the code above in your browser using DataLab