Learn R Programming

rv (version 0.949)

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, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.

Examples

Run this code
#

Run the code above in your browser using DataLab