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
why always (invalid nameHere is my code as shown below, when I run it, it always report error "( invalid name". Somebody ple…
Generating dummy variables based on variables with multiple categoriesHi, I have a (panel) dataset that contains the following variables for each observation: person_id …
Weighted median and range with svy dataHi all, I'm hoping this is an easy response but I can't seem to find an answer to it. I'm working w…
How to compare two coefficients in two forthlogit regressions?Hello, As my dependent variable is a rare event, I am running forthlogit regressions. In my sample,…
Interaction Term and Measuring the Impact of Pre- and Post-ReformDear Members, I have panel data, spanning between 2005 to 2015. I just want to measure the impact o…
Subscribe to:
Post Comments (Atom)
0 Response to Stepwise Regression Issue
Post a Comment