examgrade% midterm ex:125 quiz:525 homework:110 final: 140

34
Exam Grade % a)Midterm Ex: 1 25 b)Quiz : 5 25 c)Homework : 1 10 d)Final : 1 40 MAT271E - Probability and Statistics Counting Techniques, Concept of Probability, Probability Function, Probability Density Function, Bernoulli, Binom, Poisson Disributions, Exponantial, Gamma, Normal Density Functions, Random Variables of Multiple Dimensions, The Concept of Estimator and Properties of Estimators, Maxsimum Likelihood Function, Test of Hypothesis, Ki-Square Test, t-test, F-test, Correlation Theory.

Upload: read

Post on 22-Jan-2016

18 views

Category:

Documents


0 download

DESCRIPTION

MAT271E - Probability and Statistics - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

Exam Grade %

a)Midterm Ex : 1 25

b)Quiz : 5 25

c)Homework : 1 10

d)Final : 1 40

MAT271E - Probability and StatisticsCounting Techniques, Concept of Probability, Probability Function, Probability Density Function, Bernoulli, Binom, Poisson Disributions, Exponantial, Gamma,

Normal Density Functions, Random Variables of Multiple Dimensions, The Concept of Estimator and Properties of Estimators, Maxsimum Likelihood

Function, Test of Hypothesis, Ki-Square Test, t-test, F-test, Correlation Theory.

Page 2: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

2

Terminology:– Trial: each time you repeat an experiment– Outcome: result of an experiment– Random experiment: one with random

outcomes (cannot be predicted exactly)– Relative frequency: how many times a specific

outcome occurs within the entire experiment.– Sample space: the set of all possible outcomes of

an experiment – Event: any subset of the sample space

Page 3: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

3

In a number of different situations, it is not easy to determine the outcomes of an event by counting them individually. Alternatively, counting techniques that involve

permutations And

combinations are helpful when calculating theoretical probabilities.

Page 4: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

4

Counting principle states that "If there are m ways to do one thing, and n ways to do another, and t ways to do a third thing, and so

on ..., then the number of ways of doing all those things at once is m x n x t x ...

Let's look at an actual example and try to make sense of this rule. How about a license plate ...

Page 5: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

5

How many different license plates are there altogether? Look at what's used to make a plate:

LETTER LETTER LETTER NUMBER NUMBER NUMBER

For each of the letters we have 26 choices. For each of the numbers we have 10 choices.

The Fundamental Counting Principle says that: The total number of ways to fill the six spaces on a licence

plate is  26 x 26 x 26 x 10 x 10 x 10

which equals 17,576,000

Page 6: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

6

How could the province increase the total number of possible license plates? One way would be to make the plates with four letters and two numbers. Then the total number of plates would be:

GZPA74

26 x 26 x 26 x 26 x 10 x 10 = 45,697,600

Page 7: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

7

Tree Diagrams

• When calculating probabilities, you need to know the total number of outcomes in the sample space

Tree diagrams are a graphical way of listing all the possible outcomes. The outcomes are listed in an orderly fashion, so listing all of the possible outcomes is easier than just trying to make sure that you have them all listed

Page 8: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

8

Use a TREE DIAGRAM to list the sample space of 2 coin flips.

YOU

On the first flip you could get…..

H

T

If you got HNow you could get…

If you got TNow you could get…

H

T

H

T

TSampleSpace

T

The final outcomes are obtained by following each branch to its conclusion: They are from top to bottom: HH HT TH TT

Page 9: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

9

Multiplication Rule of Counting

• The size of the sample space is the denominator of our probability

• So we don’t always need to know what each outcome is, just the number of outcomes.

Page 10: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

10

Multiplication Rule of Compound Events

If…

• X = total number of outcomes for event A

• Y = total number of outcomes for event B

• Then number of outcomes for A followed by B = x times y

Page 11: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

11

Multiplication Rule:Dress Mr. Arnold

• Mr. Reed had 3 EVENTS

pantsshoes shirts

How many outcomes are there for EACH EVENT?

2 2 3

2(2)(3) = 12 OUTFITS

Page 12: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

12

• Sometimes we are concerned with how many ways a group of objects can be arranged

•How many ways to arrange books on a shelfHow many ways to arrange books on a shelf

•How many ways a group of people can stand in lineHow many ways a group of people can stand in line

•How many ways to scramble a word’s lettersHow many ways to scramble a word’s letters

Page 13: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

13

If we have n distinct objects and we want to put them in some sort of ordered set (arrangement) we use permutations, denoted or and equal to

n nP ,n nP

