Not in FPP Bayesian Statistics. The Frequentist paradigm Defines probability as a long-run frequency independent, identical trials Looks at parameters.

Slides:



Advertisements
Similar presentations
CHAPTER 15: Tests of Significance: The Basics Lecture PowerPoint Slides The Basic Practice of Statistics 6 th Edition Moore / Notz / Fligner.
Advertisements

Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
Bayesian inference “Very much lies in the posterior distribution” Bayesian definition of sufficiency: A statistic T (x 1, …, x n ) is sufficient for 
Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
1 Bayesian Supplement To Freedman, Pisani, Purvis and Adhikari’s Statistics Dalene Stangl Three Parts Bayes’ Inference (Discrete) Bayes’ Inference (Continuous)
Tests of Significance about Percents Reading Handout # 6.
STAT 135 LAB 14 TA: Dongmei Li. Hypothesis Testing Are the results of experimental data due to just random chance? Significance tests try to discover.
Chapter 10: Hypothesis Testing
Topic 6: Introduction to Hypothesis Testing
Stat 301 – Day 17 Tests of Significance. Last Time – Sampling cont. Different types of sampling and nonsampling errors  Can only judge sampling bias.
Section 7.1 Hypothesis Testing: Hypothesis: Null Hypothesis (H 0 ): Alternative Hypothesis (H 1 ): a statistical analysis used to decide which of two competing.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Stat 217 – Day 21 Cautions/Limitations with Inference Procedures.
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
Evaluating Hypotheses Chapter 9 Homework: 1-9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics ~
Introduction to Hypothesis Testing CJ 526 Statistical Analysis in Criminal Justice.
AP Statistics: Chapter 20
Introduction to Hypothesis Testing CJ 526 Statistical Analysis in Criminal Justice.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
BCOR 1020 Business Statistics
Business Statistics - QBM117 Testing hypotheses about a population mean.
Probability Population:
CHAPTER 23 Inference for Means.
Introduction to Hypothesis Testing
Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of times would result in heads half the time (i.e.,
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
1 Today Null and alternative hypotheses 1- and 2-tailed tests Regions of rejection Sampling distributions The Central Limit Theorem Standard errors z-tests.
Introduction to Statistical Inference Probability & Statistics April 2014.
Topic 7 - Hypothesis tests based on a single sample Sampling distribution of the sample mean - pages Basics of hypothesis testing -
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Hypothesis Testing.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Hypothesis Testing State the hypotheses. Formulate an analysis plan. Analyze sample data. Interpret the results.
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
Statistics 101 Chapter 10 Section 2. How to run a significance test Step 1: Identify the population of interest and the parameter you want to draw conclusions.
Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
AP STATISTICS LESSON 10 – 2 DAY 2 MORE DETAIL: STATING HYPOTHESES.
Section 3.3: The Story of Statistical Inference Section 4.1: Testing Where a Proportion Is.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
CHAPTER 15: Tests of Significance The Basics ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Hypothesis Testing An understanding of the method of hypothesis testing is essential for understanding how both the natural and social sciences advance.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Simple examples of the Bayesian approach For proportions and means.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
Chapter 9: Hypothesis Tests Based on a Single Sample 1.
AP Statistics Section 11.1 B More on Significance Tests.
Inferential Statistics Inferential statistics allow us to infer the characteristic(s) of a population from sample data Slightly different terms and symbols.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Hypothesis Testing.
1 Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
CHAPTER 15: Tests of Significance The Basics ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Section 9.1 First Day The idea of a significance test What is a p-value?
Hypothesis Tests for 1-Proportion Presentation 9.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
+ Testing a Claim Significance Tests: The Basics.
1 Basics of Inferential Statistics Mark A. Weaver, PhD Family Health International Office of AIDS Research, NIH ICSSC, FHI Lucknow, India, March 2010.
Unit 5: Hypothesis Testing
Hypothesis Testing and Confidence Intervals (Part 1): Using the Standard Normal Lecture 8 Justin Kern October 10 and 12, 2017.
Hypothesis Testing: Hypotheses
Hypothesis Testing Summer 2017 Summer Institutes.
CONCEPTS OF HYPOTHESIS TESTING
Significance Tests: The Basics
Significance Tests: The Basics
Inference Confidence Interval for p.
Chapter 9: Significance Testing
Statistical Test A test of significance is a formal procedure for comparing observed data with a claim (also called a hypothesis) whose truth we want to.
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
STAT 1301 Tests of Significance about Averages.
Presentation transcript:

Not in FPP Bayesian Statistics

The Frequentist paradigm Defines probability as a long-run frequency independent, identical trials Looks at parameters (i.e., the true mean of the population, the true probability of heads) as fixed quantities This paradigm leads one to specify the null and alternative hypotheses, collect data, calculate the significance probability under the assumption that the null is true, and draw conclusions based on these significance probabilities using size of the observed effects to guide decisions

The Bayesian paradigm Defines probability as a subjective belief (which must be consistent with all of one’s other beliefs) Looks at parameters (i.e., the true mean population, the true probability of heads) as random quantities because we can never know them with certainty This paradigm leads one to specify plausible models to assign a prior probability to each model, to collect data, to calculate the probability of the data under each model, to use Baye’s theorm to calculate the posterior probability of each model, and to make inferences based on these posterior probabilities. The posterior probabilities enable one to make predictions about future observations and one uses one’s loss function to make decisions that minimize the probable loss

RU486 Example The “morning after” contraceptive RU486 was tested in a clinical trial in Scotland. This discussion simplifies the design slightly. Assum 800 women report to a clinic; they have each had sex within the last 72 hours. Half are randomly assigned to take RU486; half are randomly given the conventional theory (high dose of estrogen and synthetic progesterone). Amone the RU486 group, none became pregnant. Among the conventional therapy group, there were 4 pregnancies. Does this show that RU 486 is more effective than conventional treatment? Lets compare the frequentist and Bayesian approaches

RU486 Example If the two therapies (R and C, for RU486 and conventional) are equally effective, then the probability that an observed pregnancy came from the R group is the proportion of women in the R group. (Here this would be 0.5). Let p = Pr[an observed pregnancy came from group R]. A frequentist wants to conduct a hypothesis test. Specifically Ho: p = 0.5 vs. Ha: p < 0.5 If the evidence supports the alternative, then RU486 is more “effective” than the conventional procedure. The data are 4 observations from a binomial, where p is the probability that a pregnancy is from group R How do we calculate the significance probability?

RU486 Example The significance probability is the chance of observing a result as or more extreme than the one in the sample, when the null hypothesis is true. Our sample had no children from the R group, which is as supportive as we could have. So p-value = Pr[0 successes in 4 tries | Ho true] = (1-0.5) 4 = Most frequentists would fail to reject, since > 0.05 Suppose we had observed 1 pregnancy in the R group. What would the p-value be then?

RU486 Example In the Bayesian analysis, we begin by listing the models we consider plausible. For example, suppose we thought we hade no information a priori about the probability that a child came from the R group. In that case all values of p between 0 and 1 would be equally likely. Without calculus we cannot do that case, so let us approximate it by assuming that each of the following values for p 0.1, 0.2, 0.3, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 is equally likely. So we consider 9 models, one for each value of the parameter p If we picked one of the models say p=0.1, then that means the probability of a sample pregnancy coming from the R group is 0.1 and 0.9 that it comes from the C group. But we are not sure about the model

RU486 Example ModelPriorPr(data|Mod el) ProdoctPosterior pPr{model]P{k=0|p]P{Model|data) 0.11/ / / / / / / / /

RU486 Example So the most probable of the nine models has p=0.1. And the probability that p<0.5 is =0.934 Note that in performing the Bayes calculation, We were able to find the probability that p < 0.5, which we could not do in the frequentist framework. In calculating this, we used only the data that we observed. Data that were more extreme than what we observed plays no role in the calculation or the logic. Also note that the prior probability of p = 0.5 dropped from 1/9 = to This illustrates how our prior belief changes after seeing the data.

RU486 Example Suppose a new person analyzes the same data. But their prior does not put equal weight on the 9 models; they put weight 0.52 on p=0.5 and equal weight on the others

RU486 Example ModelPriorP(data|Mode l) ProdoctPosterior pP{model]P{k=0|p]P{Model|data)

RU486 Example Compared to the first analyst, this one now believes that the probability that p=0.5 is 0.269, instead of So the strong prior used by the second analyst has gotten a rather different result But the probability that p=0.5 had dropped from 0.52 to 0.269, showing the evidence is running against the prior belief. But in practice, what one really needs to know are predictive probabilities. For example, what is the probability that the next pregnancy comes from the RU486 group?

RU486 Example To calculate the predictive probability for the next pregnancy, one finds the weighted average of the different p values, using the posterior probabilities as weights. predictive probability = 0.1* * *0.000= This is a very useful quantity, and on that cannot be calculated within the frequentist paradigm.