Learn R Programming

dsp (version 1.2.0)

sample_j_wrap: Sampling from 10-component Gaussian Mixture component described in Omori et al. 2007

Description

Samples from the conditional posterior distribution of the \(log(\chi^2)\) distribution by approximating it with the mixture Gaussian distribution described in Omori et al. 2007.

Usage

sample_j_wrap(Td, obs = NULL)

Value

Dataframe containing the posterior samples: mean and variance for the mixture component.

Arguments

Td

length of the vector

obs

Td x 1 vector for the data.