版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
3DiscreteRandomVariablesandProbabilityDistributions3.1RandomVariablesForagivensamplespaceSofsomeexperiment,arandomvariableisanyrulethatassociatesanumberwitheachoutcomeinS.DefinitionUserv
inplaceofrandomvariable.Randomvariablesaredenotedbyuppercaseletters,suchasXandY,xtorepresentsomeparticularvalueofthecorrespondingrandomvariable.Definition
Anyrandomvariablewhoseonlypossiblevaluesare0and1iscalledaBernoullirandomvariable.
wecandefineX=1whenatailisobservedandX=0whenaheadisobserved.Thedefinitionisarbitrarybutitmustbefixedbeforetheexperimentisstarted.WewilloftenwanttodefineandstudyseveraldifferentrandomvariablesfromthesamesamplespaceExample1Thereare5ballsinthebag,inwhich2whiteballsand3blackballs.Selectthreeballsonetimeatrandommanner.Solution:SupposeX={numberofselectedwhiteballs}Example2Rolltwodice,letXdenotedthesumoftwodiceshownumber.Solution:Example3Considertheexperimentoftossingacoinfivetimesandoneachtossobservingwhetherthecoinlandswithaheadortailonitsupwardface.TwoTypeOfRandomVariablesDefinition
Adiscreterandomvariableisanrvwhosepossiblevalueseitherconstituteafinitesetorelsecanbelistedinaninfinitesequenceinwhichthereisafirstelement,asecondelement,andsoon.Arandomvariableiscontinuousifitssetofpossiblevaluesconsistsofanentireintervalonthenumberline.
3.2ProbabilityDistributionsForDiscreteRandomVariablesDefinitionTheprobabilitydistributionorprobabilitymassfunction(Pmf)ofadiscretervisdefinedforeverynumberxbyP(x)=P(X=x)
WhenprobabilitiesareassignedtovariousoutcomesinS,theseinturndetermineprobabilitiesassociatedwiththevaluesofanyparticularrvX.theprobabilitydistributionofXsayshowthetotalprobabilityof1isdistributedamong(allocatedto)thevariouspossibleXvalues.Theconditions1P(x)0
2=1Xx1
x2
…pp1
p2
…Example1Thereare5ballsinthebag,inwhich2whiteballsand3blackballs.Selectthreeballsonetimeatrandommanner,determinetheprobabilitydistributefunctionofthenumberofselectedballsbeingwhiteSolution:supposex={numberofselectedwhiteballs}TheprobabilitydistributionfunctionX012p1/106/103/10Example2:thefrequencyfunction
isX-10123p0.16a/10a22a/100.3Determinetheparametera?Solution:duetopropertyofthefrequencyfunction
0.16+a/10+a2+2a/10+0.3=1(a+0.9)(a-0.6)=0a=0.6Example3Rolltwodice,letXdenotedthesumoftwodiceshownumber.DeterminetheprobabilitydistributionofX?Solution:
X23456789101112p1/362/363/364/365/366/365/364/363/362/361/36Example4Someoneusenkeystoopenadoor,butonlyonekeycanopenthedoor,sohetryonebyone.LetXdenotedtrytimestillthedoorbeopened.PleasewritetheprobabilitydistributionofXunderfollowcondition.a.Thekeysthatcouldnotopenthedoorwillputaway.b.Thekeysthatcouldnotopenthedoorwillnotbeputaway.Solution:
a.X123……..np1/n1/n1/n……..1/nb.Example5Thedefectiverateofautomaticproductlineisp.Whenadefectiveproductswasproduced,theautomaticproductlinemustbeadjusted.LetXdenotedthenumberofgoodproductsduringtwotimesadjustment.PleasedeterminetheprobabilitydistributionofX.Solution:Example6Considertheexperimentoftossingacoinfivetimesandoneachtossobservingwhetherthecoinlandswithaheadortailonitsupwardface.Discussthisexperimentwithfourpropertiessatisfied.AParameterOfAProbabilityDistributionDefinition
SupposeP(x)dependsonaquantitythatcanbeassignedanyoneofanumberofpossiblevalues,witheachdifferentvaluedeterminingadifferentprobabilitydistribution.suchaquantityiscalledaaparameterofthedistribution.thecollectionofallprobabilitydistributionsfordifferentvaluesoftheaparameteriscalledafamilyofaprobabilitydistributions.TheCumulativeDistributionFunctionDefinitionThecumulativedistributionfunction(cdf)F(x)ofadiscretervXwithpmfP(x)isdefinedforeverynumberXbyF(x)=P(Xx)=Foranynumberx,F(x)istheprobabilitythattheobservedvalueofXwillbeatmostx.ForXadiscreterv,thegraphofF(x)willhaveajumpateverypossiblevalueofXandwillbeflatbetweenpossiblevalues.SuchagraphiscalledastepfunctionExample1Example2Property1thecdfisnon-decreasing
Property3satisfies:Property2Definition
Foranytwonumbersaandbwithab,P(aXb)=F(b)-F(a-)AnotherViewOfProbabilityMassFunction3.3ExpectedValuesOfDiscreteRandomVariablesTheExpectedValuesOfXDefinition
LetXbeadiscretervwithsetofpossiblevaluesDandpmf
P(x).theexpectedvaluesormeanvalueofX,denotedbyE(X)or,isE(X)==Providedthatifthesumdiverges,theexpectationisundefined.Example
DeterminetheexpectednumberofspotsYthatshowwhenafairdieisrolledinanhonestmanner.Example
ExpectationofaGeometricRandomVariable
X~G(p),averageExample:Onepeopleusenkeystoopenaparticulardoor,andonlyonekeycanopenthedoor,buthedoesnotknowwhichone,hetriesonebyone,tillthedooropened.LetXdenotethenumberofhistries.PleasecalculateEXontheconditionof(1)thekeysunopenedthedoorareputaway;(2)thekeysunopenedthedoorarenotputaway.Solution:(1)theprobabilityfunctionisP(X=k)=1/n,k=1,2,…,nSo,(2)theprobabilityfunctionisExample:Inashootinggame,eachshootermayshootfourtimes.Supposeifnobullethitthetarget,thentheshooterscoreiszero;ifonebullethit,thescoreis15;iftwobulletshit,thescoreis30;ifthreebulletshit,thescoreis55;andifallbulletshit,thescoreis100.Theprobabilityoftheshooterhittingthetargetis0.6,calculatehisexpectedscore.X0153055100PEX=44.52Solution:letXdenotehisscore,thentheprobabilityfunctionis
TheExpectedValuesOfAFunction
DefinitionletXbeadiscretervwithsetofpossiblevaluesDandpmf
p(x).theexpectedvaluesormeanvalueofanyfunctionh(X),denotedbyE[h(X)]or,isEh[(X)]==Xx1x2……xnPp1p2……pnh(X)h(x1)h(x2)……h(xn)Pp1p2……pnRulesOfExpectedValue
Proposition
E(aX+b)=aE(X)+bTheVarianceOfXDefinition
letXhavepmfP(x)andexpectedvalue.ThenthevarianceofX,denotedbyV(X)or,orjust,isV(X)==Thestandarddeviation(SD)ofXisAShortcutFormulaForPropositionV(X)===--RulesOfVarianceProposition
V(aX+b)=3.4theBinomialprobabilityDistributionPropertiesofaBinomialexperiment
1.Theexperimentconsistsofasequenceofnidenticaltrials.2.Twooutcomesarepossibleoneachtrial.Werefertooneasasuccess(S)andtheotherasafailure(F).3.Theprobabilityofasuccess,denotedby
p,doesnotchangefromtrialtotrial.Consequently,theprobabilityofafailure,denotedby1-p,doesnotchangefromtrialtotrial.4.Thetrialsareindependent.(Trialsareindependentfromonetoanother)Example1Considertheexperimentoftossingacoinfivetimesandoneachtossobservingwhetherthecoinlandswithaheadortailonitsupwardface.Discussthisexperimentwithfourpropertiessatisfied.Definition:Anexperimentforwhichconditions1-4aresatisfiediscalledabinomialexperiment.Manyexperimentsinvolveasequenceofindependenttrialsforwhichtherearemorethantwopossibleoutcomesonanyonetrial.Abinomialexperimentcanbecreatedbydividingthepossibleoutcomesintotwogroups.Rule:supposeeachtrialofanexperimentcanresultinSorF,butthesamplingiswithoutreplacementfromapopulationofsizeN.Ifthesamplesize(numberoftrials)nisatmost5%ofthepopulationsize,theexperimentcanbeanalyzedasthoughitwereexactlyabinomialexperiment.TheBinomialRandomVariableAndDistributionDefinition:Givenabinomialexperimentconsistingofntrials,thebinomialrandomvariableXassociatedwiththisexperimentisdefinedasX=thenumberofS’samongthentrialsThebinomialdistributionisthedistributionofnumberofsuccessesXinnindependentsuccess/failexperimentswithsuccessprobabilityp.WedenotethedistributionasBin(n,p).
IfXfollowsBin(n,p)distribution,thepossiblevaluesofXare0,1,2,...,n.Ifkisanyoneofthesevalues,
Notation:becausethepmfofabinomialrvXdependsonthetwoparametersnandp,wedenotethepmfbyb(x;n,p)Example:eachofsixrandomlyselectedcoladrinkersisgivenaglasscontainingcolaSandonecontainingcolaF.theglassesareidenticalinappearanceexceptforacodeonthebottomtoidentifythecola.Supposethereisactuallynotendencyamongcoladrinkerstopreferonecolatotheother.thenp=P(aselectedindividualprefersS)=.5,sowithX=thenumberamongthesixwhoreferS,X~Bin(6,.5)thusTheprobabilitythatatleastthreepreferSisTheprobabilitythatatmostonepreferSisUsingBinomialTablesNotation:forX~Bin(n,p),thecdfwillbedenotedbyExample:supposethat20%ofallcopiesofaparticulartextbookfailacertainbindingstrengthtest.Letxdenotethenumberamong15randomlyselectedcopiesthatfailthetest.ThenXhasabinomialdistributionwithn=15andp=0.2.1.Theprobabilitythatatmost8failthetestis2.Theprobabilitythatexactly8failis3.Theprobabilitythatatleast8failis4.Theprobabilitythatbetween4and7failisIfwerepeataBernoullitrialntimesandrecordthetotalnumberofsuccessesinthesenindependentandidenticaltrials,thenthetotalnumberofsuccesses
followstheBinomialdistribution.LetY=X1+X2+...+Xn
whereX1,X2,...,XnareindependentBernoullitrialswithprobabilityofsuccess=p,thenY~Bin(n,p)
Theprobabilitydistributionischaracterizedbytwoparameters,thesamplesizenandtheprobabilityofsuccessp.Let'sfamiliarizetheBinomialdistributionthroughsomeexamples:Itcanbeseenthatthelargeristhesamplesizen,thesmootheristhecurve.Whennislargeenough,itisgoodenoughtobeproximatedbyaNormaldistribution.MeanE(X)=npIneachBernoullitrial,thereareonly2possibleoutcomes,successandfailure.SupposeweuseanindicatorItorepresentthenumberofsuccessineachtrial.Ifitisasuccess,thenwehavegot1success;ifitisafailure,thenwehavegot0success.ThentheexpectednumberofsuccessineachtrialisE(I)=P(I=1)(1)+P(I=0)(0)
=p(1)+q(0)
=pThemeanandvarianceofXIfX~Bin(n,p)E(X)istheexpectednumberofsuccessesinnindependenttrials.Itcanbesimplycomputedasthesumoftheexpectedsuccessineachtrialoverntrials,E(X)=E(I)+E(I)+...+E(I)
=p+p+...+p
=np
VarianceVar(X)=np(1-p)Similary,thevarianceoftheindicatorIis
hencethevarianceofX,thenumberofsuccessesinntrials,isthesumofnindependentvarianceofI,Var(X)=Var(I)+Var(I)+...+Var(I)
=pq+pq+...+pq
=npq
=np(1-p)WecanalsocomputetheexpectationandvarianceofX
theoretically.As
Xhastheprobabilitymassfunction,SotheexpectationofXisAndthevarianceofXiswhere
Combiningwehave3.6ThePoissonProbabilityDistributionAdiscreterandomvariableissaidtofollowaPoissondistributionifitsprobabilitymassfunctionisinformof
where
>0.ThePoissonvariableisdenotedbyX~P(
),where
isthemeanofthevariableX.Definition:Thevalueofisfrequentlyarateperunittimeorperunitarea.TheprobabilitythatatrapcontainsexactlyfivecreaturesisExampleletXdenotethenumberofcreaturesofaparticulartypecapturedinatrapduringagiventimeperiod.SupposethatXhasaPossiondistributionwith=4.5,soonaveragetrapswillcontain4.5creatures.TheprobabilitythatatraphasatmostfivecreaturesisTosummarizethephysicalpropertiesofaPoissonvariable:HowtorecognizethePoissonDistributionthroughitsphysicalproperties?Poissonvariableistheresultofacollectionofoccurrencesforwhichtheprobabilityofeachoccurrenceisverysmall.QueuingmodelandaccidentdataareparticularexamplesofPoissondistribution.Sim
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 七年级英语上册开学摸底检测卷(无锡专用)(解析版)
- Unit 1 Lets have fun Lets do it Lets explore课件三年级英语上册外研新交际预备级
- 城市旅游宣传片制作投标方案(技术方案)
- 金融产业运行态势分析与投资前景预测报告模板
- 大数据平台建设项目可研方案
- 茅屋为秋风所破歌(2022.6.1)
- 部编人教版历史七年级下册教案全册
- 全球域名系统(DNS)安全软件行业分析报告
- 廉政文化进家庭活动方案
- 课程建设与评估需要提供的资料
- 末梢采血介绍课件
- 性早熟诊疗指南(试行)
- 智慧教育转型与变革
- 场平土石方工程施工组织设计(完整资料)
- 乌拉地尔课件
- 《金融科技学》教案全套及习题答案(李建军版)
- 西游记中曾出现过的女妖精
- 仓储管理员技师模考试题与答案
- 国内航空公司面试常见问题
- 2023年《水浒传》知识竞赛100题及答案
- PCB供应商制程审核要点
评论
0/150
提交评论