BIOSTATISTICS Hypotheses testing and parameter estimation.

Slides:



Advertisements
Similar presentations
Hypothesis testing Another judgment method of sampling data.
Advertisements

Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Chapter Seventeen HYPOTHESIS TESTING
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
Lec 6, Ch.5, pp90-105: Statistics (Objectives) Understand basic principles of statistics through reading these pages, especially… Know well about the normal.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
5-3 Inference on the Means of Two Populations, Variances Unknown
Simple Linear Regression Analysis
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
One Sample  M ean μ, Variance σ 2, Proportion π Two Samples  M eans, Variances, Proportions μ1 vs. μ2 σ12 vs. σ22 π1 vs. π Multiple.
Hypothesis Testing.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 8-1 Confidence Interval Estimation.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
1 When we free ourselves of desire, we will know serenity and freedom.
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © Dr. John Lipp.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
1 When we free ourselves of desire, we will know serenity and freedom.
MeanVariance Sample Population Size n N IME 301. b = is a random value = is probability means For example: IME 301 Also: For example means Then from standard.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
: An alternative representation of level of significance. - normal distribution applies. - α level of significance (e.g. 5% in two tails) determines the.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
© Copyright McGraw-Hill 2004
This Week Homework 2 parts 1 and 2 due by 5pm today. Answer keys posted tonight. Midterm 2 on Thursday, bring 8 ½ by 11 inch note sheet. No calculator.
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
T Test for Two Independent Samples. t test for two independent samples Basic Assumptions Independent samples are not paired with other observations Null.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Inference ConceptsSlide #1 1-sample Z-test H o :  =  o (where  o = specific value) Statistic: Test Statistic: Assume: –  is known – n is “large” (so.
BIOSTATISTICS Statistical tests part IV: nonparametric tests.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
Ex St 801 Statistical Methods Inference about a Single Population Mean (CI)
PEP-PMMA Training Session Statistical inference Lima, Peru Abdelkrim Araar / Jean-Yves Duclos 9-10 June 2007.
Lec. 19 – Hypothesis Testing: The Null and Types of Error.
Hypothesis Testing and Statistical Significance
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
Statistical Inference
Introduction For inference on the difference between the means of two populations, we need samples from both populations. The basic assumptions.
More on Inference.
Chapter 9 Hypothesis Testing.
ESTIMATION.
Statistical Quality Control, 7th Edition by Douglas C. Montgomery.
Chapter 4. Inference about Process Quality
8-1 of 23.
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Statistical inference: distribution, hypothesis testing
When we free ourselves of desire,
Hypothesis Tests for a Population Mean in Practice
More on Inference.
Statistical inference
CHAPTER 6 Statistical Inference & Hypothesis Testing
CHAPTER 12 Inference for Proportions
CHAPTER 12 Inference for Proportions
Confidence Intervals.
Statistical Inference for the Mean: t-test
Presentation transcript:

BIOSTATISTICS Hypotheses testing and parameter estimation

INTRODUCTION 1.Hypotheses testing Errors related to testing Multiple testing 2.Parameter estimation Standard error Confidence interval Copyright ©2011, Joanna Szyda

STATISTICAL INFERENCE Freshwater mussel Hyridella menziesi n= mg/g n= mg/g 1. Observed the nature 2. Form a biological question 3. Form a statistical hypothesis 4. Sample 5. Estimate 6. Run an analysis 7. Statistical inference Copyright ©2011, Joanna Szyda

SAMPLE POPULATION STATISTICAL INFERENCE

Copyright ©2011, Joanna Szyda SAMPLE POPULATION PROBABILITY STATISTICAL INFERENCE

HYPOTHESES TESTINGPARAMETER ESTIMATION Copyright ©2011, Joanna Szyda STATISTICAL INFERENCE

HYPOTHESES TESTING H 0 - null hypothesis H 1 - alternative hypothesis Pr(H 0 ) + Pr(H 1 ) = 1 H 1 complementary to H 0 Hypotheses testing relates to rejecting / accepting H 0 Copyright ©2011, Joanna Szyda

e.g. 1 PARAMETER H 0 : lipid concentration in the air is equal to 25.0 mg/g H 1 : lipid concentration in the air is different from 25.0 H 1 H 0 H 1 H 0 : k = 25.0 H 1 : k  25.0 H0 H0 H1 H1 H 0 : k > 25.0 H 1 : k ≤ 25.0 H 0 : lipid concentration in the air exceeds 25.0 mg/g H 1 : lipid concentration in the air is less or equal 25.0 Copyright ©2011, Joanna Szyda HYPOTHESES TESTING

H 0 : k1 = k2 H 1 : k1  k2 k1 k2 H0H0 H1H1 H1H1 e.g. 2 PARAMETERS H 0 :lipid concentration in the air jest equal tolipid concentration in water H 1 :lipid concentration in the air and water are different H 0 : k1 > k2 H 1 : k1 ≤ k2 k1 k2 H0H0 H1H1 H 0 :lipid concentration in the air is higherthan in water H 1 :lipid concentration in the air is lower or equal than in water Copyright ©2011, Joanna Szyda HYPOTHESES TESTING

