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?
conflicting results with command ivprobit and marginsHi all! When I ran ivprobit, I got positive and significant coefficient for my endogenous independen…
error merge m:1 no? unique numbers in using dataHi there, I am trying to merge 2 datasets with m:1, on keyvar ID. i am getting an error that "variab…
Pairwise correlationsHi, I am a very new user in Stata and need help with obtaining only relevant correlation coefficien…
Easier way to get casewise statistics using tabstat?Hi, I need a command/code that help me to get casewise descriptive statistics using "tabstat" witho…
Pooled OLS and Random EffectsHello everyone, Was just concerned as I have a set of panel data obvservations, and when running reg…
Subscribe to:
Post Comments (Atom)
0 Response to Stata calculating biased coefficient?
Post a Comment