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.
pantd at unlv.nevada.edu wrote:> 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 at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.htmlI 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