2014.3.26 1 Medical Statistics Medical Statistics Tao Yuchun Tao Yuchun Practice 3

Slides:



Advertisements
Similar presentations
Midterm Review Session
Advertisements

Testing means, part III The two-sample t-test. Sample Null hypothesis The population mean is equal to  o One-sample t-test Test statistic Null distribution.
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
The Normal Distribution. n = 20,290  =  = Population.
What z-scores represent
ANOVA Determining Which Means Differ in Single Factor Models Determining Which Means Differ in Single Factor Models.
Chapter 25 Asking and Answering Questions About the Difference Between Two Population Means: Paired Samples.
Data Analysis Statistics. Inferential statistics.
Statistics for the Social Sciences Psychology 340 Spring 2005 Using t-tests.
5-3 Inference on the Means of Two Populations, Variances Unknown
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
Chapter 9 Two-Sample Tests Part II: Introduction to Hypothesis Testing Renee R. Ha, Ph.D. James C. Ha, Ph.D Integrative Statistics for the Social & Behavioral.
Medical Statistics (full English class) Ji-Qian Fang School of Public Health Sun Yat-Sen University.
AM Recitation 2/10/11.
Estimation and Hypothesis Testing Faculty of Information Technology King Mongkut’s University of Technology North Bangkok 1.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Hypothesis Testing – Examples and Case Studies
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Analysis & Interpretation: Individual Variables Independently Chapter 12.
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
1 Tests with two+ groups We have examined tests of means for a single group, and for a difference if we have a matched sample (as in husbands and wives)
T-distribution & comparison of means Z as test statistic Use a Z-statistic only if you know the population standard deviation (σ). Z-statistic converts.
- Interfering factors in the comparison of two sample means using unpaired samples may inflate the pooled estimate of variance of test results. - It is.
More About Significance Tests
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
T tests comparing two means t tests comparing two means.
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
Week 111 Power of the t-test - Example In a metropolitan area, the concentration of cadmium (Cd) in leaf lettuce was measured in 7 representative gardens.
Hypothesis tests III. Statistical errors, one-and two sided tests. One-way analysis of variance. 1.
1 CHAPTER 9 Homework: 1,6,15,24,47,49,53,57 Sec 9.1: Sampling Distribution for the difference of two sample means: 1. Sampling distribution for the difference.
Overview Two paired samples: Within-Subject Designs
Basic Statistics Inferences About Two Population Means.
January 31 and February 3,  Some formulae are presented in this lecture to provide the general mathematical background to the topic or to demonstrate.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Chapter 10 Inferences from Two Samples
Testing means, part II The paired t-test. Outline of lecture Options in statistics –sometimes there is more than one option One-sample t-test: review.
Ch9. Inferences Concerning Proportions. Outline Estimation of Proportions Hypothesis concerning one Proportion Hypothesis concerning several proportions.
Biostatistics Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000.
1 10 Statistical Inference for Two Samples 10-1 Inference on the Difference in Means of Two Normal Distributions, Variances Known Hypothesis tests.
Biostatistics, statistical software VII. Non-parametric tests: Wilcoxon’s signed rank test, Mann-Whitney U-test, Kruskal- Wallis test, Spearman’ rank correlation.
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
Confidence intervals and hypothesis testing Petter Mostad
Determination of Sample Size: A Review of Statistical Theory
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © Dr. John Lipp.
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Medical Statistics Medical Statistics Tao Yuchun Tao Yuchun Practice 2.
Principles of Biostatistics ANOVA. DietWeight Gain (grams) Standard910 8 Junk Food Organic Table shows weight gains for mice on 3 diets.
Statistics 300: Elementary Statistics Sections 7-2, 7-3, 7-4, 7-5.
© Copyright McGraw-Hill 2004
ISMT253a Tutorial 1 By Kris PAN Skewness:  a measure of the asymmetry of the probability distribution of a real-valued random variable 
Medical Statistics Medical Statistics Tao Yuchun Tao Yuchun 7
Medical Statistics Medical Statistics Tao Yuchun Tao Yuchun 9
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
+ Unit 6: Comparing Two Populations or Groups Section 10.2 Comparing Two Means.
ENGR 610 Applied Statistics Fall Week 7 Marshall University CITE Jack Smith.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Sample Size Needed to Achieve High Confidence (Means)
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
Objectives (BPS chapter 12) General rules of probability 1. Independence : Two events A and B are independent if the probability that one event occurs.
ENGR 610 Applied Statistics Fall Week 8 Marshall University CITE Jack Smith.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Objectives (PSLS Chapter 18) Comparing two means (σ unknown)  Two-sample situations  t-distribution for two independent samples  Two-sample t test 
Tests of hypothesis Contents: Tests of significance for small samples
ESTIMATION.
Presentation transcript:

