From e05656d57668688b971c28e32b4cfd4d3eac4662 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 18 Sep 2019 13:03:50 +0200 Subject: Correct and rebuild docs - Reconcile docs and code for max_twa_parent - Correct links to docs in twa vignette - Static documentation rebuilt by pkgdown --- docs/reference/logLik.mkinfit.html | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'docs/reference/logLik.mkinfit.html') diff --git a/docs/reference/logLik.mkinfit.html b/docs/reference/logLik.mkinfit.html index 6c914dd4..dbe0c116 100644 --- a/docs/reference/logLik.mkinfit.html +++ b/docs/reference/logLik.mkinfit.html @@ -16,13 +16,15 @@ - + + - - + + + @@ -53,6 +55,7 @@ The total number of estimated parameters returned with the value + @@ -122,6 +125,7 @@ The total number of estimated parameters returned with the value +
@@ -135,7 +139,7 @@ The total number of estimated parameters returned with the value

This function simply calculates the product of the likelihood densities - calculated using dnorm, i.e. assuming normal distribution, + calculated using dnorm, i.e. assuming normal distribution, with of the mean predicted by the degradation model, and the standard deviation predicted by the error model.

The total number of estimated parameters returned with the value @@ -145,7 +149,7 @@ The total number of estimated parameters returned with the value

# S3 method for mkinfit
-logLik(object, ...)
+logLik(object, ...)

Arguments

@@ -155,14 +159,14 @@ The total number of estimated parameters returned with the value - +

An object of class mkinfit.

...

For compatibility with the generic method

Value

-

An object of class logLik with the number of +

An object of class logLik with the number of estimated parameters (degradation model parameters plus variance model parameters) as attribute.

@@ -173,14 +177,16 @@ The total number of estimated parameters returned with the value

Examples

-
sfo_sfo <- mkinmod( +
# \dontrun{ + sfo_sfo <- mkinmod( parent = mkinsub("SFO", to = "m1"), m1 = mkinsub("SFO") )
#> Successfully compiled differential equation model from auto-generated C code.
d_t <- FOCUS_2006_D - f_nw <- mkinfit(sfo_sfo, d_t, quiet = TRUE) # no weighting (weights are unity)
#> Warning: Observations with value of zero were removed from the data
f_obs <- mkinfit(sfo_sfo, d_t, error_model = "obs", quiet = TRUE)
#> Warning: Observations with value of zero were removed from the data
f_tc <- mkinfit(sfo_sfo, d_t, error_model = "tc", quiet = TRUE)
#> Warning: Observations with value of zero were removed from the data
AIC(f_nw, f_obs, f_tc)
#> df AIC + f_nw <- mkinfit(sfo_sfo, d_t, quiet = TRUE) # no weighting (weights are unity)
#> Warning: Observations with value of zero were removed from the data
f_obs <- mkinfit(sfo_sfo, d_t, error_model = "obs", quiet = TRUE)
#> Warning: Observations with value of zero were removed from the data
f_tc <- mkinfit(sfo_sfo, d_t, error_model = "tc", quiet = TRUE)
#> Warning: Observations with value of zero were removed from the data
AIC(f_nw, f_obs, f_tc)
#> df AIC #> f_nw 5 204.4486 #> f_obs 6 205.8727 -#> f_tc 6 141.9656
+#> f_tc 6 141.9656
# } +
+ + + -- cgit v1.2.1