Hi guys, I am using a cross-section data to run 2sls regression. And there is a bunch of dummies coming from a "country id" variable which I have to control them as covariates both in the first and the second stage of my regressions. I just wonder that may I use the original "country id" variable to be a continues covariate rather than turn it into a bunch of dummies. I assume that since these are just covariates whether or not to be dummies, it should not affect my results. BUT I am wrong. The result of my interest variable under the continues covariates is very different from that of under the dummy covariates. Does anyone know why? Many thanks in advance.
Best
Frank Qu
Related Posts with Can I take fixed effects( such as country id) as a continues covariate to control
dealing with a time varying variable in stcoxI am analyzing survival in a group of respiratory patients it turns out that one of my variables (FV…
Forcing Stata to Post a Singular Variance-Covariance Matrix ("variance matrix is nonsymmetric or highly singular")Hello all, I am trying to get around the "variance matrix is nonsymmetric or highly singular" erro…
How to find lag and lead timeHello, I have this time series data looking at whether food contamination in a school district led …
Importing jason files.I need to import thousands of JSON files saved on my local hard drive and read in all the variables …
Margins plots curve lines other than straight lineAfter using "margins" command, I use "marginsplot" command to graph the margins plots. I get straigh…
Subscribe to:
Post Comments (Atom)
0 Response to Can I take fixed effects( such as country id) as a continues covariate to control
Post a Comment