Chisq {estimators}R Documentation

Chi-Square Distribution

Description

Chi-Square Distribution

Usage

Chisq(df = 1, ncp = 0)

## S4 method for signature 'Chisq'
d(x)

## S4 method for signature 'Chisq'
p(x)

## S4 method for signature 'Chisq'
qn(x)

## S4 method for signature 'Chisq'
r(x)

## S4 method for signature 'Chisq'
mean(x)

## S4 method for signature 'Chisq'
var(x)

## S4 method for signature 'Chisq'
sd(x)

## S4 method for signature 'Chisq'
skew(x)

## S4 method for signature 'Chisq'
kurt(x)

Arguments

df, ncp

numeric. The distribution parameters.

x

an object of class Chisq. If the function also has a distr argument, x is a numeric vector, a sample of observations.

Value

The dpqr family of functions return the evaluated density, cumulative probability, quantile, and random sample, respectively. The moments family of functions return the appropriate theoretical moment, as calculated by the distribution true parameters. The ll function returns the evaluated log-likelihood, given a sample and the theoretical parameters. The estim family of functions return the estimated parameters of the distribution, given a sample. The avar family of functions return the asymptotic variance or variance - covariance matrix (if there are two or more parameters) of the corresponding estimation method. Calculus performed on Distribution objects returns a Distribution object of the appropriate class and with the appropriate parameters.


[Package estimators version 0.8.5 Index]