Presentation is loading. Please wait.

Presentation is loading. Please wait.

APSTAT Section 3 Experimental Design. Chapter 11 Simulation.

Similar presentations


Presentation on theme: "APSTAT Section 3 Experimental Design. Chapter 11 Simulation."— Presentation transcript:

1 APSTAT Section 3 Experimental Design

2 Chapter 11 Simulation

3 HOW TO SET UP 1.Describe the experiment 2.Assumptions –Independence –Percentages 3.Randomization –Assign Digits (Table) –Explain TI83 procedure 4.Conduct Multiple Simulations 5.Conclusion (Estimate Probability)

4 Simulated Simulation Problem David Gamburd is a 70% Free Throw Shooter. One game he made only 4 out of 10 free throws and felt very sad. Is this a rare occurrence?

5 Describe Simulation David, being a 70% shooter would be expected to make 7 out of 10 free throws. In order to determine the experimental probability of his 4 for 10 performance, I will conduct a simulation with 20 repetitions.

6 Assumptions Each free throw is independent of the next free throw David has a 70% chance of making each attempt

7 Assign Digits Let the digits 0-6 be makes and 7-9 be misses

8 Conduct Simulations Use Line 104 and group in 10’s, tally how many of the simulations end up with 4 or fewer makes 104 52711 38889 93074 60227 40011 85848 48767 52573 105 95592 94007 69971 91481 60779 53791 17297 59335 106 68417 35013 15529 72765 85089 57067 50211 47487 107 82739 57890 20807 47511 81676 55300 94383 14893 108 60940 72024 17868 24943 61790 90656 87964 18883 1. BOX OUT EACH SIMULATION 2. IDENTIFY MAKES AND MISSES: Makes= leave blank Misses=

9 Conclusions In the simulation, only 2 of the 20 simulations resulted in a 4 of 10 performance or lower. Based on our simulation, we estimate that David would hit 4 or fewer free throws (out of 10) about 10% of the time.

10 Do same Simulation Using TI83 EXPLAIN Randomization –Using my TI83, I will use a random integer program to spit out 10 integers between 1 and 10. 1 through 7 will represent a “make” and 9 through 10 will represent a “miss” –I will then count the number of “makes” in each group of ten

11 Conduct Simulation Trial#makes 1 7 2 6 3 7 4 7 5 9 6 5 7 8 6 9 8 10 7 Trial#makes 11 8 12 5 13 6 14 4 15 7 16 8 17 6 18 5 19 7 20 7 Randint(1,10,10)

12 Chapter 12 Surveys/Samples

13 Sample Surveys Why a Sample? –Asking everyone in a population may be impossible or cost-prohibitive ie. Field Day T-Shirts –2004 Too many L and XL –Molly does survey of SR Girls sizes –I extend(ish) percentages to other classes –People are happier Idea is to get data that is representative of the larger group as a whole.

14 A Little Vocab Population –Whole group we want info on –In Field Day example, population is WPS high schoolers Sample –Part of the population whom we get the info from –In Field Day example, sample was 17 senior girls

15 Types O’ Samples Voluntary Response –People decide for themselves whether to participate or not –Radio opinion surveys –Not a good sampling option Convenience Sampling –Take sample of individuals easiest to reach. –Field Day T-shirts –Not a good sampling option

16 Are there any good sample designs out there? Yep! SIMPLE RANDOM SAMPLE (SRS) –Selecting individuals at random without replacement. –Every member in the population has an EQUAL chance of being selected –ie. Pick 5 names out of a hat

