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.7)blm_2022.0.0.1.zip(r-4.6)blm_2022.0.0.1.zip(r-4.5)
blm_2022.0.0.1.tgz(r-4.6-any)blm_2022.0.0.1.tgz(r-4.5-any)
blm_2022.0.0.1.tar.gz(r-4.6-any)blm_2022.0.0.1.tar.gz(r-4.5-any)
blm_2022.0.0.1.tgz(r-4.5-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'))
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:

Conda:

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

1.58 score 38 scripts 358 downloads 1 mentions 21 exports 0 dependencies

Last updated from:84ebcf2694. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK103
source / vignettesOK140
linux-release-x86_64OK95
macos-release-arm64OK135
macos-oldrel-arm64OK133
windows-develOK76
windows-releaseOK68
windows-oldrelOK75
wasm-releaseOK78

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