0

I have to perform forward subset selection on College data for the ISLR package, modelling one variable against the others on a training set. Normally I should have a list of variables like

Subset selection object
Call: regsubsets.formula(Outstate ~ ., data = College, subset = train, 
    method = "forward", nvmax=19)
17 Variables  (and intercept)
            Forced in Forced out
PrivateYes      FALSE      FALSE
Apps            FALSE      FALSE
Accept          FALSE      FALSE
Enroll          FALSE      FALSE
Top10perc       FALSE      FALSE
Top25perc       FALSE      FALSE
1 subsets of each size up to 8
Selection Algorithm: forward
Coefficients    Model1     Model2     ...
PrivateYes      *          -
Apps            *          -
Accept          *          -
Enroll          *          *
Top10perc       -          *
Top25perc       -          -

etc.

But only this appears:

Subset selection object
Call: regsubsets.formula(Outstate ~ ., data = College, subset = train, 
    method = "forward", nvmax=19)
17 Variables  (and intercept)
            Forced in Forced out
PrivateYes      FALSE      FALSE
Apps            FALSE      FALSE
Accept          FALSE      FALSE
Enroll          FALSE      FALSE
Top10perc       FALSE      FALSE
Top25perc       FALSE      FALSE
1 subsets of each size up to 8
Selection Algorithm: forward

so I have no idea which variables are selected. I used to not have this problem but after maybe an update of R it doesn't show the selection of the stars anymore.

therickster
  • 111
  • 6

0 Answers0