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?
rfdist in metan does not workHello, I'm currently on a set of data and conducting a meta-analysis with metan. For the results I …
Create a new shared_border variableHi everyone, I am replicating a study. In the original study, the authors compare firms located in a…
times series data mergeHi I have 2 files that I want to merge and I want to create time-series data. I have one file with…
Event study, multiple observation and CAPM modelHello all, I am trying to create multiple event windows (quarterly earnings report announcement date…
Cohort study practical adviceHello everyone, Being very new to Stata I would love to have your inputs for my upcoming scientific…
Subscribe to:
Post Comments (Atom)
0 Response to Stata calculating biased coefficient?
Post a Comment