Critical Tables - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[Statistics]

  

CriticalTable

  

return the critical table of values for a given distribution

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

CriticalTable( distribution )

CriticalTable( distribution, options )

Parameters

distribution

-

name; name of the distribution chosen from ChiSquare, FRatio, Gamma, or StudentT

options

-

one or more keyword options as described below

Options

• 

alpha : float or list; the level of significance

• 

parameter1 : list; list of parameter values

• 

parameter2 : list; list of parameter values

• 

noheaders : truefalse; specifies if column and row header information is included. By default this is set to false.

• 

output : identical( matrix, embed ); controls the output of the resulting matrix. If output = embed, then a datatable component containing the matrix of values is returned. By default, output is set to matrix, and a matrix is returned.

Description

Critical values are used in hypothesis testing to specify a cut-off value for computed test statistics, which defines the statistical significance of the test. The α level is the maximum probability that would result in the null hypothesis being rejected if the null hypothesis is true. Critical values can be found by solving the equation α = CDF of a given distribution in terms of x for x, or directly from the Quantile command.

For example, the critical t-distribution table gives x for given values of the distribution function Fx for a t-distribution with ν degrees of freedom.

• 

For x<0 values of Fx can be obtained from Fx=1Fx. The values in the critical t-distribution table can be found by solving the equation α = CDF for the t-distribution for x:

α=12+xΓν2+12hypergeom12&comma;ν2+12&comma;32&comma;x2νπνΓν2

• 

The CriticalTable command returns the critical table of values as a matrix. If embed = true, then a datatable component containing the matrix of values is returned.

Examples

withStudent:-Statistics&colon;

The values of the critical t-distribution table can be found directly from the CDF of the t-distribution:

CDFStudentTRandomVariableν&comma;x

12+xΓν2+12hypergeom12&comma;ν2+12&comma;32&comma;x2νπνΓν2

(1)

For a significance level of 5% we have α=0.95, and with 2 degrees of freedom, ν=2, then:

fsolve0.95=12+xΓ122+12hypergeom12&comma;122+12&comma;32&comma;x22sqrtπ2Γ122&comma;x

2.919985580

(2)

The CriticalTable command computes the values in the critical t-distribution table numerically solving the above CDF. In contrast to traditional printed tables of values in text books, this can return the results with any level of precision, and also makes it possible to return more accurate results in cases where one would otherwise need to interpolate values for entries that are not in the table.

CriticalTableStudentT&comma;α=0.95&comma;parameter1=2&comma;noheaders

(3)

CriticalTableStudentT&comma;α=0.80&comma;parameter1=100

(4)

To return a section from the critical t-distribution table as a matrix:

CriticalTableStudentT&comma;α=0.95&comma;0.99&comma;parameter1=seq1..10

To return the typical critical t-distribution table as a matrix:

CriticalTableStudentT

To return a single column from the critical chi-square distribution table for the alpha level of 0.95:

CriticalTableChiSquare&comma;α=0.95

To return a section from the FRatio distribution table with no headers:

CriticalTableFRatio&comma;α=0.975&comma;parameter1=seq1..5&comma;parameter2=seq1..2&comma;noheaders

(5)

The Gamma distribution depends on two parameters, b, the scale parameter, and c, the shape parameter. To return a sub-matrix of values from the Gamma distribution:

CriticalTableGamma&comma;α=0.95&comma;parameter1=seq1..5&comma;parameter2=1&comma;2

(6)

The output option can be used to create a datatable for any of the critical value tables:

CriticalTableGamma&comma;α=0.975&comma;output=embed

DT

(7)

Compatibility

• 

The Student[Statistics][CriticalTable] command was introduced in Maple 2015.

• 

For more information on Maple 2015 changes, see Updates in Maple 2015.

See Also

Student[Statistics][ProbabilityTable]