aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_confidence.R
AgeCommit message (Collapse)AuthorFilesLines
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