You are on page 1of 29

MTH263 ProbabilityandRandomVariables

Lecture1 Dr.Sobia Baig ElectricalEngineeringDepartment COMSATSInstituteofInformationTechnology,Lahore

Contents
Probability and Random Variablesbrief ProbabilityandRandomVariables brief introduction/motivation Mathematical Models as tools in Analysis and MathematicalModelsastoolsinAnalysisand Design
D t DeterministicModels i i ti M d l ProbabilityModels

Examples

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

ATypicalCommunicationSystem A Typical Communication System

Probabilisticmethodsinmakingdecisions / g aboutthetransmitted/receivedmessage

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

DigitalCommunicationwith ProbabilityofError b bl f

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

Probability/UncertaintyElementin Systems
Wirelesscommunicationnetworksprovidevoice e ess co u cat o et o s p o de o ce anddatacommunicationstomobileusersin severeinterferenceenvironments. Thevastmajorityofmediasignals,voice,audio, images,andvideoareprocesseddigitally. Thesystemsthedesignersbuildare unprecedentedinscaleandthechaotic environmentsinwhichtheymustoperateare environments in which they must operate are untrodden terrritory. So there is Uncertainty Sothereis Uncertainty
ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig 5

ProbabilityModels Probability Models


Probability models are one of the tools that Probabilitymodelsareoneofthetoolsthat enablethedesignertomakesenseoutofthe chaosandtosuccessfullybuildsystemsthat chaos and to successfully build systems that areefficient,reliable,andcosteffective

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

MATHEMATICALMODELSASTOOLSINANALYSIS ANDDESIGN AND DESIGN


Experiments:Costlywayoftestingadesignorsolvea problem. Model:Approximaterepresentationofaphysicalsituation. Useful Model: Able to explain all relevant aspects of a given UsefulModel:Abletoexplainallrelevantaspectsofagiven phenomenon. MathematicalModels:Ifobservationalphenomenonhas measurablepropertiesthenamathematicalmodel measurable properties then a mathematical model consistingofasetofassumptionsaboutthesystemis employed Conditions under which an experiment is performed and a Conditionsunderwhichanexperimentisperformedanda modelisassumedareverycritical.Changetheassumptions thenagoodmodelcanbeagreatfailure.

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

ComputerSimulations&Deterministic Models d l
ComputerSimulationModels:Theymimicor p y simulatethedynamicsofasystem DeterministicModels:Labandtextbookcases, conditionsdetermineoutcome conditions determine outcome 1.CircuitTheory 2 Ohms Law 2.Ohm sLaw 3.KirchoffsLaws 4 Transforms: FFT; Laplace Transforms 4.Transforms:FFT;LaplaceTransforms 5.Convolution:Input/outputbehaviorofsystems withwelldefinedcoefficients
ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig 9

ProbabilityModels Probability Models


Probabilistic (Stochastic Random) Models: Probabilistic(Stochastic,Random)Models: involvephenomenathatexhibitunpredictable variationandrandomness. variation and randomness
Ex:Urnwiththreeballs;(0,1,2 h h b ll ( marked) Outcome:Anumberfromtheset { , , } {0,1,2} SampleSpace:Allpossible outcomesofanexperiment:S= {0,1,2}

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

10

StatisticalRegularity Statistical Regularity


Relative Frequency: RelativeFrequency:

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

11

StatisticalRegularity Statistical Regularity

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

12

StatisticalRegularity Statistical Regularity

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

13

PropertiesofRelativeFrequency Properties of Relative Frequency


Suppose a random experiment has K possible SupposearandomexperimenthasKpossible outcomes:S={1,2,,K}.Theninntrialswe have have

Ex:Considerthe3ballurnexperiment A:even={0,2}then,

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

14

Disjoint (mutually exclusive) events: If A or B Disjoint(mutuallyexclusive)events:IfAorB canoccurbutnotboth,then Relativefrequencyoftwodisjointeventsis thesumoftheirindividualrelativefrequency. h f h i i di id l l i f

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

15

AxiomsofProbability Axioms of Probability


Kolmogorovs axiomstoformaTheoryofProbability: Assumptions: 1.Randomexperimenthasbeendefinedandthesample spaceShasbeenidentified. 2.AclassofsubsetsofShasbeenspecified. 3.EacheventAhasbeenassignedanumberP(A)suchthat,
1 0 P(A) 1 1.0P(A)1 2.P(S)=1 3.IfAandBaremutuallyexclusiveeventsthen
P(A or B) = P(A) + P(B) P(AorB)=P(A)+P(B)

Kolmogorovs axiomsaresufficienttobuildaconsistent TheoryofProbability. Theory of Probability


ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig 16

Example
Example: Packet Voice Communication Example:PacketVoiceCommunication systemEfficiency Due to silences voice communication is very Duetosilencesvoicecommunicationisvery inefficientondedicatedlines.Itisobserved thatonly1/3ofthetimeactualspeechgoes through.Howtoincreasethisratebyusing prob.approaches??? Solution:Errorvs ratetradeoffindigital information(BCS)transmission/storage
ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig 17

PacketVoiceCommunicationsystem Efficiency(2) ff ( )

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

18

PacketVoiceCommunicationsystem Efficiency(3) ff ( )
Aistheoutcomeofarandomexperiment,determiningwhich p , g packetscontainactivespeech M<48packetsaretransmittedevery10ms IfAM,thenallpacketsareactive IfA>M,thenAMactivepacketsarediscardedrandomly

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

19

PacketVoiceCommunicationsystem Efficiency(4) ff ( )
E[A]=48*1/3 E[A]=48 1/3 E[A]=16

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

20

Example

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

21

Example:SignalEnhancementUsing Filters l
Given a signal x(t) corrupted with noise and Givenasignalx(t) corruptedwithnoiseand hasaSignaltoNoiseRatiovalueSNR.Ifyou filterthisnoisysignalwithaproperlydesigned filter this noisy signal with a properly designed adaptivefiltertosuppressnoise,weobtainan enhancedsignal,(smoothedbythefilter.) enhanced signal (smoothed by the filter )

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

22

Example:SignalEnhancementUsing Filters l

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

23

ResourceSharing Resource Sharing


Example: Multi User Systems with Queues: Example:MultiUserSystemswithQueues: Resourcesharing

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

24

MultiUserSystemswithQueues: Resourcesharing h

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

25

SystemReliability:Cascadevs.Parallel Systems
Issues: Need of a clock vs the system delay or Issues:Needofaclockvs.thesystemdelayor throughputrate.

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

26

Problem

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

27

ReadingAssignment Reading Assignment


Text Book Chapter 1 pages 17 34 TextBook,Chapter1,pages17 34

ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig

28

Summary
MathematicalModels
Relatesystemparametersandvariables Allowsystemdesignerstopredictsystemperformancebyusing equations Experimentation may be too costly Experimentationmaybetoocostly Experimentationmaynotbefeasible

Computersimulationmodelspredictsystemperformance Deterministic models give output of an experiment with an exact Deterministicmodelsgiveoutputofanexperimentwithanexact outcome Probabilitymodelsdetermineprobabilitiesofthepossible outcomes Probabilitiesandaveragesforarandomexperimentcanbefound experimentallybycomputingrelativefrequencies andsample averagesinalargenumberoftrialsofexperiment
ProbabilityandRandomVariables,Lecture1,byDr.SobiaBaig 29

You might also like