Dear all,
I am using Stata 16, on mac. I was wondering how would I write a program that selects a particular number of observations from a specified distribution such as uniform, poisson, beta? Also how would I write a nested loop if I wanted to draw a sample mean from the 3 distributions I mentioned previously with sample sizes of 3, 50 ,500 ,and 10000 and replicate 500 times and plot a histogram of the resulting distributions of the sample means?
Thank you in advance for your help,
Jason Browen
Related Posts with Help with Program that Draws Observations from Distribution and Nested Loop
Svy mean for calculating averages using nsso dataI am currently working on the 75th round data NSS, where I need to use survey analysis. I wanted to …
merging two data setsHi, I am trying to merge two data sets using two variables as the unique ID across both to join the …
Svy mean for calculating averages using nsso dataI am currently working on the 75th round data NSS, where I need to use survey analysis. I wanted to …
"Hessian is not negative semidefinite" when using xtmixedHi, I am analyzing several waves of longitudinal dataset to see whether there are significant inter…
How do I obtain _b[] and _se[] at the same time from Bootstrap with panel data ?The structure of my data is a panel, under the command "xtreg", how can I derive _b[] and _se[] at t…
Subscribe to:
Post Comments (Atom)
0 Response to Help with Program that Draws Observations from Distribution and Nested Loop
Post a Comment