chisq: Chi-square statistic

chisqR Documentation

Chi-square statistic

Description

Extracts the chi-square statistic from a model.

Usage

## S4 method for signature 'EL'
chisq(object, ...)

## S4 method for signature 'ELMT'
chisq(object, ...)

## S4 method for signature 'ELT'
chisq(object, ...)

## S4 method for signature 'SummaryEL'
chisq(object, ...)

## S4 method for signature 'SummaryELMT'
chisq(object, ...)

## S4 method for signature 'SummaryELT'
chisq(object, ...)

## S4 method for signature 'SummaryLM'
chisq(object, ...)

Arguments

object

An object that contains the chi-square statistic.

...

Further arguments passed to methods.

Value

The form of the value returned by chisq() depends on the class of its argument.

Methods (by class)

  • chisq(EL): Extracts the chi-square statistic.

  • chisq(ELMT): Extracts the vector of chi-square statistics.

  • chisq(ELT): Extracts the chi-square statistic.

  • chisq(SummaryEL): Extracts the chi-square statistic.

  • chisq(SummaryELMT): Extracts the vector of chi-square statistics.

  • chisq(SummaryELT): Extracts the chi-square statistic.

  • chisq(SummaryLM): Extracts the chi-square statistic for the overall test of the model.

See Also

EL, ELMT, ELT, pVal()

Examples

data("precip")
fit <- el_mean(precip, par = 40)
chisq(fit)

melt documentation built on May 31, 2023, 7:12 p.m.