glmMisrep
Generalized Linear Models Adjusting for Misrepresentation
Description
Fit Generalized Linear Models to continuous and count outcomes, as well as estimate the prevalence of misrepresentation of an important binary predictor. Misrepresentation typically arises when there is an incentive for the binary factor to be misclassified in one direction (e.g., in insurance settings where policy holders may purposely deny a risk status in order to lower the insurance premium). This is accomplished by treating a subset of the response variable as resulting from a mixture distribution. Model parameters are estimated via the Expectation Maximization algorithm and standard errors of the estimates are obtained from closed forms of the Observed Fisher Information. For an introduction to the models and the misrepresentation framework, see Xia et. al., (2023) <https://variancejournal.org/article/73151-maximum-likelihood-approaches-to-misrepresentation-models-in-glm-ratemaking-model-comparisons>.
Downloads
202
Last 30 days
22310th
460
Last 90 days
1.9K
Last year
Trend: +40.3% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 6, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 4, 2026
tests
Running ‘LN-testing.R’ [1s/2s] Running ‘NB-testing.R’ [1s/2s] Running ‘Norm-testing.R’ [1s/1s] Running ‘Pois-testing.R’ [1s/2s] Running ‘gamma-testing.R’ [2s/3s] Running the tests in ‘tests/NB-testing.R’ failed. Complete output: > require(g ...[truncated]... + lambda = c(0.6, 0.4), + epsilon = 1e-08, + maxit = 9, + maxrestarts = 4, verb = TRUE), + type = "message" + ) Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 24, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 20, 2026
tests
Running 'LN-testing.R' [2s] Running 'NB-testing.R' [3s] Running 'Norm-testing.R' [1s] Running 'Pois-testing.R' [2s] Running 'gamma-testing.R' [4s] Running the tests in 'tests/NB-testing.R' failed. Complete output: > require(glmMisrep) Loa ...[truncated]... + lambda = c(0.6, 0.4), + epsilon = 1e-08, + maxit = 9, + maxrestarts = 4, verb = TRUE), + type = "message" + ) Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 18, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 11, 2026
tests
Running 'LN-testing.R' [2s]
Running 'NB-testing.R' [2s]
Running 'Norm-testing.R' [1s]
Running 'Pois-testing.R' [3s]
Running 'gamma-testing.R' [4s]
Running the tests in 'tests/Pois-testing.R' failed.
Complete output:
> require(glmMisrep)
L
...[truncated]...
lambda = c(0.6, 0.4),
+ epsilon = 1e-08,
+ maxit = 16,
+ maxrestarts = 4, verb = TRUE),
+ type = "message"
+ )
Execution halted