Math 58. Rumbos Fall 2008 1. Solutions to Assignment #3



Similar documents
Math 58. Rumbos Fall Solutions to Review Problems for Exam 2

Section 6.2 Definition of Probability

Solution (Done in class)

Second Midterm Exam (MATH1070 Spring 2012)

Math 3C Homework 3 Solutions

CONTENTS OF DAY 2. II. Why Random Sampling is Important 9 A myth, an urban legend, and the real reason NOTES FOR SUMMER STATISTICS INSTITUTE COURSE

p-values and significance levels (false positive or false alarm rates)

Week 5: Expected value and Betting systems

Unit 19: Probability Models

Contemporary Mathematics- MAT 130. Probability. a) What is the probability of obtaining a number less than 4?

The overall size of these chance errors is measured by their RMS HALF THE NUMBER OF TOSSES NUMBER OF HEADS MINUS NUMBER OF TOSSES

Chapter 16: law of averages

Probability definitions

Math 108 Exam 3 Solutions Spring 00

Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014

Basic Probability. Probability: The part of Mathematics devoted to quantify uncertainty

MATH 140 Lab 4: Probability and the Standard Normal Distribution

36 Odds, Expected Value, and Conditional Probability

Lecture 13. Understanding Probability and Long-Term Expectations

2 Precision-based sample size calculations

MA 1125 Lecture 14 - Expected Values. Friday, February 28, Objectives: Introduce expected values.

Session 8 Probability

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing

Find the indicated probability. 1) If a single fair die is rolled, find the probability of a 4 given that the number rolled is odd.

Math 141. Lecture 2: More Probability! Albyn Jones 1. jones/courses/ Library 304. Albyn Jones Math 141

Mathematical goals. Starting points. Materials required. Time needed

Probability Using Dice

WHERE DOES THE 10% CONDITION COME FROM?

Probability: The Study of Randomness Randomness and Probability Models. IPS Chapters 4 Sections

Statistics 100A Homework 2 Solutions

Elementary Statistics and Inference. Elementary Statistics and Inference. 16 The Law of Averages (cont.) 22S:025 or 7P:025.

Introduction to the Practice of Statistics Fifth Edition Moore, McCabe

Basic Probability Theory II

Testing Hypotheses About Proportions

Question of the Day. Key Concepts. Vocabulary. Mathematical Ideas. QuestionofDay

Online 12 - Sections 9.1 and 9.2-Doug Ensley

We rst consider the game from the player's point of view: Suppose you have picked a number and placed your bet. The probability of winning is

Elementary Statistics

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Solutions to Homework 6 Statistics 302 Professor Larget

An Introduction to Basic Statistics and Probability

Formula for Theoretical Probability

Project Maths. Mathematics Resources for Students. Junior Certificate Strand 1. Statistics and Probability

Survey, Statistics and Psychometrics Core Research Facility University of Nebraska-Lincoln. Log-Rank Test for More Than Two Groups

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

Chapter What is the probability that a card chosen from an ordinary deck of 52 cards is an ace? Ans: 4/52.

Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes

Chapter 4 Lecture Notes

Chapter 5 Section 2 day f.notebook. November 17, Honors Statistics

AP Stats - Probability Review

Math 151. Rumbos Spring Solutions to Assignment #22

LAB : THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

Lab 11. Simulations. The Concept

Joint Exam 1/P Sample Exam 1

STAT 319 Probability and Statistics For Engineers PROBABILITY. Engineering College, Hail University, Saudi Arabia

Exam. Name. How many distinguishable permutations of letters are possible in the word? 1) CRITICS

AP Statistics 7!3! 6!

Week 2: Conditional Probability and Bayes formula

Multivariate Analysis of Variance (MANOVA): I. Theory

Exam 3 Review/WIR 9 These problems will be started in class on April 7 and continued on April 8 at the WIR.

AP: LAB 8: THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

Chapter 4. Hypothesis Tests

