Learn R Programming

parameters (version 0.10.1)

p_value.DirichletRegModel: p-values for Models with Special Components

Description

This function attempts to return, or compute, p-values of models with special model components.

Usage

# 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"), ...)

Arguments

model

A statistical model.

component

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.

Value

The p-values.