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
Simple question on asdoc and label lengthsHi all, I am using asdoc to export some simple summary stats to word, using labels as variable name…
Baseline hazard function for Piecewise constant modelI need to plot baseline hazard functions for a piecewise constant model. The problem I find is that …
Variable labels and frmttableI am using frmttable to generate a summary table. As far as I can see the option varlabels should au…
Generating variable based on two groupsHello, I'm working with a dataset from Comtrade, which include information about import, export and…
Ranking in descending order Code: * Example generated by -dataex-. To install: ssc install dataex clear input int(clientid part…
Subscribe to:
Post Comments (Atom)
0 Response to Stepwise Regression Issue
Post a Comment