Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

Re: [R] A Question About Inverse Gamma

Sundar Dorai-Raj

2005-07-21

Replies:



pantd@(protected):
> Hi R users,
>
>
> I am having a little problem finding the the solution to this problem in R:
>
> 1. I need to generate normal distribution of sample size 30, mean = 50, sd = 5.
> 2. From the statistics obtained in step 1, I need to generate the Inverse Gamma
> distribution.
>
> Your views and help will be appreciated.
>
> ______________________________________________
> R-help@(protected)
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

I found rinvgamma in the MCMCpack package. Perhaps that's what you need.

Did you read the posing guide? A help.search("normal") would have helped
you with item 1.

--sundar

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
©2008 r-help.com - Jax Systems, LLC, U.S.A.