Summarizes parameter estimates and goodness-of-fit statistics for a fitted Log-logistic model.
Usage
# S3 method for class 'loglogistic_fit'
summary(object, ...)Details
The summary typically includes:
Asymptotic gas production (
VF)Rate parameter (
r)Shape parameter (
a)Residual Sum of Squares (RSS)
Root Mean Squared Error (RMSE)
R-squared (R²)
Akaike Information Criterion (AIC)
Bayesian Information Criterion (BIC)
The Log-logistic model is a flexible sigmoidal model capable of describing a broad range of gas production profiles.
The parameter r controls the speed of
gas production, while a controls curve
shape, steepness, and inflection behavior.
Notes
The Log-logistic model is mathematically
equivalent to both the Groot model
implemented in fit_groot() and the
generalized Michaelis-Menten model
implemented in fit_mm().
Parameter correspondence:
VF = Aa = c = k1/r = K = b
All three formulations produce identical fitted values, residuals, diagnostics, AIC, BIC, RMSE, and R-squared when corresponding parameter values are used.
Examples
files <- example_data()
raw_data <- read_ankom(
files$ankom
)
metadata <- read_metadata(
files$metadata
)
gp <- process_ankom(
raw_data,
metadata,
headspace_ml = 210,
temperature_c = 39
)
fit <- fit_loglogistic(
gp
)
#> Minor negative pressure values detected. Minimum PSI = -0.255 . These may reflect normal sensor variation.
#> rumenGP data validation passed.
#> Observations: 3618
#> Heads: 25
#> Treatments: 5
summary(
fit
)
#>
#> Log-logistic model summary
#> --------------------------
#> Total bottles: 25
#> Successful fits: 25
#> Failed fits: 0
#> Low R-squared (< 0.90): 4
#>