r_nix2: Sample from NIX2 distribution

Description Usage Arguments Value

View source: R/nix.R

Description

This first draws the variance from a (scaled) inverse chi squared distribution, and then the mean from a normal distribution.

Usage

1
r_nix2(n, p)

Arguments

n

Number of samples to draw

p

NIX2 parameters

Value

An n x 2 matrix with sampled means in the first column and variances in the second


kleinschmidt/beliefupdatr documentation built on May 24, 2020, 8:26 p.m.