betaregscale
2.6.9Beta Regression for Interval-Censored Scale-Derived Outcomes
Overview
Maximum-likelihood estimation of beta regression models for responses derived from bounded rating scales. Observations are treated as interval-censored on (0, 1) after a scale-to-unit transformation, and the likelihood is built from the difference of the beta CDF at the interval endpoints. The complete likelihood supports mixed censoring types: uncensored, left-censored, right-censored, and interval-censored observations. Both fixed- and variable-dispersion submodels are supported, with flexible link functions for the mean and precision components. A compiled C++ backend (via 'Rcpp' and 'RcppArmadillo') provides numerically stable, high-performance log-likelihood evaluation. Standard S3 methods (print(), summary(), coef(), fitted(), residuals(), predict(), plot(), confint(), vcov(), logLik(), AIC(), BIC()) are available for fitted objects.
Install
Health
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-2212 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1811 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 7%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 29%
Downloads
Repository
Stars over time
Releases over time
PRs over time
Repository practices
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/evandeilton/betaregscale on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 3.0 median / 33 max
- Test cases
- 142 / 0.23 per code line
Test coverage
Line coverage
79%
Expression
76.6%
Tests / Examples
79.0% / 8% ex
Functions
173 24 exported
Complexity
5.1 avg / 33 max
Call network
173 nodes / 214 edges
Call graph
Open call graph →Lowest coverage
173 functions| Function | Cyclo | Coverage |
|---|---|---|
| brs_hessian exp | 1 | 0% |
| ranef exp | 1 | 0% |
| .brs_cv_metrics | 5 | 0% |
| .plot_gg | 18 | 0% |
| .plot_halfnormal_base | 2 | 0% |
| .plot_halfnormal_gg | 2 | 0% |
People & History
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 2.6.9Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-02-25
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 1.3 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet