Learn R Programming

tsdistributions (version 1.0.2)

spd_modelspec: Specification of a semi-parametric distribution model

Description

Specification of a semi-parametric distribution model

Usage

spd_modelspec(
  y,
  lower = 0.1,
  upper = 0.9,
  kernel_type = c("normal", "box", "epanech", "biweight", "triweight"),
  ...
)

Value

An object of class “tsdistribution.spd_spec”.

Arguments

y

a numeric vector

lower

the probability for the lower GPD tail.

upper

the probability for the upper GPD tail.

kernel_type

the choice of the kernel to use from the bkde function.

...

not currently used

Examples

Run this code
spec <- spd_modelspec(rnorm(1000))

Run the code above in your browser using DataLab