Agenda 1.Informationer 2.Opsamling fra sidst a)Spørgeskemaer b)Standardafvigelser 3.Sandsynlighedsregning a)Definitioner b)Regneregler 4.Sandsynlighedsfordeling.

Slides:



Advertisements
Similar presentations
6. Statistical Inference: Example: Anorexia study Weight measured before and after period of treatment y i = weight at end – weight at beginning For n=17.
Advertisements

Hypothesis Tests: Two Independent Samples
Agenda Informationer –Uformel evaluering –Status på lektionsplan –Projekt 1 Opsamling fra sidst –Centrumskøn –Variation –Andre begreber Sandsynlighedsregning.
Agenda Informationer –Uformel evaluering –2 spørgeskemaer + eval. Opsamling fra sidst –Variabel – def. og typer –Fordeling (distribution) –Centrumskøn.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 16 Random Variables.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 13, Slide 1 Chapter 13 From Randomness to Probability.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Chapter 4 Probability and Probability Distributions
From Randomness to Probability
Probability. Probability Definitions and Relationships Sample space: All the possible outcomes that can occur. Simple event: one outcome in the sample.
Chapter 4: Probability (Cont.) In this handout: Venn diagrams Event relations Laws of probability Conditional probability Independence of events.
Agresti/Franklin Statistics, 1 of 87 Chapter 5 Probability in Our Daily Lives Learn …. About probability – the way we quantify uncertainty How to measure.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Special Topics. Definitions Random (not haphazard): A phenomenon or trial is said to be random if individual outcomes are uncertain but the long-term.
PROBABILITY DISTRIBUTIONS
Stat 1510: Introducing Probability. Agenda 2  The Idea of Probability  Probability Models  Probability Rules  Finite and Discrete Probability Models.
Agresti/Franklin Statistics, 1 of 87 Chapter 5 Probability in Our Daily Lives Learn …. About probability – the way we quantify uncertainty How to measure.
Statistics 303 Chapter 4 and 1.3 Probability. The probability of an outcome is the proportion of times the outcome would occur if we repeated the procedure.
1 We should appreciate, cherish and cultivate blessings.
Chapter 6: Probability Distributions
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 13, Slide 1 Chapter 13 From Randomness to Probability.
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
Probability Distributions - Discrete Random Variables Outcomes and Events.
Random Variables Chapter 16.
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted by.
Probability is a measure of the likelihood of a random phenomenon or chance behavior. Probability describes the long-term proportion with which a certain.
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
Essential Statistics Chapter 91 Introducing Probability.
CHAPTER 10 Introducing Probability BPS - 5TH ED.CHAPTER 10 1.
Chapter 10 Introducing Probability BPS - 5th Ed. Chapter 101.
From Randomness to Probability Chapter 14. Dealing with Random Phenomena A random phenomenon is a situation in which we know what outcomes could happen,
PROBABILITY IN OUR DAILY LIVES
Probability You’ll probably like it!. Probability Definitions Probability assignment Complement, union, intersection of events Conditional probability.
POSC 202A: Lecture 4 Probability. We begin with the basics of probability and then move on to expected value. Understanding probability is important because.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
QR 32 Section #6 November 03, 2008 TA: Victoria Liublinska
BPS - 3rd Ed. Chapter 91 Introducing Probability.
STA 2023 Module 5 Discrete Random Variables. Rev.F082 Learning Objectives Upon completing this module, you should be able to: 1.Determine the probability.
Lecture 7 Dustin Lueker. 2STA 291 Fall 2009 Lecture 7.
AP STATISTICS Section 7.1 Random Variables. Objective: To be able to recognize discrete and continuous random variables and calculate probabilities using.
Lecture 6 Dustin Lueker.  Standardized measure of variation ◦ Idea  A standard deviation of 10 may indicate great variability or small variability,
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Chapter 14 From Randomness to Probability. Dealing with Random Phenomena A random phenomenon: if we know what outcomes could happen, but not which particular.
1 Chapter 10 Probability. Chapter 102 Idea of Probability u Probability is the science of chance behavior u Chance behavior is unpredictable in the short.
Chapter 8: Probability: The Mathematics of Chance Probability Models and Rules 1 Probability Theory  The mathematical description of randomness.  Companies.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Chapter 5 Probability in our Daily Lives Section 5.1: How can Probability Quantify Randomness?
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 5 Probability in Our Daily Lives Section 5.1 How Probability Quantifies Randomness.
Probability Models Section 6.2. The Language of Probability What is random? What is random? Empirical means that it is based on observation rather than.
AP Statistics From Randomness to Probability Chapter 14.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 6 Probability Distributions Section 6.1 Summarizing Possible Outcomes and Their Probabilities.
Discrete and Continuous Random Variables Section 7.1.
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
Probability Distributions  A variable (A, B, x, y, etc.) can take any of a specified set of values.  When the value of a variable is the outcome of a.
Probability Distributions
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
CHAPTER 2 RANDOM VARIABLES.
Random Variables.
PROBABILITY AND PROBABILITY RULES
Random Variable.
Chapter 16 Random Variables.
Random Variable.
Honors Statistics From Randomness to Probability
AP Statistics Chapter 16 Notes.
Essential Statistics Introducing Probability
Chapter 16 Random Variables Copyright © 2010 Pearson Education, Inc.
6.2 Probability Models.
Presentation transcript:

