rv (version 2.3.4)

rvinvchisq: Generate Random Variables from a Inverse-Chi-Square Sampling Model

Description

rvinvchisq

Usage

rvinvchisq(n = 1, df, scale = 1)

Arguments

n

integer: number of variables to generate

df

degrees of freedom (may be random)

scale

scale parameter (may be random)

Value

A random vector (rv object).

Details

rvinvchisq

References

Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.

See also vignette("rv").

Examples

Run this code
# NOT RUN {
  rvinvchisq(df=3, scale=2)

# }

Run the code above in your browser using DataCamp Workspace