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
Predicted probabilities after multilevel multinomial logistic regression with random effectsI am trying to get predicted probabilities of a 7-category level-1 variable after running a multinom…
Missing Data in my imputed resultsHello, I am having some problems with the final results of my imputation. I administered the Beck A…
marginsplot title (and text box) centered on graph region, not plot region-marginsplot- expands the title and text box across the entire graph region, which twoway plots don'…
Two-way fixed effects in unbalanced panelHi everyone, I am replicating a paper in an economic journal which uses an unbalanced panel of firm…
Please help: Merge 1:1 delivers different results after each runthroughI want to merge two datasets based on one variable (neither dataset contains duplicates on this vari…
Subscribe to:
Post Comments (Atom)
0 Response to Model test for OLS conditions and if statement
Post a Comment