chisq function

Density and distribution of a chi squared

Density and distribution of a chi squared

Computation of the density and distribution functions of a chi squared.

d_chisq(x, df, ncp = 0L) p_chisq(x, df, ncp = 0L)

Arguments

  • x: a vector of size nx or a matrix of size c(nx, 1).
  • df: degrees of freedom.
  • ncp: non-centrality parameter.

Returns

A matrix of size c(nx, 1) with the evaluation of the density or distribution function at x.

  • Maintainer: Eduardo García-Portugués
  • License: GPL-3
  • Last published: 2024-05-24