7-9-15

Tests

Χ2 GOF TestMenu: [Test]-[Χ2GOF Test]

Description: This command tests whether the frequency of sample data fits a certain distribution. For example, it can be used to determine conformance with normal distribution or binomial distribution.

k(Oi Ei )2

2 =

i

Ei

 

 

 

 

Contrib =

 

(O1 E1 )2

 

(O2 E2 )2

...

(Ok Ek )2

 

E1

 

E2

Ek

 

 

 

 

Oi : The i-th element of the observed listEi : The i-th element of the expected list

Definition of Terms

Observed list : name of list containing observed counts (all cells positive integers)

Expected list : name of list that is for saving expected frequencydf :degrees of freedom

Calculation Result Output

Χ2 :

Χ2 value
p :

p-value

df :

degrees of freedom

Contrib :name of list specifying the contribution of each observed count

Example

list1 = {1,2,3}, list2 = {4,5,6}, df = 1

Statistics Wizard Operation

(1)

(2)Input the list1 and list2.

(3)/

(4)On the menu bar, tap [Calc] and then [Test].

(5)Select [Χ2 GOF Test] and then tap [Next >>].(6)Select List(1) [list1], List(2) [list2] and input df 1.

(7)Tap [Next >>].

(8)To display the graph, tap .

SProgram, eActivity or Main Application

Command: ChiGOFTest:

Command Syntax

Observed list, Expected list, df

Input Example:

ChiGOFTest list1, list2, 1

Tip

The calculation results Χ2, p, df, and Contrib are stored in the system variables named “Χ2value”, “prob”, “df”, and “Contrib” respectively.

20090601