Agenda 1.Informationer 2.Opsamling fra sidst a)Spørgeskemaer b)Standardafvigelser 3.Sandsynlighedsregning a)Definitioner b)Regneregler 4.Sandsynlighedsfordeling 5.SPSS 6.Dagens øvelser

Standard Deviation (standardafvigelsen) Gives a measure of variation by summarizing the deviations of each observation from the mean and calculating an adjusted average of these deviations. Site Obs SumnGns.Std.afv. A ,0 B ,0 C ,0

B. Learning Objectives 1.Sample Space (Udfaldsrum) for a Trail (forsøg) 2.Event (Hændelse). A, B, C,... 3.Probabilities for a sample space 4.Probability of an event 5.Basic rules for finding probabilities about a pair of events 6.Probability of the union of two events 7.Probability of the intersection of two events

Learning Objective 1: Sample Space (udfaldsrum) for a Trail (forsøg) The sample space (udfaldsrummet) is the set of all possible outcomes. Ex. Udfaldsrummet for en test bestående af 3 spørgsmål, som kan besvares korrekt, C (correct), eller forkert, I, (incorrect) fremgår af figuren.

Learning Objective 2: Event (hændelse) An event (hændelse) is a subset of the sample space An event corresponds to a particular outcome or a group of possible outcomes. Example: –Event A = student answers all 3 questions correctly = (CCC) –Event B = student passes (at least 2 correct) = (CCI, CIC, ICC, CCC)

Learning Objective 3: Probabilities for a sample space Each outcome, f.eks. CCC, in a sample space has a probability The probability of each individual outcome is between 0 and 1. 0 ≤ P ≤ 1 The total (the sum) of all the individual probabilities equals 1.

Learning Objective 4: Probability of an Event The Probability of an event A is denoted by P(A). The Probability is obtained by adding the probabilities of the individual outcomes in the event. When all the possible outcomes are equally likely:

Learning Objective 4: Eksempel: Forespørgsler på en hjemmeside? 1.Oplist 2 hændelser i ovenstående udfaldsrum. 2.Hvad er ssh. for at en tilfældigt valgt person... a)har kontaktet en hjemmeside med sin mobiltelefon? b)har besøgt en.ORG hjemmeside ? 3.Hvilken domænetype er der størst ssh. for at en mobiltlf. bruger besøger? 4.Hvilken domænetype har størst ssh. for at blive besøgt af en mobiltlf. bruger? Dom æ ne MobilPCTotal.DK EDU COM ORG Total

Learning Objective 5: Basic rules for finding probabilities about a pair of events Some events are expressed as the outcomes (udfald) that 1.Are not in some other event (complement of the event) 2.Are in one event and in another event (intersection of two events) 3.Are in one event or in another event (union of two events)

Learning Objective 5: Complement of an event The complement of an event A consists of all outcomes in the sample space that are not in A. The probabilities of A and of A’ add to 1 P(A ’ ) = 1 – P(A)

Learning Objective 5: Intersection of two events (fællesmængde) The intersection of A and B consists of outcomes that are in both A and B.

Learning Objective 5: Union of two events (foreningsmængde) The union of A and B consists of outcomes that are in A or B or in both A and B.

Learning Objective 6: Probability of the Union of Two Events Addition Rule: For the union of two events, P(A or B) = P(A) + P(B) – P(A and B) If the events are disjoint, P(A and B) = 0, so P(A or B) = P(A) + P(B) + 0

Learning Objective 6: Example Event A = Mobil Event B =.ORG domæne Hvordan beregner vi P(A and B) til 0,001? Dom æ ne MobilPCTotal.DK EDU COM ORG Total

