Top Banner
Lecture 1 Experiments, Models and Probabilities
35

Lecture 1 Experiments, Models and Probabilities. Outline.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lecture 1 Experiments, Models and Probabilities. Outline.

Lecture 1

Experiments, Models and Probabilities

Page 2: Lecture 1 Experiments, Models and Probabilities. Outline.

Outline

• Definitions• Conditional Probability• Independent Trials– n choose k – multinomial coefficient

• Reliability• Matlab Experiment

Page 3: Lecture 1 Experiments, Models and Probabilities. Outline.

Definition

• An outcome of an experiment is any possible observation of that experiment.

• The sample space of an experiment is a set of all possible outcomes.

• An event is a set of outcomes of an experiment.

• An event space is a set of events.

Page 4: Lecture 1 Experiments, Models and Probabilities. Outline.

Telephone Usage

Question: Determine the probability of a long call.

Page 5: Lecture 1 Experiments, Models and Probabilities. Outline.

Conditional Probability

Page 6: Lecture 1 Experiments, Models and Probabilities. Outline.

Resistor Variability (1)

Page 7: Lecture 1 Experiments, Models and Probabilities. Outline.

Resistor Variability(2)

Page 8: Lecture 1 Experiments, Models and Probabilities. Outline.

Traffic Lights

Page 9: Lecture 1 Experiments, Models and Probabilities. Outline.

Independent Trials:n choose k

Page 10: Lecture 1 Experiments, Models and Probabilities. Outline.

Permutations

• Shuffle the deck and choose three cards in order. How many outcomes are there?– 52 x 51 x 50

Page 11: Lecture 1 Experiments, Models and Probabilities. Outline.

Derivation

Assumptions: Four objects A, B, C, and D. Experiment: Choose two objects. How many possible outcomes? =12. Alternative Reasoning: If the order in which objects are drawn is not important (i.e. {A,B}={B,A}), then there are =6 combinations (i.e. {AB,AC,AD,BC,BD,CD}). Each combination has two permutations (i.e. {AB} is distinct from {BA}, if order matters) So 2!=Let n→4, k →2, we have Therefore,

Page 12: Lecture 1 Experiments, Models and Probabilities. Outline.

Choose k objects out of n

Page 13: Lecture 1 Experiments, Models and Probabilities. Outline.

Resistor Variability(2)

Page 14: Lecture 1 Experiments, Models and Probabilities. Outline.

Transmission of Information

Page 15: Lecture 1 Experiments, Models and Probabilities. Outline.

Transmission of Data Packets

Page 16: Lecture 1 Experiments, Models and Probabilities. Outline.

Independent Trials:

Page 17: Lecture 1 Experiments, Models and Probabilities. Outline.

Definitions

• For n trials of a subexperiment with sample space S={s0, ,,,sm-1}, we want to find the number observations sequences in which s0 appears n0 times, s1 appears n1 times, and so on.

Page 18: Lecture 1 Experiments, Models and Probabilities. Outline.

Chip Fabrication

How many elements are in the entire set of possible sequences?

n0=2n1=2n2=3n3=3

Page 19: Lecture 1 Experiments, Models and Probabilities. Outline.

Derivation

• Start with n empty slots• slots for • slots for

Page 20: Lecture 1 Experiments, Models and Probabilities. Outline.

Multinomial Coefficient

Page 21: Lecture 1 Experiments, Models and Probabilities. Outline.

Example

Page 22: Lecture 1 Experiments, Models and Probabilities. Outline.

Chip Fabrication (3)

Page 23: Lecture 1 Experiments, Models and Probabilities. Outline.

Reliability

Page 24: Lecture 1 Experiments, Models and Probabilities. Outline.

Redundant Parts

Page 25: Lecture 1 Experiments, Models and Probabilities. Outline.

Matlab

Page 26: Lecture 1 Experiments, Models and Probabilities. Outline.

factorial(n)

Page 27: Lecture 1 Experiments, Models and Probabilities. Outline.

nchoosek(n,k)

(𝑛𝑘)= 𝑛!𝑘! (𝑛−𝑘 ) !

(52)= 5 !2! (5−2 )!

=10

Page 28: Lecture 1 Experiments, Models and Probabilities. Outline.

Flip a Fair Coin 4 Times

Page 29: Lecture 1 Experiments, Models and Probabilities. Outline.
Page 30: Lecture 1 Experiments, Models and Probabilities. Outline.

ceil()

Page 31: Lecture 1 Experiments, Models and Probabilities. Outline.

Execution

Page 32: Lecture 1 Experiments, Models and Probabilities. Outline.

Plot the histogram

Page 33: Lecture 1 Experiments, Models and Probabilities. Outline.

Packets

Page 34: Lecture 1 Experiments, Models and Probabilities. Outline.

Matlab Code

Page 35: Lecture 1 Experiments, Models and Probabilities. Outline.

# of packets in simulation

n=100 n=10000 n=100000