Lecture 16 chi-square test (continued) Suppose 160 pairs of consecutive nucleotides are selected at random. Are data compatible with the independent occurrence.

Slides:



Advertisements
Similar presentations
C) between 18 and 27. D) between 27 and 50.
Advertisements

Bellwork If you roll a die, what is the probability that you roll a 2 or an odd number? P(2 or odd) 2. Is this an example of mutually exclusive, overlapping,
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
Advanced Piloting Cruise Plot.
Special Types of Factoring
& dding ubtracting ractions.
STATISTICS Joint and Conditional Distributions
STATISTICS Sampling and Sampling Distributions
STATISTICS HYPOTHESES TEST (II) One-sample tests on the mean and variance Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering National.
STATISTICS Univariate Distributions
Multiplication X 1 1 x 1 = 1 2 x 1 = 2 3 x 1 = 3 4 x 1 = 4 5 x 1 = 5 6 x 1 = 6 7 x 1 = 7 8 x 1 = 8 9 x 1 = 9 10 x 1 = x 1 = x 1 = 12 X 2 1.
Division ÷ 1 1 ÷ 1 = 1 2 ÷ 1 = 2 3 ÷ 1 = 3 4 ÷ 1 = 4 5 ÷ 1 = 5 6 ÷ 1 = 6 7 ÷ 1 = 7 8 ÷ 1 = 8 9 ÷ 1 = 9 10 ÷ 1 = ÷ 1 = ÷ 1 = 12 ÷ 2 2 ÷ 2 =
1 2 Test for Independence 2 Test for Independence.
1 2 Test for Independence 2 Test for Independence.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
Multiplying binomials You will have 20 seconds to answer each of the following multiplication problems. If you get hung up, go to the next problem when.
0 - 0.
1 1  1 =.
2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt Time Money AdditionSubtraction.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
MULTIPLICATION EQUATIONS 1. SOLVE FOR X 3. WHAT EVER YOU DO TO ONE SIDE YOU HAVE TO DO TO THE OTHER 2. DIVIDE BY THE NUMBER IN FRONT OF THE VARIABLE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
Overview of Lecture Partitioning Evaluating the Null Hypothesis ANOVA
The Poisson distribution
Grade D Number - Decimals – x x x x x – (3.6 1x 5) 9.
Chapter 7 Sampling and Sampling Distributions
NIPRL Chapter 10. Discrete Data Analysis 10.1 Inferences on a Population Proportion 10.2 Comparing Two Population Proportions 10.3 Goodness of Fit Tests.
Multiplication Tile Facts Multiplication Tile Facts Rectangular next © 2009 Richard A. Medeiros.
Chapter 13: Chi-Square Test
Chapter 16 Goodness-of-Fit Tests and Contingency Tables
Business and Economics 6th Edition
O X Click on Number next to person for a question.
VOORBLAD.
Area Of Shapes. 8cm 2cm 5cm 3cm A1 A2 16m 12m 10m 12cm 7cm.
Functions of Random Variables. Method of Distribution Functions X 1,…,X n ~ f(x 1,…,x n ) U=g(X 1,…,X n ) – Want to obtain f U (u) Find values in (x 1,…,x.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
The Kruskal-Wallis H Test
The Normal Distribution PSYC 6130, PROF. J. ELDER 2 is the mean is the standard deviation The height of a normal density curve at any point x is given.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
Properties of Exponents
Before Between After.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
11 = This is the fact family. You say: 8+3=11 and 3+8=11
Week 1.
Statistical Inferences Based on Two Samples
We will resume in: 25 Minutes.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chi-Square Tests Chapter 12.
Chapter 8 Estimation Understandable Statistics Ninth Edition
Lecture 15 Categorical data and chi-square tests Continuous variable : height, weight, gene expression level, lethal dosage of anticancer compound, etc.
A SMALL TRUTH TO MAKE LIFE 100%
FIND THE AREA ( ROUND TO THE NEAREST TENTHS) 2.7 in 15 in in.
O X Click on Number next to person for a question.
& dding ubtracting ractions.
“Reading Measurement Scales”. MNI = marked number interval AMI = adjacent number interval.
Categorical Data Analysis
Area Of Shapes. 8cm 2cm 5cm 3cm A1 A2 16m 12m 10m 12cm 7cm.
9. Two Functions of Two Random Variables
6.3 Sampling Distributions
Presentation transcript:

Lecture 16 chi-square test (continued) Suppose 160 pairs of consecutive nucleotides are selected at random. Are data compatible with the independent occurrence assumption?

ATGC A T G C512108

Independence implies joint probability equals product of marginal probabilities Let P(first nucleotide = A)= P A1 P(first nucleotide = T)= P T1 and so on Let P (second nucleotide = A)= P A2 P(second nucleotide = T)= P T2 and so on P(AA)= P A1 P A2 P(AT) = P A1 P T2 We do not assume P A1 = P A2 and so on

ATGC A15 (11.25) 10 (12.66) 13 (11.25) 7 (9.84) T10 (10)13 (11.25) 7 (10)10 (8.75) G10 (10)10 (11.25) 10 (10)10 (8.75) C5 (8.75)12 (9.84)10 (8.75) 8 (7.66) Expected value in ( ) ; df = (# of rows -1)(# of columns -1) Pearson’s chi-square statistic= > P-value<.001

Simple or composite hypothesis Simple : parameters are completely specified Composite : parameters are not specified and have to be estimated from the data Loss of 1 degree of freedom per parameter estimated Number of parameters estimated = (# of rows -1)+ (# of columns -1) So the df for chi-square test is #of cells -1 - (#of rows -1) - (# of columns -1) = (#of row -1)(#of col -1) Test of independence in a contingency table

ChinaHong Kong Singapo re Canadaothers cases death Df = 1 times 4 = 4; but wait, convert to death - alive table first Are SARS death rates independent of countries ? Data from LA -times, as of Monday 5.pm. ( Wednesday, from April 30, 2003)

China death148 (199.5 ) 138 (94) 23 (12) 21 (20.8) 11 (14.7) alive3155 ( ) 1419 (1463) 176 (187) 323 (323.2 ) 232 (228.3 ) total Pearson’s Chi-square statistic =47.67 > 18.47; P-value<.001, reject null hypothesis, data incompatible with independence assumption d.f. = 4