extra.parameter | R Documentation |
The extra.parameter
function is used to select the extra parameter
of some power logit models. It provides plots of -2logLik
and the
Upsilon measure (see Queiroz and Ferrari (2022)) versus ΞΆ,
the extra parameter.
extra.parameter(object, lower, upper, grid = 10, graph = TRUE)
object |
fitted model object of class " |
lower |
a numeric value representing the lower limit of the interval for the extra parameter. |
upper |
a numeric value representing the upper limit of the interval for the extra parameter. |
grid |
a positive integer representing the number of points in the plots.
Default is |
graph |
logical. If |
extra.parameter
returns a list with five objects:
zeta.Ups |
The selected zeta based on the Upsilon measure. |
zeta.loglik |
The selected zeta based on -2 |
zeta.values |
The values of zeta used in the graphs. |
Upsilon.values |
-2 |
loglik.values |
Upsilon measure evaluated at each value of zeta. |
Queiroz, F. F. and Ferrari, S. L. P. (2022). Power logit regression for modeling bounded data. arXiv:2202.01697.
PLreg
data("bodyfat_Aeolus") #Initial model with zeta = 2 fit1 <- PLreg(percentfat ~ days + sex + year, data = bodyfat_Aeolus, family = "PE", zeta = 2) summary(fit1) # Choosing the best value for zeta extra.parameter(fit1, lower = 1, upper = 4, grid = 15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.