6. Let X be a binomial random variable with distribution B(10, 0.6). What is the probability that X equals 8? A) (0.6) (0.4) B) 8! C) 45(0.6) (0.

Mind on Statistics. Chapter 15

What Is Probability?

BA 275 Review Problems - Week 5 (10/23/06-10/27/06) CD Lessons: 48, 49, 50, 51, 52 Textbook: pp

2. How many ways can the letters in PHOENIX be rearranged? 7! = 5,040 ways.

Fundamentals of Probability

STAT 35A HW2 Solutions

Business Statistics, 9e (Groebner/Shannon/Fry) Chapter 5 Discrete Probability Distributions

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

Probability --QUESTIONS-- Principles of Math 12 - Probability Practice Exam 1

Section 7C: The Law of Large Numbers

One-Way Analysis of Variance

University of California, Los Angeles Department of Statistics. Random variables

Solutions: Problems for Chapter 3. Solutions: Problems for Chapter 3

Differentiated plans for Years 3 & 4 for Chance & Data

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

X X AP Statistics Solutions to Packet 7 X Random Variables Discrete and Continuous Random Variables Means and Variances of Random Variables

Chapter 19 The Chi-Square Test

Economics 1011a: Intermediate Microeconomics

Feb 7 Homework Solutions Math 151, Winter Chapter 4 Problems (pages )

Selecting Research Participants

University of Chicago Graduate School of Business. Business 41000: Business Statistics

V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE

PROBABILITY SECOND EDITION

Ch. 13.3: More about Probability

John Kerrich s coin-tossing Experiment. Law of Averages - pg. 294 Moore s Text

The Procedures of Monte Carlo Simulation (and Resampling)

MATHEMATICS 154, SPRING 2010 PROBABILITY THEORY Outline #3 (Combinatorics, bridge, poker)

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Betting systems: how not to lose your money gambling

Responsible Gambling Education Unit: Mathematics A & B

AMS 5 CHANCE VARIABILITY

Chapter 13 & 14 - Probability PART

Determine the empirical probability that a person selected at random from the 1000 surveyed uses Mastercard.

The binomial distribution and proportions. Erik-Jan Smits & Eleonora Rossi

Math 55: Discrete Mathematics

Colored Hats and Logic Puzzles

Transcription:

Math 58. Rumbos Fall 2008 1 Solutions to Assignment #3 1. Use randomization to test the null hypothesis that there is no difference between calcium supplementation and a placebo for the experimental data provided in the MS Excel file CalciumBloodPressureData.xls, which may be downloaded from http://pages.pomona.edu/~ajr04747. Describe the procedure that you followed in R to do the simulations and how you estimated the p value. Solution: Looking at the data we see that the average decrease is systolic blood pressure for the Calcium group was 5, while that for the placebo group was about 0.64 (so, on average, the systolic blood pressure for subjects in the placebo group actually increased). This suggests that Calcium supplementation might have some effect on lowering blood pressure. To see whether this difference in the average decrease in systolic blood pressure is statistically significant, we use randomization to test the the null hypothesis: H o : There is no difference between the two treatments. The test statistic in this case is the mean decrease in the systolic blood pressure in a random sample of size 10 picked from the dec column in the data. The p-value is the the probability that the mean of randomly select sample is 5 or above. Using R to perform 10, 000 repetitions of the sampling we obtain an estimate for the p value to be about 0.0522. At this point, since our approximation to the p value is close to the threshold of 5%, we could reject the null hypothesis and conclude that the experiment s result provide statistically significant evidence to conclude that the calcium supplementation reduces blood pressure. The answer to this question will depend on the results of the simulation. If the approximate p value turns out to be around 0.054 or higher, we might be led to conclude that the experimental findings support the claim that calcium supplementation reduces blood pressure; however, the evidence falls short of the traditional 5% or 1% thresholds. Solution:[Alternate Solution] There are several ways to approach the data. For instance, we might decide to focus on whether the treatment actually decreased blood

Math 58. Rumbos Fall 2008 2 pressure or didn t. In this case, the test statistic would be the proportion of subjects in the calcium group that experienced a decrease in blood pressure: 6 out of 10 subjects in the calcium group, as opposed to 3 out of 11 in the placebo group. Is the difference in proportions statistically significant? Performing an analysis like the one we did in Activity #2 (Comparing two treatments), we get a p value given by the hypergeometric distribution. In this case, the p value is the probability of picking 6 black cards, or more, at random from a deck of 21 cards containing black cards and 12 red cards. Using the dhyper() function in R and the code pval <- 0 for (i in 6:10) pval <- pval + dhyper(i,,12,10) we obtain the p value of 0.1420576, or about 14.2%. Thus, in this case we clearly conclude that the evidence provided by the experiment is not statistically significant. 2. (Spam Topics 1 ) A majority of e-mail messages are now spam. The distribution of topics, according to an article by Robyn Greenspan found on the internet at http://www.clickz.com/showpage.html?page=325851, is given in the following table. Topic Adult Financial Health Leisure Products Scams Probability 0.145 0.162 0.073 0.078 0.210 0.142 Choose a spam e-mail message at random. (a) What is the probability that the selected e-mail does not deal with any of the topics listed in the table? Solution: Assume that each piece of spam falls into exactly one of the given categories. The given probabilities have sum 0.81. Thus P (other topic) = 1 0.81 = 0.1 or 1%. 1 Adapted from Exercise 4.26 in Moore, McCabe abd Graig, Introduction to the Practice of Statistics, Sixth Edition, p. 256

Math 58. Rumbos Fall 2008 3 (b) What is the probability that the randomly chosen spam e-mail offers adult content or is a scam? Solution: Again, assume that each piece of spam falls into exactly one of the categories. Then, P (adult or scam) = P (adult) + P (scam) = 0.287. 3. (PINs 2 ) Personal identification numbers (PINs) for automatic teller machines usually consist of four digits. Suppose you notice that most of your pins have the digit 1 in them. You wonder if the issuers of PINs use lots of ones to make the numbers easier to remember. Assume that the choice of digits for a 4 digit PIN is done randomly, so that all digits have the same likelihood of being chosen. (a) How many possible PINs are there? Answer: There are 10 4 or 10, 000 PINs. (b) What is the probability that a PIN assigned at random has at least one 1 in it? Solution: P (at least a 1) = 1 P (no 1 s). Since we are assuming independence, P (no 1 s) = 10 10 10 It then follows that P (at least a 1) = 0.343. 10 = 0.6561. 4. (Nonstandard dice 3 ) Assume you have two balanced, six sided dice. One is a standard die, with faces having 1, 2, 3, 4, 5, and 6 spots. The other die has three faces with no spots and three faces with 6 spots. (a) Describe the sample space for the experiment consisting of tossing the two dice simultaneously. 2 Adapted from Exercise 4.33 in Moore, McCabe abd Graig, Introduction to the Practice of Statistics, Sixth Edition, p. 257 3 Adapted from Exercise 4.57 in Moore, McCabe abd Graig, Introduction to the Practice of Statistics, Sixth Edition, p. 268

Math 58. Rumbos Fall 2008 4 Solution: The sample space consists of the pairs (0, 1) (0, 2) (0, 3) (0, 4) (0, 5) (0, 6) (6, 1) (6, 2) (6, 3) (6, 4) (6, 5) (6, 6) where the first number in the pair indicates the number of spots in the nonstandard die. (b) Let X denote the sum of the spots on the up faces of the two dice after they are rolled. Give the probability distribution of X. Solution: Possible values for X are 1, 2,..., 12. Assuming that the dice are balanced, elements in the sample space are equally likely. Hence P (X = k) = 1 12 for k 1, 2,..., 12 and 0 otherwise. 5. (Foreign born residents of California 4 ) The Census Bureau reports that 27% of California residents are foreign born. Suppose that you choose three Californians at random so that each has probability p = 0.27 of being foreign born, and the choice of each individual is independent from that of any other in the group. (a) List the elements of the sample space using the letter F to denote foreign born and D to denote domestic birth. Solution: FFF FFD FDF FDD DFF DFD DDF DDD Sample Space (1) (b) Define a random variable, W, to be the number of foreign born people in the group of three that are chosen. What are the possible values of W? 4 Adapted from Exercise 4.5 in Moore, McCabe abd Graig, Introduction to the Practice of Statistics, Sixth Edition, pp. 268, 26

Math 58. Rumbos Fall 2008 5 Answer: Possible values for W are 0, 1, 2 or 3. (c) Give the probability distribution of W Solution: Using the given fact that P (F) = 0.27, we get that P (D) = 1 0.27 = 0.73. We can then use to we compute the probability for each element in the sample space. The results are shown below Outcome Probability FFF 0.01683 FFD 0.053217 FDF 0.053217 FDD 0.143883 DFF 0.053217 DFD 0.143883 DDF 0.143883 DDD 0.38017 The event (W = 0) consists of the single outcome DDD. Thus, P (W = 0) = 0.38017. On the other hand, the event (W = 1) consists of the outcomes FDD, DFD and DDF, each of which has probability 0.143883. It then follows that P (W = 1) = 3(0.143883) = 0.43164. Proceeding in this fashion we obtain the probability distribution for W to be 0.38017 if k = 0; 0.43164 if k = 1; P (W = k) = 0.15651 if k = 2; 0.01683 if k = 3.