aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_confidence.R
AgeCommit message (Collapse)AuthorFilesLines
2022-10-25Change DFOP mixed model data in tests, updatesJohannes Ranke1-0/+14
2021-02-06Address issue revealed by additional tests on CRANJohannes Ranke1-9/+0
Remove tests relying on non-convergence of the FOMC fit to the FOCUS A dataset, as this is platform dependent. After the upgrade, the fit converges on this system as well, although neither ATLAS is used, nor R was configured disabling long doubles (these were the conditions under which the tests failed on CRAN).
2020-12-08mixed.mmkin and test coverageJohannes Ranke1-2/+15
2020-05-28use_of_ff = "max" for shorthand models like "SFO"Johannes Ranke1-2/+2
2019-11-09Add a lack-of-fit testJohannes Ranke1-3/+4
- Switch an example dataset in the test setup to a dataset with replicates, adapt tests - Skip the test for lrtest with an update specification as it does not only fail when pkgdown generates static help pages, but also in testthat
2019-10-31Reorganize tests to reduce time on winbuilderJohannes Ranke1-1/+2
2019-10-31Add likelihood ratio test and other methods, fixesJohannes Ranke1-35/+12
The likelihood ratio test method is lrtest, in addition, methods for update and residuals were added.
2019-10-28Fix the cutoff for likelihood based intervalsJohannes Ranke1-59/+44
The cutoff now matches what is given by Venzon and Moolgavkar (1988). Also, confidence intervals closely match intervals obtained with stats4::confint in the test case where an stats4::mle object is created from the likelihood function in one test case. Static documentation rebuilt by pkgdown
2019-10-26Address some check and test failuresJohannes Ranke1-3/+3
2019-10-26parms and confint methodsJohannes Ranke1-33/+116
The confint method can do profile likelihood based confidence intervals!
2019-10-21Improve tests, remove geometric_meanJohannes Ranke1-13/+2
2019-10-21Refactor mkinfit, infrastructure workJohannes Ranke1-0/+51
mkinfit objects now include an ll() function to calculate the log-likelihood. Part of the code was refactored, hopefully making it easier to read and maintain. IRLS is currently the default algorithm for the error model "obs", for no particular reason. This may be subject to change when I get around to investigate. Slow tests are now in a separate subdirectory and will probably only be run by my own Makefile target. Formatting of test logs is improved. Roundtripping error model parameters works with a precision of 10% when we use lots of replicates in the synthetic data (see slow tests). This is not new in this commit, but as I think it is reasonable this closes #7.

Contact - Imprint