Hi,
I am trying to perform a stepwise regression with a lot of independent variables (790), and with a 5% p-value significance level for all the variables. I am using Stata 16.
First I do:
reg y q1 q2 q2 q3 H I J K L M N O...(all the other Xs)
then I do stepwise, pr(0.05) : regress y (q1 q2 q3 q4 H I J K L M N O.. (all the other Xs))
But I got this error:
begin with full model
last test not found
r(302);
Can someone kindly help me? Let me know if you need more information. I didn't put all the other variable names as they are 790, but it is not a variable problem as the first reg command goes through perfectly (with al lot of variables dropped because of estimability).
Carlo
Related Posts with Stepwise Regression Issue
Forecasting Personal Consumption expenditure: foodHello, I am forecasting PCE: food and I was wondering what is the best method to forecast. Would an …
Local loop line graphHello, I am trying to make a line graph with 25 lines, one for each department, but I keep getting 2…
My R value is a period?Hello, I am deeply sorry if this has been answered somewhere and I just not have found the right ke…
Use Margins for Interaction terms when model does not support factor notationHi Statalist My question is about how we can get Margins commands to work correctly when the estima…
aggregating values from several variables with IF AND conditionsHello Statalisters, I have a dataset containing geographic segment sales that I have standardized i…
Subscribe to:
Post Comments (Atom)
0 Response to Stepwise Regression Issue
Post a Comment