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
Generate a new variable adding observations of a different columnHello, I have the following dataset: Code: * Example generated by -dataex-. To install: ssc insta…
including a legend with labels in an overlay graphDear all, I would like to add to an overlay plot a legend, that gives for every color used the name…
Help with "variables out of order" errorHello everyone, I am trying to estimate a treatment effect model using the Heckman's sample selecti…
Using moss to cut extremely long string variables in two (based on character position)Hello all, I am trying to import and clean a number of documents (imported into a dataset as a sing…
Write ado command with function defined on MataI am writing an ado file and I use structures like: program define XX, eclass myfunction() ereturn m…
Subscribe to:
Post Comments (Atom)
0 Response to Stepwise Regression Issue
Post a Comment