17 SRS HOW TO Assign all individuals in population a number from 1 to n (n=#in population) Use a random number generator or a table of random numbers to choose the desired # of individuals for your sample

18 Let’s Do One!!!! (CALC) Choose an SRS of 5 Priory APStat Students. #1 List all Students #2 Assign #’s #3 Use MATH> PRB> RndInt(1,14,5) Ted Whitney Alicia Steph Yoon-Young Lampert Mariana Sharuch Munger Sean Leah Chrissa Alexa Blaine 12345671234567 8 9 10 11 12 13 14

19 Let’s Do One!!!! (TABLE) Choose an SRS of 5 Priory APStat Students. #1 List all Students #2 Assign #’s #3 Use Tbl o’ Rnd Digits. Line 104 104 52711 38889 93074 60227 40011 85848 48767 52573 105 95592 94007 69971 91481 60779 53791 17297 59335 Ted Whitney Alicia Steph Yoon-Young Lampert Mariana Sharuch Munger Sean Leah Chrissa Alexa Blaine 12345671234567 8 9 10 11 12 13 14

20 Stratified Random Sample Do not call this an SRS!!!!!!!!!!!! Ex. I want a sample of 12 WPS High School Students but it may be important to have all 4 classes represented Strata – 4 Classes Separate entire Pop into strata and then do an SRS of 3 from each strata

21 More Vocab Non-Response – Members of Population are chosen, but can not be contacted (no phone, @ work…) Response Bias –Wording “agree or disagree, the taking of another’s life should never be condoned” –Appearance/Attitude of interviewer –Honesty of responders

22 Chapter 13 Designing Experiments

23 Experimental Design Observational study: –Checking out individuals and measuring variables of interest without actually imposing a treatment. Surveys are a type. Experiment: –DELIBERATELY imposing some form of treatment(s) on individuals and observing their responses.

24 Factors/Levels/Treatments Factor –Explanatory variable(s) in an experiment –Can have multiple levels Example: –Steroid Use - Cream and Clear tonguepillinhaler 25mg 50mg cream clear This gives us 6 total treatments The factor “cream” has 2 levels The factor “clear” has 3 levels

25 Comparative Experiment Treatment > Observation –4 th grade plant experiments Observe > Treatment > Observe –Rogaine!!!!! Problem #1 – PLACEBO EFFECT –Vitamin C Example –To Combat Placebo Effect, Use a CONTROL GROUP!

26 Completely Randomized Experiment Vitamin C Experiment: Random Allocation Compare Group2 Group1 Treatment2 Treatment1 IMPORTANT! You may not be dealing with an SRS, so do not state that you have one. Random allocation is not an SRS.

27 Completely Randomized Experiment Cream and Clear: Random Allocation Compare Group3 Group1 Group2 Group6 Group4 Group5 Treatment3 Treatment1 Treatment2 Treatment6 Treatment4 Treatment5

28 Double Blind Subjects don’t know which treatment People who administer treatment don’t know

29 Block Design Blocks help control lurking variables Blocking creates groups that are similar with respect to the blocking factor(s) Treatments assigned randomly in each block

30 Room Temperature vs. Calculus Exam Grade Temp Is Explanatory Variable 4 sections –2 @ 75 degrees, 2 @ 65 degrees If we find higher scores in 65 degree classes can we conclude that a lower temperature results in higher grades? What lurking variables???

31 Room Temperature vs. Calculus Exam Grade Say we control everything but teacher. Two Calc Teachers w/ two sections each….Block for teacher! Subjects Compare Teacher2 Teacher1 75 degree 65 degree Compare

32 Matched Pairs Type of Blocked design Two treatments Each block 2 similar units/individuals –Assigned randomly to treatments Example: Effect of a cancer fighting drug. Researchers are concerned that age may be a lurking variable

33 Matched Pairs SUBJECTAGE 1 25 2 27 3 32 4 35 5 36 6 37 7 43 8 46 9 56 10 60 Older people may be more prone to cancer with or without the treatment and if I did a random allocation, there is a chance I could have mostly older people in one group and mostly younger ones in the other So……Match up subjects with similar traits in terms of the variable I wish to block for. In this case, age. Randomly allocate treatments in each pair. Compare each pair. Compare the pairs! TREATMENT 1 TREATMENT 2

34 Matched Pairs – Another Way One Individual –Both Treatments –One after the other Order may matter –Randomize to determine which goes 1 st Example: –Hand Squeezing Strength Experiment

35 Hand Squeezing Strength Experiment Is your strong hand really stronger than your weak hand? Subject may be a better squeezers the 2 nd time Compare individual differences S-W Group2 Strong 2nd Group1 Strong 1st Weak Strong Weak Strong Compare individual differences S-W Compare Subjects Random allocation


Download ppt "APSTAT Section 3 Experimental Design. Chapter 11 Simulation."

Similar presentations


Ads by Google