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
Paired or Unpaired t test for Panel dataHi Dear, If we have to run t tests of two groups of countries. Both groups of countries consist of …
Labelling groupsCan someone please tell me why this is an invalid syntax and I can't label my age groups please? ge…
Converting string values to numericI would appreciate a hand with concise code to convert variable values that are listed alphabeticall…
Comparing dates in 2 variables and 2 observationsHello, Beginner Stata user here. So I have two date variables in 13Nov2019 type format, which are a…
T test between coefficients in categorical variablesHello there, my regression is: WageHour Var1##Var2 I want to check all the p-values between the…
Subscribe to:
Post Comments (Atom)
0 Response to Model test for OLS conditions and if statement
Post a Comment