| svpSE | R Documentation |
Computes standard errors and confidence intervals for estimated parameters
by simulating from the fitted model and re-estimating. Supports all model
types returned by svp: Gaussian (with or without leverage),
Student-t, and GED.
svpSE(object, n_sim = 199, alpha = 0.05, burnin = 500, logNu = FALSE)
object |
A fitted model object from |
n_sim |
Integer. Number of Monte Carlo replications. Default 199. |
alpha |
Numeric. Significance level for confidence intervals. Default 0.05. |
burnin |
Integer. Burn-in period for simulation. Default 500. |
logNu |
Logical. Solve for |
A list with:
2 x k matrix of confidence intervals (lower, upper).
Standard errors relative to true parameter values.
Standard errors relative to sample mean.
Conservative interval-based standard errors.
Liberal interval-based standard errors.
Matrix of parameter estimates from simulations.
# Gaussian SV(1)
y <- sim_svp(1000, phi = 0.95, sigy = 1, sigv = 0.2)$y
fit <- svp(y)
se <- svpSE(fit, n_sim = 49)
se$CI
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.