Creating sampling distribution
Posted: Thu Aug 25, 2011 11:06 pm
Hi guys,
I am currently trying to program (this is the first semester I have ever used Eviews)
1) Create 100 observations from gamma distribution - I understand to use @rgamma (b,r)
2) Calculate the average of this sample
3) Repeat steps 1,2 one hundred times to get a data set that would have 100 estimates of mean coming from these randomly generated data sets
I'm not sure how to loop this, as the examples in the tutorial are mainly regression related.
Any hints, help would be greatly appreciated.
Thank you
I am currently trying to program (this is the first semester I have ever used Eviews)
1) Create 100 observations from gamma distribution - I understand to use @rgamma (b,r)
2) Calculate the average of this sample
3) Repeat steps 1,2 one hundred times to get a data set that would have 100 estimates of mean coming from these randomly generated data sets
I'm not sure how to loop this, as the examples in the tutorial are mainly regression related.
Any hints, help would be greatly appreciated.
Thank you