全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
1644 0
2019-10-11
A Simulate thousand samples of size 1 (5, 10, 100, 1000) normally distributed variables with mean zero and variance of 4. Calculate the respective sample averages. Make a histogram of the sample averages. Comment on the graphs as you increase the size of the samples.

B The same as in the previous sub-exercise, but take the ratio of two standard-normally distributed variables. Comment on the graphs as you increase the size of the samples. When you focus on the samples of size 1, in which way does the graph vary compared to the first subexercise? In which circumstances could a distribution like this one apply?

C The same as in the previous sub-exercise but with following variation: keep the standardnormally distributed variable in the numerator. In the denominator, add up two squared standard normally distributed variables, divide by two, take the square root of that. Comment on the graphs as you increase the size of the samples.  


D Repeat the above three sub-exercises, but calculate and graph the sample variance instead of the sample mean.  

问题如标题,网上说sum之后就直接histogram就成,所以mean和variance的图一样?不是的话,要用什么命令?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群