研究了很久stata都不是很会,老师给的作业做了一天也不懂
求教高手..其中一个题目感觉很简单就是不会做...
assume a model and a disturbance term u: Y= a+b*x+u
choose 30 obs of data for x, and values for the parameters of the model
c)generate a disturbance term using a normal disturibution with zero mean and unit varinace. then generate the value of Y
d)regress Y on x using the ols estimation technique and collect the estimated coefficient b1 and b2
repeat c) and d) 200 times and generate two scatter plot graphs, one for each b1 and b2.
需要先设置model吗?基本做到b问就卡住了,以前学都是winrats什么之类的,stata第一次接触,有没有比较好的教程....谢谢