• Nie Znaleziono Wyników

χ test 2

N/A
N/A
Protected

Academic year: 2021

Share "χ test 2"

Copied!
29
0
0

Pełen tekst

(1)

χ

2

test

(2)

Intro

In this presentation we will learn how to calculate the χ2calc and the p-value on the GDC.

(3)

Calculations

We start with the observed data. Suppose the table below shows our observed data:

A B C

X 10 20 5

Y 20 15 20 We need to input this data into GDC.

(4)

Casio - very old ones

Go to the main menu and choose the third app - MATRIX. When Mat A is highlighted press right arrow to change the dimensions. We want 2 × 3 as we have 2 rows and 3 columns. Press EXE and enter the data.

Now go back to the main menu and choose the second app - STATS.

Press TEST → CHI and make sure the Observed matrix is set to matrix A.

Press execute. You should get:

χ2calc = 9.05 p = 0.010834

(5)

Casio - very old ones

Go to the main menu and choose the third app - MATRIX. When Mat A is highlighted press right arrow to change the dimensions. We want 2 × 3 as we have 2 rows and 3 columns. Press EXE and enter the data.

Now go back to the main menu and choose the second app - STATS.

Press TEST → CHI and make sure the Observed matrix is set to matrix A.

Press execute. You should get:

χ2calc = 9.05 p = 0.010834

(6)

Casio - very old ones

Go to the main menu and choose the third app - MATRIX. When Mat A is highlighted press right arrow to change the dimensions. We want 2 × 3 as we have 2 rows and 3 columns. Press EXE and enter the data.

Now go back to the main menu and choose the second app - STATS.

Press TEST → CHI and make sure the Observed matrix is set to matrix A.

Press execute. You should get:

χ2calc = 9.05 p = 0.010834

(7)

Casio - very old ones

Go to the main menu and choose the third app - MATRIX. When Mat A is highlighted press right arrow to change the dimensions. We want 2 × 3 as we have 2 rows and 3 columns. Press EXE and enter the data.

Now go back to the main menu and choose the second app - STATS.

Press TEST → CHI and make sure the Observed matrix is set to matrix A.

Press execute. You should get:

χ2calc = 9.05 p = 0.010834

(8)

Casio - very old ones

Go to the main menu and choose the third app - MATRIX. When Mat A is highlighted press right arrow to change the dimensions. We want 2 × 3 as we have 2 rows and 3 columns. Press EXE and enter the data.

Now go back to the main menu and choose the second app - STATS.

Press TEST → CHI and make sure the Observed matrix is set to matrix A.

Press execute. You should get:

χ2calc = 9.05 p = 0.010834

(9)

Casio - not so old ones

Go to the main menu and choose the second app - STAT.

Press TEST → CHI → 2WAY

Now we need to enter the data into a matrix. Press .MAT (the second option, not just MAT). Now press right arrow to change the dimensions of a given matrix into 2 × 3 as we have 2 rows and 3 columns. Press EXE and enter the data. Now press EXE and you will be back at the previous screen. Now make sure that your matrix is set as the observed data and press execute.

You should get:

χ2calc = 9.05 p = 0.010834

(10)

Casio - not so old ones

Go to the main menu and choose the second app - STAT.

Press TEST → CHI → 2WAY

Now we need to enter the data into a matrix. Press .MAT (the second option, not just MAT). Now press right arrow to change the dimensions of a given matrix into 2 × 3 as we have 2 rows and 3 columns. Press EXE and enter the data. Now press EXE and you will be back at the previous screen. Now make sure that your matrix is set as the observed data and press execute.

You should get:

χ2calc = 9.05 p = 0.010834

(11)

Casio - not so old ones

Go to the main menu and choose the second app - STAT.

Press TEST → CHI → 2WAY

Now we need to enter the data into a matrix. Press .MAT (the second option, not just MAT). Now press right arrow to change the dimensions of a given matrix into 2 × 3 as we have 2 rows and 3 columns. Press EXE and enter the data. Now press EXE and you will be back at the previous screen. Now make sure that your matrix is set as the observed data and press execute.

You should get:

χ2calc = 9.05 p = 0.010834

(12)

Casio - not so old ones

Go to the main menu and choose the second app - STAT.

Press TEST → CHI → 2WAY

Now we need to enter the data into a matrix. Press .MAT (the second option, not just MAT). Now press right arrow to change the dimensions of a given matrix into 2 × 3 as we have 2 rows and 3 columns. Press EXE and enter the data. Now press EXE and you will be back at the previous screen. Now make sure that your matrix is set as the observed data and press execute.

You should get:

χ2calc = 9.05 p = 0.010834

(13)

TI - 84

We first need to input our data. Press MATRIX (2nd → x−1). Go to EDIT and choose your matrix (say matrix A). Specify the dimensions (in our example 2 × 3 as we have 2 rows and 3 columns). Enter the data.

Now press STAT→TESTS→ χ2-Test. Make sure the observed data is set to your matrix. Press calculate.

You should get:

χ2calc = 9.05 p = 0.010834

(14)

TI - 84

We first need to input our data. Press MATRIX (2nd → x−1). Go to EDIT and choose your matrix (say matrix A). Specify the dimensions (in our example 2 × 3 as we have 2 rows and 3 columns). Enter the data.

Now press STAT→TESTS→ χ2-Test. Make sure the observed data is set to your matrix. Press calculate.

You should get:

χ2calc = 9.05 p = 0.010834

(15)

TI - 84

We first need to input our data. Press MATRIX (2nd → x−1). Go to EDIT and choose your matrix (say matrix A). Specify the dimensions (in our example 2 × 3 as we have 2 rows and 3 columns). Enter the data.

