
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Introduction to Statistics; Subject: Statistics; University: University of California - Berkeley; Term: Unknown 1989;
Typology: Study notes
1 / 32
This page cannot be seen from the preview
Don't miss anything!

























Lecture 34:
โ I want to know if the political views of Berkeley students are related to their place of birth. How do I go about studying this?
โ I decide to do a chi-square test for independence โ Null hypothesis is that place of birth and political views are independent โ Alternative is that they're not independent
โ A scientist has developed a pill he thinks causes weight loss. He wants me to run a trial to see if the pill works. How should I set up such a trial?
One possible design (not necessarily the best): โ Get a group of 200 volunteers โ Randomly split them into a group that gets the treatment and a group that gets the placebo (also double-blind) โ Measure their change in weight after a fixed length of time (โafterโ โ โbeforeโ) How would we analyse the results?
โ Null hypothesis: average of all treatment numbers equals average of all control numbers โ Alternative: average of all treatment numbers is less than average of all control numbers
Let's say these are the observed changes after three months: โ Treatment group of 100: average change was -2.4 pounds, with an SD of 8 pounds โ Control group of 100: average change was -2.0 pounds, with an SD of 8 pounds
โ z -statistic = (-0.4 โ 0)/1.13 = -0. โ P -value = P(Z < -0.35) = 36% The difference between the performance of the treatment group and the control group is explainable by chance variation. We don't have evidence that the diet pill works. (That doesn't mean it doesn't work.)
โ I need to test a checkweight to see if it really weighs 1 kg. I have a scale that I know to be unbiased and to have normally distributed errors, following the Gauss model. I only have time to make ten measurements. How should I perform the test?
Aside: why SD+? โ When we're using the sample standard deviation to estimate the population/box standard deviation, as we do in most tests, it's better to use the SD+ rather than the SD. This only really matters for small samples. (Of course, if we knew the true box SD it would be even better to use that, but we usually don't.)
โ The ten measurements have a mean of 1.001 kg and an SD+ of 0.008 kg โ Expected weight under null = 1 kg โ SE of average of measurements = 0.008/sqrt(10) = 0.0025 kg
โ In the Mega Millions, one of 46 Megaballs numbered 1 to 46 is drawn at random from a rotating drum. You are hired to check that each ball is equally likely. How will you do this?
โ Since hundreds of millions of dollars are at stake, you decide to make 10000 draws with replacement โ Null hypothesis is that all numbers are equally likely โ Alternative is that they're not