! 1 2 3 ...2 1n n n n n

Page 14: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

14

• denoted with ! • Multiply all integers ≤ the number

• 0! = • 1! = • Calculate 6!

• What is 6! / 5!?

5!

5! = 5(4)(3)(2)(1) = 12011

6! = 6(5)(4)(3)(2)(1) = 720

Page 15: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

15

• denoted with ! • Multiply all integers ≤ the number

• 0! = • 1! = • Calculate 6!

• What is 6! / 5!?

5!

5(4)(3)(2)(1)

11

6(5)(4)(3)(2)(1) =6

Page 16: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

16

Harder things to countSuppose that we still have n objects in our set

but that some of them are indistinguishable from one another (an example of this would be the set of letters in the word “googol”).

Suppose that we are interested in using all of the letters for each arrangement but we want to know how many distinguishably different arrangements there can be.

Page 17: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

17

Here we want to use permutations again but we want to divide out those permutations which are not distinguishable from one another by virtue of their containing some of the repeated objects in different locations. Suppose there are p of one object, q of another, etc. Our calculation can be done as

!

! !

n

p q

Page 18: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

18

• You have

• You select

• This is the number of ways you could select and arrange in order:

Prn=

n!(n−r )!

Another common notation for a permutation is nPr

n objectsr objects

Page 19: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

19

• Sometimes, we are only concerned with selecting a group and not the order in which they are selected.

• A combination gives the number of ways to select a sample of r objects from a group of size n.

Page 20: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

20

• You have n objects

• You want a group of r object

• You DON’T CARE what order they are selected in

C rn=

n!r!(n−r )!

Combinations are also denoted nCr

Read “n choose r”

Page 21: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

21

• Order matters Permutation

• Order doesn’t matter Combination

Page 22: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

22

• Many things in everyday life, from stock price to lottery, are random phenomena for which the outcome is uncertain.

• The concept of probability provides us with the idea on how to measure the chances of possible outcomes.

• Probability enables us to quantify uncertainty, which is described in terms of mathematics

Page 23: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

23

• what is the chance that a given event will occur? For us, what is the chance that a child, or a family of children, will have a given phenotype?

• Probability is expressed in numbers between 0 and 1. Probability = 0 means the event never happens; probability = 1 means it always happens.

• The total probability of all possible event always sums to 1.

0⪯P⪯1

Page 24: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

24

• The probability of an event equals the number of times it happens divided by the number of opportunities.

• These numbers can be determined by experiment or by knowledge of the system.

The Number Of Ways Event A Can Occur Probability Of An Event P(A) = ---------------------- The total number Of Possible Outcomes

Page 25: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

25

Four people run in a marathon. In how many ways can first and second place finish?

Hasan, Ayşe, Ali, Veli

Hasan AyşeAliVeli

Ayşe HasanAli

VeliAli Hasan

AyşeVeli

Veli HasanAyşe

Ali

4.3=12 Outcomes

Event 1 occurs 4 waysEvent 2 occurs 3 ways

Page 26: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

26

Manipulating Numbers

“There are lies, damned lies, and statistics” -- Disraeli

Page 27: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

27

Anecdotal evidence is unreliable

Why does the phone always ring when you’re in the shower?

Page 28: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

28

Determining the difference between chance and real effects

Page 29: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

29

Data = Signal + Noise

Signal = What we’re trying to measure

Noise = Error in our measurement

If noise is random, then as the sample size increases, noise tends to cancel, leaving only signal.

Page 30: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

30

• Statistics is the area of science that deals with collection, organization, analysis, and interpretation of data.

• It also deals with methods and techniques that can be used to draw conclusions about the characteristics of a large number of data points--commonly called a population--

• By using a smaller subset of the entire data.

Page 31: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

31

For Example…• You work in a cell phone factory and are asked to

remove cell phones at random off of the assembly line and turn it on and off.

• Each time you remove a cell phone and turn it on and off, you are conducting a random experiment.

• Each time you pick up a phone is a trial and the result is called an outcome.

• If you check 200 phones, and you find 5 bad phones, then

• relative frequency of failure = 5/200 = 0.025

Page 32: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

32

Statistics in Engineering• Engineers apply physical

and chemical laws and mathematics to design, develop, test, and supervise various products and services.

• Engineers perform tests to learn how things behave under stress, and at what point they might fail.

Page 33: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

33

Statistics in Engineering

• As engineers perform experiments, they collect data that can be used to explain relationships better and to reveal information about the quality of products and services they provide.

Page 34: ExamGrade% Midterm Ex:125 Quiz:525 Homework:110 Final: 140

34