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
type mismatch error in declaring a function of a classDear Statalist, I have one question regarding the mata programming. I couldn't figure out why mata …
"[" invalid command name error while running simple linear regression in STATAHi, I am trying to run the linear regression command (reg dep independent variables) in STATA but a…
Looping with paired values but not for every variableHi, let's say I want to create a series of dummy variables as follows: Code: order work_deg_sector…
Unbalanced covariates when the treatment variable has 3 levelsHello, I have performed covariate balancing test and after seeing the result I am confused. Could yo…
bar graphDear All, Suppose that I have this data set: Code: * Example generated by -dataex-. For more info, …
Subscribe to:
Post Comments (Atom)
0 Response to Model test for OLS conditions and if statement
Post a Comment