Download presentation

Presentation is loading. Please wait.

Published byAngelo Leakey Modified over 4 years ago

1
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

2
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. 1 2 3 SumnGns.Std.afv. A55515350,0 B 45615351,0 C 35715352,0

3
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

4
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.

5
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)

6
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.

7
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:

8
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.DK9014.010.EDU7130.629.COM6924.631.ORG8010.620 Total

9
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)

10
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)

11
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.

12
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.

13
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

14
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.DK9014.01014.100.EDU7130.62930.700.COM6924.63124.700.ORG8010.62010.700 Total31079.89080.200

15
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?

16
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 1-23-45-6 Plat Krone

17
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.58 + 0.05 = 0.63 P(B) = P{(CC), (IC)} = 0.58 + 0.11 = 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!

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

19
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

20
Learning Objective 6: Eksempel: 1) Omregning fra antal til ssh. Dom æ ne MobilPCTotal.DK9014.01014.100.EDU7130.62930.700.COM6924.63124.700.ORG8010.62010.700 Total31079.89080.200 Dom æ ne MobilPCTotal.DK0,00110,17470,1758.EDU0,00090,38190,3828.COM0,00090,30710,3080.ORG0,00100,13240,1334 Total0,00390,99611,0000

21
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

22
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

23
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.

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

25
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.

26
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

27
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

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

29
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)

30
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

31
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

Similar presentations

OK

Copyright © 2009 Pearson Education, Inc. Chapter 16 Random Variables.

Copyright © 2009 Pearson Education, Inc. Chapter 16 Random Variables.

© 2018 SlidePlayer.com Inc.

All rights reserved.

To make this website work, we log user data and share it with processors. To use this website, you must agree to our Privacy Policy, including cookie policy.

Ads by Google

Ppt on online examination system project in java Ppt on joint forest management in india Download ppt on separation of substances Ppt on marie curie facts Ppt on first conditional game Ppt on good leadership Ppt on asian continental Ppt on indian treasury bills Ppt on mind reading technology Ppt on object oriented programming in java