Hello,
I am working with a multiple linear regression model. I have to test wether my model meets the conditions of OLS. However I run into problems with parameters of the test.
My model looks like this: reg fh_ipolity2 wdi_gdpcapcon2010_log former_colony_k british_colony_k oil_gas_rents_pct wdi_expmil pwt_pop if year>=1974 & year<=1988 & pwt_pop>=1
When I run something like a acpr-plot I cannot apply those "if" parameters. What is the best scientifically correct way of handling this problem?
Do I run the acpr-plot for all years and population size, and then just assume this apply for my model aswell, or do i recode variables to only contain data within my year range?
Thank you in advance
Related Posts with Model test for OLS conditions and if statement
Loop and Append .dta filesHello All, I am trying to import d.ta file and append them, what is wrong with this code? For some …
graph with many linesDear All, Suppose that I have the following data Code: * Example generated by -dataex-. To install:…
Merge 1:1 problemHi, I am trying to merge two excel datasets which have unemployment and education data at the US co…
How to Drop Duplicate ID Observations if There are Multiple Conditions I Want to ApplyHello Everyone, I hope that you could help me with the below. I have a cross-sectional dataset of …
Neumark or Oaxaca-RansomQuick question regarding decomposition methods and the use of omega with the Oaxaca command. https:…
Subscribe to:
Post Comments (Atom)
0 Response to Model test for OLS conditions and if statement
Post a Comment