Saturday, 19 October 2013

Chi-Squared Distribution CDF and Quantile Calculator

An implementation of the Chi-squared Distribution CDF and Quantile function Calculator occurs below. For degree of freedom parameter $k$ the Chi-sqaured density function is:-


$\Large\frac{1}{2^{\frac{k}{2}}\Gamma(\frac{k}{2})}x^{\frac{k}{2}-1}e^{-\frac{x}{2}}$  


Note that the domain of the Chi-squared distribution function is restricted to be greater than zero. The $k$ field has to be filled in, as well as two out of the three fields which are labelled Lower Limit, Upper Limit and Probability. The lower limit and upper limit fields each need to contain a number greater than 0. The probability field must contain a number between 0 and 1 only.



$k$:


Lower limit:
Upper limit:
Probablility:


Extra probability results pending...



Plot of distribution ($f(x)$) values against $x$ values
$f(x)$
$x$


1 comment:

Logistic Regression Calculator and ROC Curve Plotter

This blog post implements a Logistic Regression calculator for a binary output. Consider a binary outcome response variable \(Y\...