ERRORS IN HYPOTHESES TESTING ERROR TRUE HYPOTHESIS H0H0 H1H1 ACCEPTED HYPOTH. H0H0 H1H1  - type I error  - type II error   Copyright ©2011, Joanna Szyda

ERROR TRUE HYPOTHESIS H0H0 H1H1 ACCEPTED HYPOTH. H0H0 H1H1 probability of incorrect rejection of true H 0 significance level P value e.g. if  =0.05 then among 100 tests H 0 is incorrectly rejected can be controlled in testing TYPE I ERROR Copyright ©2011, Joanna Szyda ERRORS IN HYPOTHESES TESTING

ERROR TRUE HYPOTHESIS H0H0 H1H1 ACCEPTED HYPOTH. H0H0 H1H1 probability of incorrect rejection of true H 1 1-β – power estimation of power: computer simulations, numerical depends on sample informativeness: size, structure, difference between H 1 and H 0 TYPE II ERROR H 1 H 0 H 1 Copyright ©2011 Joanna Szyda ERRORS IN HYPOTHESES TESTING

MULTUIPLE HYPOTHESES TESTING … H 0 : k1≤k2 / H 1 : k1>k2 →  MAX =0.05 → t →  T → H 0 /H 1 → 5% OVERALL TYPE I ERROR  MAX  0.05*10 = 50% Copyright ©2011, Joanna Szyda

What to do  ? BONFERRONI CORRECTION → independent tests …  MAX* =  MAX / N →  MAX* = 0.05 / 10 →  MAX* = OVERALL TYPE I ERROR  MAX  0.005*10 = 5%  MAX* =  MAX / N →  MAX* = 0.05 / 10 →  MAX* = Copyright ©2011, Joanna Szyda MULTUIPLE HYPOTHESES TESTING

What to do  ? False Discovery Rate (FDR) ERROR TRUE HYPOTHESIS H0H0 H1H1 ACCEPTED HYPOTH. H0H0 H1H1 FDR = E + Copyright ©2011, Joanna Szyda MULTUIPLE HYPOTHESES TESTING

STATISTICAL INFERENCE HYPOTHESES TESTINGPARAMETER ESTIMATION Copyright ©2011, Joanna Szyda

HOW ACCURATE IS AN ESTIMATE ??? STANDARD ERROR CONFIDENCE INTERVAL Copyright ©2011, Joanna Szyda

STANDARD ERROR Copyright ©2012, Joanna Szyda Standard error of an estimate standard deviation of a distribution of the estimate

STANDARD ERROR OF A MEAN What is the distribution of ? How to calculate ? Copyright ©2012, Joanna Szyda

What is the distribution of the estimate of a mean? Large sample sizes (N): the distribution approaches the Normal distribution estimate of a mean approaches the true mean regardless of the disctibution of the data Copyright ©2011, Joanna Szyda STANDARD ERROR OF A MEAN

What is the distribution of ? How to calculate ? Copyright ©2012, Joanna Szyda

How to calculate the standard deviation for the distribution of a mean (without collecting multiple samples) ? Standard error in a sample Sample size STANDARD ERROR OF A MEAN Copyright ©2011, Joanna Szyda STANDARD ERROR OF A MEAN

STANDARD ERROR OF OTHER ESTIMATES Standard error of estimated probability Copyright ©2012. Joanna Szyda Standard error of regression coefficient What affects the standard error?

STATISTICAL INFERENCE Freshwater mussel Hyridella menziesi n= ± 0.9 mg/g n= ± 0.7 mg/g Copyright ©2011, Joanna Szyda

HOW ACCURATE IS AN ESTIMATE ??? STANDARD ERROR CONFIDENCE INTERVAL Copyright ©2011, Joanna Szyda

Confidence interval of a mean estimate: interval which with predefined propability contains the true mean confidence interval bounds CONFIDENCE INTERVAL FOR THE MEAN Copyright ©2011, Joanna Szyda

How to calculate bounds of a confidence interval ? 1.Known variance or large sample size 2.Unknown variance – variance calculated from a smaple Copyright ©20112 Joanna Szyda CONFIDENCE INTERVAL FOR THE MEAN

1.95% confidence interval Probability of containing the true mean and confidence interval length 2.99% confidence interval Copyright ©2011, Joanna Szyda CONFIDENCE INTERVAL FOR THE MEAN

STATISTICAL INFERENCE Freshwater mussel Hyridella menziesi n= ± 0.9 mg/g [23.2, 26.8] n= ± 0.7 mg/g [ 21.5, 24.3 ] Copyright ©2011, Joanna Szyda

Copyright ©2011 Joanna Szyda HYPOTHESES TESTING PARAMETER ESTIMATION