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?
Identifying the Distribution of DataHi All, the COVID-19 epidemics proposed the need to estimate the distribtion of the serial interval…
Error: dta file corrupt. There was an I/O error. This suggests the problem is with the device rather than the file itself.Hi, I sometimes get the above error when opening a dataset. It is not very common, though common en…
Different colors on ascending and descending connect lines in scatter plotDear All, Is it possible to color connecting lines in a scatter plot in different colors ? I plott…
How to create a connected graph for paired mean outcomes at different times with CI whiskersHi everyone. I have tried to search for a way to make a learning curve graph with connected lines b…
Strange thingsHi all, so I am running a simple regression on products. My aim is to see if at a more aggregate le…
Subscribe to:
Post Comments (Atom)
0 Response to Stata calculating biased coefficient?
Post a Comment