PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: quiz answers

Package ‘leaps’ - R

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 …

Loading..

Tags:

  Best, Packages, Pale, The best all, Package leaps

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Package ‘leaps’ - R

Related search queries