UNIT 3 PART A Flashcards
How can you estimate the probability of an event occurring?
run a simulation. Find the percent of trials that you observed the event occur.
How many trials should you run to have an accurate simulation?
At least 20-30.
Is it always better to do a census or a sample?
It depends. generally, it is better to do a sample since a census is expensive to execute, and because popultaions are always changing it is hardly more accurate then a sample. But, For small populations, a census is fine.
To make a survey to tell of a restaurant is good, would you ask the people coming out of the restaurant?
People at the restaurant are probably there because they already like it. If you asked the question “Is this your first time dining here?” and if they say “yes” you survey them, that would be a better method.
What are humans bad at ?
Humans are bad at generating random numbers.
What are the 3 ways we used random numbers?
- To simulate the likelihood of an event occurring. (ch 11)
- To choose a sample that is representative of the population and avoid bias.(Ch 12)
- To assign subjects (experimental units) to treatments to evenly distribute variability and help reduce possible confounding variables.(Ch 13)
what is a simulation?
MIMICS REALITY.. In this class, using random numbers to show how random real world events may occur.
when does a trial of a simulation end?
Generally there are two cases:
- You want to know the probability of having x successes in n attempts (getting 3 smokers in a group of 5 students). Trials end when you get to n (get to 5 students). You record the number of smokers for each trial.
- You want to know how many attempts it takes to get f successes. Trials end when you get f successes. Record the number of attempts.
You want to simulate the likelihood of more than 4 psychology majors being on a full bus that seats 30. 1 in 9 students are psych majors.
use single digits on a random number table. Each digit represents a student on the bus. Ignore the zeros. Let 1 be a psych major, and 2 through 9 be other students. Trials end when you have reached 30 students. Count the number of psych majors (ones) in the trial. Record this. Do this 20 times. Find the percent of times there were 4 or more psych majors on the “bus.” If this occured in 5 trials.. then the likelihood is 5 in 20, or 25%
What is the “response variable” in a simulation?
If you are wondering “how many batteries do you have to check to to find 3 bad batteries?” the response variable is “average number of batteries you checked” in the trial. If you are wondering “how many failed septic systems can be expected on a street of 10 houses?” the response variable is “the average number of failed systems” in the trial.
How do you use a table of random digits for a simulation?
FIRST.. Make a key showing what the digits represent, whether you will use single, double or triple digits, and which, if any will be ignored (like repeats, or say “unique”)
SECOND.. Decide when a trial will end (after 12 events, or after 12 successes)
THIRD. Make sure to clearly label the successes and where the trials end on the table.
FOURTH: make sure you clearly say what you will be counting (number of tries to get n successes, or number of successes in n tries)
When would you use two digits instead of a single on a random number table?
When the percent is not a multiple of ten. Like “18% of dogs eat underwear”. You’ll have to assign 01-18, or 00-17 as undie eating dogs.
When can you use single digits for simulations?
When the percent is a multiple of ten. like “30% of teachers secretly twerk”, then you would assign 1-3 or 0-2 as twerking teachers.
What is random sampling?
When we use chance to select a sample. We use a a randomizer. In random sampling, each subject has equal chance of getting selected.
How can you simulate a coin flip with random number table?
Assign heads to odd numbers and tails to even numbers.
How can you simulate rolling 1 die with a random number table
use only the digits 1-6, ignore 0, 7, 8, 9
How can you simulate on your calculator?
RANDINT( lowest, highest, how many you want to grab)
What are some Sampling Method ?
SRS, stratified, clustered, systematic, multistage, convenience, voluntary