Home > brede > brede_cdf_chi2.m

brede_cdf_chi2

PURPOSE ^

brede_cdf_chi2 - CDF for chi2-distriibution

SYNOPSIS ^

function P = brede_cdf_chi2(chi2, dof);

DESCRIPTION ^

 brede_cdf_chi2       - CDF for chi2-distriibution

       function P = brede_cdf_chi2(chi2, dof); 

       Input:  chi2   chi2 values
               dof    Degrees of freedom

       Output: P      Lower tail cumulated probability 

       This function computes the lower tail cumulated probability
       for the chi´┐Ż-distribution. Evaluated via the incomplete gamma
       function.
                                                        
       P = P(x<chi2,dof) =  1/(2^(dof/2) * gamma(dof/2)) * 
           integral from 0 to chi2 of x^(dof/2-1) * exp(-x/2) dx
  
       See also BREDE, BREDE_CDF_BIN, BREDE_CDF_F, BREDE_CDF_GAUSS.

 $Id: brede_cdf_chi2.m,v 1.2 2004/11/17 16:43:08 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005