Learn R Programming

gcmr (version 0.5.1)

se: Standard Errors of Parameters for a Fitted Gaussian Copula Marginal Regression Model

Description

Returns the standard errors vector of a fitted Gaussian copula marginal regression model.

Usage

se(x, ...)

Arguments

x
a fitted Gaussian copula marginal regression model of class gcmr.
...
further arguments passed to function vcov.gcmr.

Value

  • A vector containing the estimated standard errors of the parameter of a fitted gcmr model.

References

Masarotto, G. and Varin, C. (2012). Gaussian copula marginal regression. Electronic Journal of Statistics, 6, 1517--1549. http://projecteuclid.org/euclid.ejs/1346421603.

See Also

gcmr, vcov.gcmr

Examples

Run this code
data(polio)
## ARMA(2,1)      
m <- gcmr(y~., data=polio, marginal=negbin.marg, cormat=arma.cormat(2,1), 
          options=list(seed=71271, nrep=100))
m
## various type of standard errors
res <- cbind(se(m,"he"),se(m,"v"),se(m,"s"),se(m,"hac"))
colnames(res) <- c("hessian", "vscore", "sandwich", "HAC")
res

Run the code above in your browser using DataLab