Medical Statistics Medical Statistics Tao Yuchun Tao Yuchun Practice 3

Review Comparing to a given population mean One-sample t test (One-sample t test) I. t test The formula of the test statistic for one-sample t test is:The formula of the test statistic for one-sample t test is: here μ is a given population mean.

Comparison for Paired Data Paired-Samples t test (Paired-Samples t test) The formula of the test statistic for -samplesThe formula of the test statistic for paired-samples t test is: t test is: here and S d refer to the mean and SD of the variable “difference”.

Comparison between two sample Independent-Samples t test means (Independent-Samples t test) The formula of the test statistic for independent-sampleThe formula of the test statistic for independent-sample t test is: t test is: here S c 2 is pooled estimation of sample variance.

II. Z test Comparing to a given population mean big One-sample Z test for a big sample (One-sample Z test) The formula of the test statistic for one-sample Z test is:The formula of the test statistic for one-sample Z test is: big means sample size n ≥ 50 or 100. big means sample size n ≥ 50 or 100.

big 2. Comparison between two big sample Two-Samples Z test means (Two-Samples Z test) The formula of the test statistic for two-samples Z testThe formula of the test statistic for two-samples Z test is: is: big means two sample size all n ≥ 50 or 100. big means two sample size all n ≥ 50 or 100.

III. Statistical description for enumeration data data Relative measures Absolute measure Absolute measure Relative measures : Relative measures : (1) (1) Frequency(proportion) (2) (2) Intensity (Rate) (3) (3) Ratio

Standardization for crude frequency or crude intensity direct standardization approach direct standardization approach indirect standardization approach indirect standardization approach IV. Statistical Inference for enumeration data data Sampling error of frequency

Confidence Interval of Probability  95% Confidence interval:  99% Confidence interval: required the sample size n is big enough. required the sample size n is big enough.

The hypothesis testing of proportion (Z test) (1) Comparison of sample proportion and population proportion ( One-sample Z test) If |Z| ≥ Z α, then reject H 0 ; Otherwise, no reason to reject H 0 (accept H 0 ). π 0 is a constant.

(2) Comparison of two sample proportions ( Two-samples Z test) ( Two-samples Z test)

np > 5 and n(1-p) >5 The normal approximation condition The hypothesis testing of proportion (Chi-square test)  (1) Basic idea of χ 2 test the actual frequency ---- A the actual frequency ---- A the theoretical frequency ---- T the theoretical frequency ---- T

(2) Chi-square test for 2×2 table = (row-1)(column-1)  a.andevery a. If n≥40, and every T i ≥ 5,  2 test is applicable; b.or b. If n < 40 or T i < 1,  2 test is not applicable, you should use Fisher’s Exact Test Fisher’s Exact Test; c.andonly one c. If n≥40, and only one 1≤T i < 5,  2 test needs adjustment.

 2 table The correction formula of  2 test for 2  2 table :  (3) Chi-square test for R×C table

Excel’s statistical method You can use Excel’s statistical function CHIINV(Probability,Deg_freedom) CHIINV(Probability,Deg_freedom) to get χ 2 α,ν, here Probability is α , Deg_freedom is ν (degree of freedom). You can use Excel’s statistical function CHITEST(range1,range2) CHITEST(range1,range2) to get the P-value of χ 2 test, here range1 is the range of all actual frequencies, range2 is the range of all theoretical frequencies.

See the example updated ( stat1.xls updated ) You can use the macro for t-tests of statistical analysis tools to get Paired-Samples t Test and Two-Samples t Test directly.

Practice in class Exercise 1 Exercise 1: The weights (kg) of 12 volunteers were measured before and after a course of treatment with a “new drug” for losing weight. The data is given in Table 3-1. Please evaluate the effectiveness of this drug.

Exercise 2 Exercise 2: A physician made a survey of the roundworm infection of a rural region. There were 60 infected among the 300 randomly sampled males, and 30 infected among the 200 females. Did females have lower infection rate than males? Answer Answer See the Excel file ( practice3key.xls )

Homework Dr. L wants to evaluate one remedy, so she randomly chose 10 patients, and recorded the blood sedimentation rate (mm/h) of each patient before and after the treatment. The data is given in Table 3-2. Please evaluate the effectiveness of this remedy.

C A test is used for examination of two groups of children randomly selected from Urban and Rural areas of a city respectively. The results are listed in table3-3. Are the positive rates of two groups of children are significantly different ?