Package: bestglm 0.37.3

bestglm: Best Subset GLM and Regression Utilities

Best subset glm using information criteria or cross-validation, carried by using 'leaps' algorithm (Furnival and Wilson, 1974) <doi:10.2307/1267601> or complete enumeration (Morgan and Tatar, 1972) <doi:10.1080/00401706.1972.10488918>. Implements PCR and PLS using AIC/BIC. Implements one-standard deviation rule for use with the 'caret' package.

Authors:A.I. McLeod, Changjiang Xu and Yuanhao Lai

bestglm_0.37.3.tar.gz
bestglm_0.37.3.zip(r-4.5)bestglm_0.37.3.zip(r-4.4)bestglm_0.37.3.zip(r-4.3)
bestglm_0.37.3.tgz(r-4.4-any)bestglm_0.37.3.tgz(r-4.3-any)
bestglm_0.37.3.tar.gz(r-4.5-noble)bestglm_0.37.3.tar.gz(r-4.4-noble)
bestglm_0.37.3.tgz(r-4.4-emscripten)bestglm_0.37.3.tgz(r-4.3-emscripten)
bestglm.pdf |bestglm.html
bestglm/json (API)
NEWS

# Install 'bestglm' in R:
install.packages('bestglm', repos = c('https://cliffordlai.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • AirQuality - Daily ozone pollution with meteorlogical and date inputs
  • Detroit - Detroit homicide data for 1961-73 used in the book Subset Regression by A.J. Miller
  • Fires - Forest fires in Montesinho natural park. Standardized inputs.
  • Iowa - Iowa School Test
  • MontesinhoFires - Forest fires in Montesinho natural park
  • SAheart - South African Hearth Disease Data
  • Shao - Simulated Regression Data
  • hivif - Simulated Linear Regression (Train) with Nine Highly Correlated Inputs
  • manpower - Hospital manpower data
  • mcdonald - Pollution dataset from McDonald and Schwing
  • rubber - Abrasion loss for various hardness and tensile strength
  • znuclear - Nuclear plant data. Quantitative inputs logged and standardized.
  • zprostate - Prostate cancer data. Standardized.

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

5.37 score 5 packages 402 scripts 3.9k downloads 22 mentions 25 exports 13 dependencies

Last updated 5 years agofrom:d022e904cc. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-winOKNov 01 2024
R-4.5-linuxOKNov 01 2024
R-4.4-winOKNov 01 2024
R-4.4-macOKNov 01 2024
R-4.3-winOKNov 01 2024
R-4.3-macOKNov 01 2024

Exports:bestglmCVdCVDHCVHTFdgridfitted.pcregglmnetGridTableglmnetPredictgrpregPredictLOOCVNNPredictoneSDRulepcregplot.pcregplot1SDRulepredict.pcregprint.bestglmprint.pcregresiduals.pcregsphereXsummary.bestglmsummary.pcregto.binarytrainTestPartitionvifx

Dependencies:codetoolsforeachglmnetgrpregiteratorslatticeleapsMatrixplsRcppRcppEigenshapesurvival

Readme and manuals

Help Manual

Help pageTopics
bestglm: Best Subset GLMbestglm-package
Daily ozone pollution with meteorlogical and date inputsAirQuality
Binary representation of non-negative integerto.binary
Best Subset GLM using Information Criterion or Cross-Validationbestglm
Cross-validation using delete-d method.CVd
Adjusted K-fold Cross-ValidationCVDH
K-fold Cross-ValidationCVHTF
Detroit homicide data for 1961-73 used in the book Subset Regression by A.J. MillerDetroit
Scaled Variables Dependency Plots: Output vs Inputsdgrid
Forest fires in Montesinho natural park. Standardized inputs.Fires
Fitted values in PCR and PLS.fitted.pcreg
Multipanel Display and Table Glmnet CV Output.glmnetGridTable
Glmnet Prediction Using CVAV.glmnetPredict
Predictions on Test Data with GrpreggrpregPredict
Simulated Linear Regression (Train) with Nine Highly Correlated Inputshivif
Iowa School TestIowa
Leave-one-out cross-validationLOOCV
Hospital manpower datamanpower
Pollution dataset from McDonald and Schwing (1973)mcdonald
Forest fires in Montesinho natural parkMontesinhoFires
Nearest Neighbour Regression PredictionNNPredict
Utility function. Implements the 1-sd rule.oneSDRule
Principal Component and Partial Least Squares Regressionpcreg
Diagnostic plots for PCR and PLSplot.pcreg
Plot Regularization Path and One Standard Deviation Ruleplot1SDRule
Predict Method for Pcreg.predict.pcreg
Print method for `bestglm` objectprint.bestglm
Print method for `pcreg` objectprint.pcreg
Residuals Fitted PCR or PLSresid.pcreg residuals.pcreg
Abrasion loss for various hardness and tensile strengthrubber
South African Hearth Disease DataSAheart
Simulated Regression DataShao
Sphere Data MatrixsphereX
summary of `bestglm` objectsummary.bestglm
Summary Method for Pcreg.summary.pcreg
Partition Dataframe into Train/Test SamplestrainTestPartition
Variance Inflation Factor for a Design Matrixvifx
Nuclear plant data. Quantitative inputs logged and standardized.znuclear
Prostate cancer data. Standardized.zprostate