diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-11-04 17:21:04 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-11-04 17:29:48 +0100 |
commit | 31fd7412f46c9715962763d435cb0060ea420752 (patch) | |
tree | 771183a2c729131e7364f0a41dae967f73dc150e /man | |
parent | 0220b25f01a4451fa44a7b2f30f5849c4d822a9c (diff) |
Include fixed parameters in model names in lrtest
Diffstat (limited to 'man')
-rw-r--r-- | man/confint.mkinfit.Rd | 8 | ||||
-rw-r--r-- | man/lrtest.mkinfit.Rd | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/man/confint.mkinfit.Rd b/man/confint.mkinfit.Rd index 60e82517..f2521ccd 100644 --- a/man/confint.mkinfit.Rd +++ b/man/confint.mkinfit.Rd @@ -52,10 +52,10 @@ The default method 'quadratic' is based on the quadratic approximation of the curvature of the likelihood function at the maximum likelihood parameter estimates. The alternative method 'profile' is based on the profile likelihood for each -parameter. The method uses two nested optimisations and can take a very long -time, even if parallelized by specifying 'cores' on unixoid platforms. The -speed of the method could likely be improved by using the method of Venzon -and Moolgavkar (1988). +parameter. The 'profile' method uses two nested optimisations and can take a +very long time, even if parallelized by specifying 'cores' on unixoid +platforms. The speed of the method could likely be improved by using the +method of Venzon and Moolgavkar (1988). } \examples{ f <- mkinfit("SFO", FOCUS_2006_C, quiet = TRUE) diff --git a/man/lrtest.mkinfit.Rd b/man/lrtest.mkinfit.Rd index c07d9868..bc8ab4dc 100644 --- a/man/lrtest.mkinfit.Rd +++ b/man/lrtest.mkinfit.Rd @@ -40,7 +40,11 @@ lrtest(sfo_fit, dfop_fit) # The following two examples are commented out as they fail during # generation of the static help pages by pkgdown -# lrtest(dfop_fit, error_model = "tc") -# lrtest(dfop_fit, fixed_parms = c(k2 = 0)) +#lrtest(dfop_fit, error_model = "tc") +#lrtest(dfop_fit, fixed_parms = c(k2 = 0)) + +# However, this equivalent syntax works for static help pages +lrtest(dfop_fit, update(dfop_fit, error_model = "tc")) +lrtest(dfop_fit, update(dfop_fit, fixed_parms = c(k2 = 0))) } } |