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?
convert northing and easting to longtitude and latitudeHi, is there a code for converting "northing" and "easting" to longitude and latitude? Many thanks! …
Graph panel dataHi all, My name is Thomas Leirvik, and have a few questions about plotting using Stata (sorry for m…
Drop observation if missing in two discontinous yearsHello, I have a lot of balance sheet data (with a lot of variables). What I need is for every idnr …
Two Step Binary Choice Regression Model: What type of regression model to use to avoid sample selection bias and autocorrelation?Hi, I have a two step-model (see below) in which all the people answer the question in the first par…
Looking for methological adviceHi everyone, I'm looking for methodological advice on the undertaking described below. I tried to s…
Subscribe to:
Post Comments (Atom)
0 Response to Stata calculating biased coefficient?
Post a Comment