Transcription of Package ‘leaps’ - R
{{id}} {{{paragraph}}}
Package leaps January 16, 2020 TitleRegression Subset Lumley based on Fortran code by Alan MillerDescriptionRegression subset selection, including exhaustive (>= 2)MaintainerThomas 17:50:05 UTCR topics documented:leaps ..4regsubsets ..5 Index8leapsall-subsets regressiomDescriptionleaps() performs an exhaustive search for the best subsets of the variables in x for predicting y inlinear regression, using an efficient branch-and-bound algorithm. It is a compatibility wrapper forregsubsetsdoes the same thing the algorithm returns a best model of each size, the results do not depend on a penalty modelfor model size: it doesn t make any difference whether you want to use AIC, BIC, CIC, DIC, ..12leapsUsageleaps(x=, y=, wt=rep(1, NROW(x)), int=TRUE, method=c("Cp", "adjr2", "r2"), nbest=10,names=NULL, df=NROW(x), )ArgumentsxA matrix of predictorsyA response vectorwtOptional weight vectorintAdd an intercept to the modelmethodCalculate Cp, adjusted R-squared or R-squarednbestNumber of subsets of each size to reportnamesvector of names for columns ofxdfTotal degrees of freedom to use instead ofnrow(x)in calculating Cp and ad-justed misfeatures of leaps() in SValueA list with componentswhichlogical matrix.
all.best Show all the best subsets or just one of each size matrix Show a matrix of the variables in each model or just summary statistics matrix.logical With matrix=TRUE, the …
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}
Professional Designations for 2015, A. M. Best, Professional Designations for 2015 Best, The best in all your future endeavors. Good, The 100 most influential scientists of all, The best, Trees, Shrubs and Vines with, Creating Charts That Show Trends, Best, The Totally 80s Karaoke Song List, Guide to Finishing Western Red Cedar, Guide to Finishing Western Red Cedar Guide to Finishing Western Red Cedar, WAYS TO ANSWER THE QUESTION, All-Time Rankings, Action Verbs