Learning Objective 7: Example Multiplication Rule: For the intersection of two independent events, A and B, P(A and B) = P(A) x P(B) A=correct. Probability of guessing correctly, P(A)=0,2. What is the probability that a student answers: a) 3 questions correctly? b) at least 2 questions correctly?

Learning Objective 7: Events Often Are Not Independent Don’t assume that events are independent unless you have given this assumption careful thought and it seems plausible. Ø jne ved terningkast M ø ntkast Plat Krone

Learning Objective 7: Events Often Are Not Independent Define the events A and B as follows: –A: {first question is answered correctly} –B: {second question is answered correctly} P(A) = P{(CC), (CI)} = = 0.63 P(B) = P{(CC), (IC)} = = 0.69 P(A and B) = P{(CC)} = 0.58 If A and B were independent, P(A and B) = P(A) x P(B) = 0.63 x 0.69 = 0.43 Thus, in this case, A and B are not independent!

C. Learning Objectives 1.Conditional probability 2.Multiplication rule for finding P(A and B) 3.Independent events defined using conditional probability

Learning Objective 1: Conditional Probability For events A and B, the conditional probability of event A, given that event B has occurred, is: P(A|B) is read as “the probability of event A, given event B.” The vertical slash represents the word “given”. Of the times that B occurs, P(A|B) is the proportion of times that A also occurs

Learning Objective 6: Eksempel: 1) Omregning fra antal til ssh. Dom æ ne MobilPCTotal.DK EDU COM ORG Total Dom æ ne MobilPCTotal.DK0,00110,17470,1758.EDU0,00090,38190,3828.COM0,00090,30710,3080.ORG0,00100,13240,1334 Total0,00390,99611,0000

Learning Objective 1: Example 1 What was the probability of a cell phone visit, given that the site is.ORG domain? –Event A: Cell phone is used –Event B: Site is a.ORG domain Dom æ ne MobilPCTotal.DK0,00110,17470,1758.EDU0,00090,38190,3828.COM0,00090,30710,3080.ORG0,00100,13240,1334 Total0,00390,99611,0000

Learning Objective 1: Exercise What is the probability of a cell phone visit given that the site is a.DK domain? A = Cell phone is used B = Site is a.DK P(A and B) = P(B) = P(A|B) = Dom æ ne MobilPCTotal.DK0,00110,17470,1758.EDU0,00090,38190,3828.COM0,00090,30710,3080.ORG0,00100,13240,1334 Total0,00390,99611,0000

Learning Objective 3: Checking for Independence Two events A and B are independent if the probability that one occurs is not affected by whether or not the other event occurs. To determine whether events A and B are independent: –Is P(A and B) = P(A) x P(B)? –Is P(A|B) = P(A)? –Is P(B|A) = P(B)? If any of these is true, the others are also true and the events A and B are independent.

Learning Objectives 1.Probability distributions for discrete random variables 2.Mean of a probability distribution 3.Summarizing the spread of a probability distribution

Learning Objective 1: Probability Distribution A random variable is a numerical measurement of the outcome of a random phenomenon. The probability distribution of a random variable specifies its possible values and their probabilities.

Learning Objective 1: Random Variable Use letters near the end of the alphabet, such as x, to symbolize –Variables –A particular value of the random variable Use a capital letter, such as X, to refer to the random variable itself. Example: Flip a coin three times –X=number of heads in the 3 flips; defines the random variable –x=2; represents a possible value of the random variable

Learning Objective 2: Probability Distribution of a Discrete Random Variable A discrete random variable X has separate values (such as 0,1,2,…) as its possible outcomes Its probability distribution assigns a probability P(x) to each possible value x: –For each x, the probability P(x) falls between 0 and 1 –The sum of the probabilities for all the possible x values equals 1

Learning Objective 2: Example What is the estimated probability of at least three home runs?

Learning Objective 3: The Mean of a Discrete Probability Distribution The mean of a probability distribution for a discrete random variable is where the sum is taken over all possible values of x. The mean of a probability distribution is denoted by the parameter, µ. The mean is a weighted average; values of x that are more likely receive greater weight P(x)

Learning Objective 3: Example Find the mean of this probability distribution. The mean: = 0(0.23) + 1(0.38) + 2(0.22) + 3(0.13) + 4(0.03) + 5(0.01) = 1.38

Learning Objective 4: The Standard Deviation of a Probability Distribution The standard deviation of a probability distribution, denoted by the parameter, σ, measures its spread. –Larger values of σ correspond to greater spread. –Roughly, σ describes how far the random variable falls, on the average, from the mean of its distribution