Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN...
-
Upload
priscilla-mclaughlin -
Category
Documents
-
view
214 -
download
0
Transcript of Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN...
![Page 1: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/1.jpg)
Psyc 235:Introduction to
Statistics
To get credit for attending this lecture:
SIGN THE SIGN-IN SHEET
http://www.psych.uiuc.edu/~jrfinley/p235/
![Page 2: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/2.jpg)
To-Do
• ALEKS: aim for 18 hours spent by the end of this week
• Jan 30th Target Date for Descriptive Statistics
• Watch videos:1. Picturing Distributions2. Describing Distributions3. Normal Distributions
![Page 3: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/3.jpg)
Quiz 1
• NOT GRADED• available starting 8am Thurs Jan
31st, through Friday• can do on ALEKS from home, etc• No access to any other learning or
reviewing materials until either they finish the quizzes or after Friday
• 3.5 hour time limit
![Page 4: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/4.jpg)
Review:(2 Steps Forward and 1 Step Back)
• Distribution For a given variable:
the possible numerical values & the number of times they occur in the data
Many ways to represent visually
![Page 5: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/5.jpg)
Summarizing Distributions
• Descriptive Measures of Data Measures of C_nt__l T__d__cy Measures of D__p_rs__n
![Page 6: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/6.jpg)
Central Tendency
• Mean, Median, Mode Mean vs Median & outliers
(Bill Gates example) skewed distributions
![Page 7: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/7.jpg)
Standard Deviation
• Conceptually: about how far, generally, each datum is
from the mean 2 formulas??
![Page 8: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/8.jpg)
Population vs Sample
• In Psychology: Population: hypothetical, unobservable
not just all humans who ARE, but all humans who COULD BE.
must estimate mean, standard deviation, from:
Sample is the only thing we ever have
![Page 9: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/9.jpg)
Descriptive -> Inferential?
• How can we make inferences about a population if we just have data from a sample?
• How can we evaluate how good our estimate is?
• “Do these sample data really reflect what’s going on in the population, or are they maybe just due to chance?”
![Page 10: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/10.jpg)
PROBABILITY
• The tool that will allow us to bridge the gap from descriptive to inferential
• we’ll start by using simple problems, in which probability can be calculated by merely COUNTING
![Page 11: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/11.jpg)
Flipping a Coin
• Say I flip a coin... OMG Heads!!!! Do you care? Why Not?
• Sample Space: (draw on board) collection of all possible outcomes for a given
phenomenon coin toss: {H,T}
mutually exclusive: either one happens, or the other
![Page 12: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/12.jpg)
Flipping a Coin
• Probability(Heads)?• So.... must the next one be Tails?• No!
Independent trials Random Phenomenon:
can’t predict individual outcome can predict pattern in the LONG RUN
• Probability: relative # times something happens in the long run
![Page 13: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/13.jpg)
2 Coin Flips
• OMG 2 Heads! impressed yet?
• Sample space (draw on board) Prob(2 Heads): 1/4 outcome: single observation
• OMG 2 of same! Prob(2 Heads OR 2 Tails): event: subset of the sample space made of 1
or more possible outcomes
![Page 14: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/14.jpg)
Larger Point
• OMG 30 Heads in a row! NOW maybe you’re finally interested...
• OMG drew 3 yellow cars! interesting? boring? can’t tell!
• Descriptive Stats: measuring & summarizing outcomes
• Inferential Stats: to understand some outcome, must consider it in context of all possible outcomes that could’ve occurred (sample space)
![Page 15: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/15.jpg)
Counting Rules
• Count up the possible outcomes that is: define the sample space
• 2 Main ways to do this: Permutations
when order matters
Combinations when order doesn’t matter
![Page 16: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/16.jpg)
Permutation:Ordered Arrangement
• Example used: Horse Race...• MUTANT HORSE RACE!
![Page 17: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/17.jpg)
Permutation:Ordered Arrangement
“HorseFace McBusterWorthy wins 1st place!!”
...in a one-horse race!
# Horses (n) # Winning Places (r) # Outcomes
1 13 13 3
![Page 18: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/18.jpg)
Permutation:Ordered Arrangement
• For n objects, when taking all of them (r=n), there are n! possible permutations.
• 3 horses (n) & 3 winning places (r) --> 3*2*1=6 possible outcomes
• For n objects taken r at a time: n!(n-r)!
• 7 horses & 3 winning places?...
![Page 19: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/19.jpg)
Combination:Unordered Arrangement
• Example used: Combo Plate!
QuickTime™ and a decompressor
are needed to see this picture.
![Page 20: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/20.jpg)
Combination:Unordered Arrangement
• Mexican restaurant’s menu: taco, burrito, enchilada
• How many different 3-item combos can you get?
# Menu Items (n) Combo Size (r) # Outcomes
3 3
![Page 21: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/21.jpg)
Combination:Unordered Arrangement
• Mexican restaurant’s menu: taco, burrito, enchilada tamale, quesadilla, taquito, chimichanga
• How many different 3-item combos can you get?
# Menu Items (n) Combo Size (r) # Outcomes
3 37 3
![Page 22: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/22.jpg)
Combination: Unordered Arrangement
• For n objects, when taking all of them (r=n), there is 1 combination
• For n objects taken r at a time: n!r!(n-r)!
![Page 23: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/23.jpg)
Multiplication Principle(a.k.a. Fundamental Counting
Principle)
• For 2 independent phenomenon, how many different ways are there for them to happen together? # possible joint outcomes?
• Simply multiply the # possible outcomes for the two individual phenomena
• Example: flip coin & roll die• 2*6=12
![Page 24: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/24.jpg)
Multiplication Principle(a.k.a. Fundamental Counting
Principle)
• Can be used with Permutations &/or Combinations
• Ex: Lunch at the Racetrack 7 horses racing 7 items on the cafe menu I see the results of the race (1st, 2nd,
3rd) and order a 3-item combo plate. How many different ways can this happen?
![Page 25: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/25.jpg)
Calculating Probabilities
• Counting rules (Permutation, Combination, Multiplication): Define sample space (# possible
outcomes)• Probability of a specific outcome:
1 sample space
• Probability of an event? event: subset of sample space made of 1
or more possible outcomes
![Page 26: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/26.jpg)
Calculating Probabilities
• Sample Space: 7 Micro Machines (3 yellow, 4 red)
• Outcome: draw the yellow corvette Probability = 1/7
• Event: draw any yellow car there are 3 outcomes that could satisfy this
event: yellow corvetter, yellow pickup, yellow taxi
Probability = 3/7
![Page 27: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/27.jpg)
Probability of Draws w/ Replacement
• Replacement: resetting the sample space each time --> independent phenomena so use multiplication principle
• Ex: 3 draws with replacement Event: drawing a red car all 3 times Probability: 4/7 * 4/7 * 4/7 = 64/343 = 0.187 =18.7%
![Page 28: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/28.jpg)
Probability of Draws w/o Replacement
1. Use counting rules to define sample space
2. Use counting rules to figure out how many possible outcomes satisfy the event
3. divide #2 by #1.
![Page 29: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/29.jpg)
Probability of Draws w/o Replacement
• Ex: Drawing 3 cars w/o replacement Event: drawing 2 red & 1 yellow
(don’t care about order) --> use Combinations
Define Sample space: Count outcomes that satisfy event
treat red & yellow as independent use combinations, then multiplication
principle Divide
![Page 30: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/30.jpg)
Recap
• Today: Probability is the tool we’ll use to make
inferences about a population, from a sample
Counting rules: define sample space for simple phenomena
Intro to calculating probability• Next time:
Probability rules, more about events, Venn diagrams
![Page 31: Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET jrfinley/p235](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649ef05503460f94c00458/html5/thumbnails/31.jpg)
Remember
• Quiz 1 starting Thursday• Office hours Thursday• Lab• Put your ALEKS hours in!!