Package: blm 2022.0.0.1

blm: Binomial Linear Regression

Implements regression models for binary data on the absolute risk scale. These models are applicable to cohort and population-based case-control data.

Authors:S. Kovalchik

blm_2022.0.0.1.tar.gz
blm_2022.0.0.1.zip(r-4.5)blm_2022.0.0.1.zip(r-4.4)blm_2022.0.0.1.zip(r-4.3)
blm_2022.0.0.1.tgz(r-4.4-any)blm_2022.0.0.1.tgz(r-4.3-any)
blm_2022.0.0.1.tar.gz(r-4.5-noble)blm_2022.0.0.1.tar.gz(r-4.4-noble)
blm_2022.0.0.1.tgz(r-4.4-emscripten)blm_2022.0.0.1.tgz(r-4.3-emscripten)
blm.pdf |blm.html
blm/json (API)
NEWS

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

Peer review:

Datasets:
  • aarp - Nested case-control data set of bladder cancer in the NIH-AARP Diet and Health Study
  • ccdata - Simulated case-control dataset

On CRAN:

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

1.41 score 26 scripts 431 downloads 1 mentions 21 exports 0 dependencies

Last updated 2 years agofrom:84ebcf2694. Checks:OK: 7. Indexed: yes.

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

Exports:blmcoefconfintcrude.riskEOexpitgofgof.pearsonlexpitlogitlogLikLRTmodel.formulapredictresidrisk.exposure.plotRsquaredshowsummaryvcovwhich.at.boundary

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Binomial linear and linear-expit regression modelblm-package
Nested case-control data set of bladder cancer in the NIH-AARP Diet and Health Studyaarp
Fit a binomial linear regression modelblm
Class "blm"blm-class
Simulated case-control datasetccdata
Get coefs from 'blm' and 'lexpit' objects.coef,blm-method coef,lexpit-method coef.blm
Confidence intervals for parameters of 'blm' and 'lexpit' objects.confint,blm-method confint,lexpit-method confint.blm
Risk-exposure scatter plotcrude.risk
Compute the ratio of expected event to observed events for 'blm' and 'lexpit' objects.EO
Inverse-logit functionexpit
Hosmer-lemeshow goodness-of-fit statistics for 'blm' and 'lexpit' objects.gof
Pearson's goodness-of-fit statistics for 'blm' and 'lexpit' objects.gof.pearson
Fit a linear-expit regression modellexpit
Class "lexpit"lexpit-class
Logit functionlogit
Log-likelihood of 'blm' and 'lexpit' objects.logLik,blm-method logLik,lexpit-method logLik.blm
Performs likelihood-ratio test for lexpit and BLM models of cohort dataLRT
Get formula call for 'blm' and 'lexpit' objects.model.formula model.formula,blm-method model.formula,lexpit-method
Get risk predictions for 'blm' and 'lexpit' objects.predict,blm-method predict,lexpit-method predict.blm
Print coefficients of 'blm' and 'lexpit' model fit.print,blm-method print,lexpit-method print.blm
Get residuals from 'blm' and 'lexpit' objects.resid,blm-method resid,lexpit-method resid.blm
Risk-exposure scatter plotrisk.exposure.plot
Compute R-squared measures of model fit for 'blm' and 'lexpit' objects.Rsquared
Show 'blm' and 'lexpit' model fit.show,blm-method show,lexpit-method show.blm
Summary of 'blm' and 'lexpit' model fit.summary,blm-method summary,lexpit-method summary.blm
Get variance-covariance from 'blm' and 'lexpit' objects.vcov,blm-method vcov,lexpit-method vcov.blm
Covariate patterns at the boundary for 'blm' and 'lexpit' objects.which.at.boundary