Hello,

I am using regsubsets function package 'leaps' and want to let it regress on
every 2 variables.

I wanted to leaps but wasn't able to control the size of variables. So I
decided to use regsubsets.

But I notice that if I set nvmax=2, it will regress on 3 variables instead
of 2; and when my nvmax=1, it regresses on 2, which is weird to me.  

I wonder whether my setting was incorrect or my understanding on nvmax was
wrong.
Thank you. 

CZ
-- 
View this message in context: 
http://r.789695.n4.nabble.com/nvmax-in-REGSUBSETS-function-tp2956926p2956926.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to