This function attempts to return, or compute, p-values of models with special model components.
# S3 method for DirichletRegModel
p_value(model, component = c("all", "conditional", "precision"), ...)# S3 method for clm2
p_value(model, component = c("all", "conditional", "scale"), ...)
# S3 method for cgam
p_value(model, component = c("all", "conditional", "smooth_terms"), ...)
# S3 method for averaging
p_value(model, component = c("conditional", "full"), ...)
A statistical model.
Should all parameters, parameters for the conditional model, precision- or scale-component or smooth_terms be returned? component
may be one of "conditional"
, "precision"
, "scale"
, "smooth_terms"
, "full"
or "all"
(default).
Arguments passed down to standard_error_robust()
when confidence intervals or p-values based on robust standard errors should be computed. Only available for models where method = "robust"
is supported.
The p-values.