Hello everyone,
I have a question regarding a Stata coefficient.
Our professor told us to set obs = 100, generate 2 normally distributed variables (x with (1,2) and u with (0,1)) and y which equals y = 2 - 0.5*x + u. Then to regress y on x.
Now Stata gives us a biased coefficient, which is different every time we change the observations (thus not consistent).
We do not understand why it is not providing us with the correct coefficient. It must be somehow biased, but why??
I would really appreciate every help!
Thanks so much in advance,
Maja
Related Posts with Stata calculating biased coefficient?
Multinomial probit (mprobit): Syntax for specifying constraintsColleagues: The model being estimated is Code: mprobit y i.(x1 x2 x3 x4 x5) LHS variable y has 5 …
loopsHi, I am trying to look at a range of numbers in a loop but am having difficulty. My data looks li…
simple addplot syntax errors?Hi I'm trying to overlay a couple of plots but I can't seem to make it work and the stata help file…
Synth control method not matchingArray Hello, I have completed making a synthetic control method model of Russia after the interven…
Reusing SEM estimatesI feel like I'm missing something basic here. In order to reuse the results of a polychoric correlat…
Subscribe to:
Post Comments (Atom)
0 Response to Stata calculating biased coefficient?
Post a Comment