diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-10-31 01:55:01 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-10-31 01:59:05 +0100 |
commit | 7091d3738e7e55acb20edb88772b228f6f5b6c98 (patch) | |
tree | b6e31700074605c702662e5238162c57de330453 /NAMESPACE | |
parent | 5e4ea59a41e00b05ea6664c08c7922e892e8ab77 (diff) |
Add likelihood ratio test and other methods, fixes
The likelihood ratio test method is lrtest, in addition,
methods for update and residuals were added.
Diffstat (limited to 'NAMESPACE')
-rw-r--r-- | NAMESPACE | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -4,6 +4,7 @@ S3method("[",mmkin) S3method(AIC,mmkin) S3method(confint,mkinfit) S3method(logLik,mkinfit) +S3method(lrtest,mkinfit) S3method(mkinpredict,mkinfit) S3method(mkinpredict,mkinmod) S3method(parms,mkinfit) @@ -14,7 +15,9 @@ S3method(print,mkinds) S3method(print,mkinmod) S3method(print,nafta) S3method(print,summary.mkinfit) +S3method(residuals,mkinfit) S3method(summary,mkinfit) +S3method(update,mkinfit) export(CAKE_export) export(DFOP.solution) export(FOMC.solution) @@ -28,6 +31,7 @@ export(endpoints) export(ilr) export(invilr) export(logistic.solution) +export(lrtest) export(max_twa_dfop) export(max_twa_fomc) export(max_twa_hs) @@ -59,6 +63,7 @@ importFrom(R6,R6Class) importFrom(grDevices,dev.cur) importFrom(inline,cfunction) importFrom(inline,getDynLib) +importFrom(lmtest,lrtest) importFrom(methods,signature) importFrom(parallel,detectCores) importFrom(parallel,mclapply) @@ -66,6 +71,7 @@ importFrom(parallel,parLapply) importFrom(stats,aggregate) importFrom(stats,cov2cor) importFrom(stats,dist) +importFrom(stats,logLik) importFrom(stats,nlminb) importFrom(stats,optimize) importFrom(stats,pt) @@ -74,4 +80,5 @@ importFrom(stats,qf) importFrom(stats,qnorm) importFrom(stats,qt) importFrom(stats,rnorm) +importFrom(stats,update) importFrom(utils,write.table) |