Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

confint.fracdiff

Confidence Intervals for Fracdiff Model Parameters


Description

Computes (Wald) confidence intervals for one or more parameters in a fitted fracdiff model, see fracdiff.

Usage

## S3 method for class 'fracdiff'
confint(object, parm, level = 0.95, ...)

Arguments

object

an object of class fracdiff, typically result of fracdiff(..).

parm

a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered.

level

the confidence level required.

...

additional argument(s) for methods.

Value

A matrix (or vector) with columns giving lower and upper confidence limits for each parameter. These will be labelled as (1-level)/2 and 1 - (1-level)/2 in % (by default 2.5% and 97.5%).

Warning

As these confidence intervals use the standard errors returned by fracdiff() (which are based on finite difference approximations to the Hessian) they may end up being much too narrow, see the example in fracdiff.var.

Author(s)

Spencer Graves posted the initial version to R-help.

See Also

the generic confint; fracdiff model fitting, notably fracdiff.var() for re-estimating the variance-covariance matrix on which confint() builds entirely.

Examples

set.seed(101)
ts2 <- fracdiff.sim(5000, ar = .2, ma = -.4, d = .3)
mFD <- fracdiff( ts2$series, nar = length(ts2$ar), nma = length(ts2$ma))
coef(mFD)
confint(mFD)

fracdiff

Fractionally Differenced ARIMA aka ARFIMA(P,d,q) Models

v1.5-1
GPL (>= 2)
Authors
Martin Maechler [aut, cre] (<https://orcid.org/0000-0002-8685-9910>), Chris Fraley [ctb, cph] (S original; Fortran code), Friedrich Leisch [ctb] (R port, <https://orcid.org/0000-0001-7278-1983>), Valderio Reisen [ctb] (fdGPH() & fdSperio()), Artur Lemonte [ctb] (fdGPH() & fdSperio()), Rob Hyndman [ctb] (residuals() & fitted(), <https://orcid.org/0000-0002-2140-5352>)
Initial release
2020-01-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.