cupynumeric.random.chisquare#
- cupynumeric.random.chisquare(df, size=None)#
Draw samples from a chi-square distribution.
When df independent random variables, each with standard normal distributions (mean 0, variance 1), are squared and summed, the resulting distribution is chi-square. This distribution is often used in hypothesis testing.
- Parameters:
- Returns:
out – Drawn samples from the parameterized chi-square distribution.
- Return type:
ndarray or scalar
- Raises:
ValueError – When df <= 0 or when an inappropriate size (e.g.
size=-1
) is given.
See also
- Availability:
Multiple GPUs, Multiple CPUs