Now press STAT→TESTS→ χ2-Test. Make sure the observed data is set to your matrix. Press calculate.

You should get:

χ2calc = 9.05 p = 0.010834

(16)

TI - 84

We first need to input our data. Press MATRIX (2nd → x−1). Go to EDIT and choose your matrix (say matrix A). Specify the dimensions (in our example 2 × 3 as we have 2 rows and 3 columns). Enter the data.

Now press STAT→TESTS→ χ2-Test. Make sure the observed data is set to your matrix. Press calculate.

You should get:

χ2calc = 9.05 p = 0.010834

(17)

TI - 84

We first need to input our data. Press MATRIX (2nd → x−1). Go to EDIT and choose your matrix (say matrix A). Specify the dimensions (in our example 2 × 3 as we have 2 rows and 3 columns). Enter the data.

Now press STAT→TESTS→ χ2-Test. Make sure the observed data is set to your matrix. Press calculate.

You should get:

χ2calc = 9.05 p = 0.010834

(18)

TI - 84

We first need to input our data. Press MATRIX (2nd → x−1). Go to EDIT and choose your matrix (say matrix A). Specify the dimensions (in our example 2 × 3 as we have 2 rows and 3 columns). Enter the data.

Now press STAT→TESTS→ χ2-Test. Make sure the observed data is set to your matrix. Press calculate.

You should get:

χ2calc = 9.05 p = 0.010834

(19)

Example 1

Try calculating χ2calc and the p-value for the following observed data:

A B C

X 30 20 15 Y 20 20 10 You should get:

χ2calc = 1.0615 p = 0.58815

(20)

Example 1

Try calculating χ2calc and the p-value for the following observed data:

A B C

X 30 20 15 Y 20 20 10 You should get:

χ2calc = 1.0615 p = 0.58815

(21)

Example 2

Try calculating χ2calc and the p-value for the following observed data:

A B C

X 30 10 25 Y 20 10 10

Z 10 20 5

Note that now the dimensions are 3 × 3

You should get:

χ2calc = 21.346 p = 2.7035 × 10−4

(22)

Example 2

Try calculating χ2calc and the p-value for the following observed data:

A B C

X 30 10 25 Y 20 10 10

Z 10 20 5

Note that now the dimensions are 3 × 3

You should get:

χ2calc = 21.346 p = 2.7035 × 10−4

(23)

Example 2

Try calculating χ2calc and the p-value for the following observed data:

A B C

X 30 10 25 Y 20 10 10

Z 10 20 5

Note that now the dimensions are 3 × 3

You should get:

χ2calc = 21.346 p = 2.7035 × 10−4

(24)

Example 3

Try calculating χ2calc and the p-value for the following observed data:

A B C D

X 30 10 25 25 Y 20 10 20 10 Z 10 20 25 20 Note that now the dimensions are 3 × 4

You should get:

χ2calc = 15.706 p = 0.015421

(25)

Example 3

Try calculating χ2calc and the p-value for the following observed data:

A B C D

X 30 10 25 25 Y 20 10 20 10 Z 10 20 25 20 Note that now the dimensions are 3 × 4

You should get:

χ2calc = 15.706 p = 0.015421

(26)

Example 3

Try calculating χ2calc and the p-value for the following observed data:

A B C D

X 30 10 25 25 Y 20 10 20 10 Z 10 20 25 20 Note that now the dimensions are 3 × 4

You should get:

χ2calc = 15.706 p = 0.015421

(27)

Example 4

Try calculating χ2calc and the p-value for the following observed data:

A B C D

X 10 20 25 25 Y 20 10 40 30 Note that now the dimensions are 2 × 4

You should get:

χ2calc = 8.465 p = 0.037317

(28)

Example 4

Try calculating χ2calc and the p-value for the following observed data:

A B C D

X 10 20 25 25 Y 20 10 40 30 Note that now the dimensions are 2 × 4

You should get:

χ2calc = 8.465 p = 0.037317

(29)

Example 4

Try calculating χ2calc and the p-value for the following observed data:

A B C D

X 10 20 25 25 Y 20 10 40 30 Note that now the dimensions are 2 × 4

You should get:

χ2calc = 8.465 p = 0.037317

Cytaty

Powiązane dokumenty

The basic rule of comparing tests is the following: for a given set of null and alternative hypotheses, for a given significance level, the test which is more powerful is

(Row go horizontal and columns go up and down.) We locate entries in a matrix by specifying its row and column entry1. In the next two probelms you will develop some of the

M o s z y ´ n s k i, Bernstein polynomials and eigenvalue problems, report of KBN Grant No 211689191, Department of Mathematics, Computer Science and Mechanics, University of

trudniejsze.. Dla ka»dego podzbioru li zb rze zywisty h to inmum jest okre±lone, wi ka»dy podzbiór li zb rze zywisty h jest mierzalny.?. Zad. 9 Podaj przykªad lub argument, »e

One hundred people were interviewed outside a chocolate shop to nd out which avor of chocolate cream they preferred... Therefore, we reject the null

One hundred people were interviewed outside a chocolate shop to nd out which avor of chocolate cream they preferred... Therefore, we reject the null

Poniższa tabela przedstawia liczby prosiąt zdrowych i chorych na nosoryjówke w zależności od tego, czy matka była zdrowa, czy też chora.. Zbadać, czy istnieje zależność

I Chcemy sprawdzić, czy liczba wypalanych papierosów dziennie jest niezależna od płci (nie ma związku pomiędzy płcią respondenta a liczbą wypalanych papierosów dziennie)..