skewnormal: Assumes A Multivariate Skewed Normal Prior Distribution for...

Description Usage Arguments Value See Also Examples

View source: R/8-UserPriors.R

Description

Creates a multivariate skewed normal prior distribution for the unknown parameters as an object of class cprior.

Usage

1
skewnormal(xi, Omega, alpha, lower, upper)

Arguments

xi

A numeric vector of length d=length(alpha) representing the location parameter of the distribution. For more details, see 'Background' in dmsn.

Omega

A symmetric positive-definite matrix of dimension (d,d). For more details, see 'Background' in dmsn.

alpha

A numeric vector which regulates the slant of the density. For more details, see 'Background' in dmsn.

lower

A vector of lower bounds for the model parameters.

upper

A vector of upper bounds for the model parameters.

Value

An object of class cprior that is a list with the following components:

The list will be passed to the argument prior of the function bayes. The order of the argument param in fn has the same order as the argument parvars when the model is specified by a formula. Otherwise, it is equal to the argument param in the function fimfunc.

See Also

bayes sensbayes

Examples

1
2
3
skewnormal(xi = c(0, 1),
 Omega = matrix(c(1, -0.17, -0.17, .5), nrow = 2),
  alpha = c(1, 0), lower =  c(-3, .1), upper = c(3, 2))

ehsan66/ICAOD documentation built on Oct. 16, 2020, 8:13 p.m.