prior_conversion: Construct prior based on d-step prediction SD.

View source: R/functions.R

prior_conversionR Documentation

Construct prior based on d-step prediction SD.

Description

Construct prior based on d-step prediction SD.

Usage

prior_conversion(d, prior, p)

Arguments

d

A numeric value for the prediction step.

prior

A list that contains a and u. This specifies the target prior on the d-step SD \sigma(d), such that P(\sigma(d) > u) = a.

p

An integer for the order of IWP.

Value

A list that contains a and u. The prior for the smoothness parameter \sigma such that P(\sigma > u) = a, that yields the ideal prior on the d-step SD.


AgueroZZ/OSplines documentation built on Sept. 17, 2023, 9:24 a.m.