rvinvchisq

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").

Author

Jouni Kerman jouni@kerman.com

Examples


  rvinvchisq(df=3, scale=2)
#>     mean sd   1% 2.5% 25% 50% 75% 97.5% 99% sims
#> [1]  6.2 12 0.55 0.84 1.6 2.9 5.8    39  52  200