版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
Chapter3.RandomVariablesandProbabilityDistribution
ConceptofaRandomVariable
Example:threeelectroniccomponentsaretested
samplespace(N:nondefective,D:defective)
S={NNN,NND,NDN,DNN,NDD,DND,DDN,DDD}
allocateanumericaldescriptionofeachoutcome
concernedwiththenumberofdefectives
eachpointinthesamplespacewillbeassignedanumericalvalueof0,1,2,or3.
randomvariableX:thenumberofdefectiveitems,arandomquantity
randomvariable
Definition3.1
Arandomvariableisafunctionthatassociatesarealnumberwitheachelementinthesamplespace.
X:arandomvariable
x:oneofitsvalues
EachpossiblevalueofXrepresentsaneventthatisasubsetofthesamplespace
electroniccomponenttest:
E={DDN,DND,NDD}={X=2}.
Example3.1Twoballsaredrawninsuccessionwithoutreplacementfromanurncontaining4redballsand3blackballs.Yisthenumberofredballs.ThepossibleoutcomesandthevaluesyoftherandomvariableY?
Example3.2Astockroomclerkreturnsthreesafetyhelmetsatrandomtothreesteelmillemployeeswhohadpreviouslycheckedthem.IfSmith,Jones,andBrown,inthatorder,receiveoneofthethreehats,listthesamplepointsforthepossibleordersofreturningthehelmets,andfindthevaluemoftherandomvariableMthatrepresentsthenumberofcorrectmatches.
ThesamplespacecontainsafinitenumberofelementsinExample3.1and3.2.
anotherexample:adieisthrownuntila5occurs,
F:theoccurrenceofa5
N:thenonoccurrenceofa5
obtainasamplespacewithanunendingsequenceofelements
S={F,NF,NNF,NNNF,...}
thenumberofelementscanbeequatedtothenumberofwholenumbers;canbecounted
Definition3.2Ifasamplespacecontainsafinitenumberofpossibilitiesoranunendingsequencewithasmanyelementsastherearewholenumbers,itiscalledadiscretesamplespace.
Theoutcomesofsomestatisticalexperimentsmaybeneitherfinitenorcountable.
example:measurethedistancesthatacertainmakeofautomobilewilltraveloveraprescribedtestcourseon5litersofgasoline
distance:avariablemeasuredtoanydegreeofaccuracy
wehaveinfinitenumberofpossibledistancesinthesamplespace,cannotbeequatedtothenumberofwholenumbers.
Definition3.3
Ifasamplespacecontainsaninfinitenumberofpossibilitiesequaltothenumberofpointsonalinesegment,itiscalledacontinuoussamplespace
Arandomvariableiscalledadiscreterandomvariableifitssetofpossibleoutcomesiscountable.
YinExample3.1andMinExample3.2arediscreterandomvariables.
Whenarandomvariablecantakeonvaluesonacontinuousscale,itiscalledacontinuousrandomvariable.
Themeasureddistancethatacertainmakeofautomobilewilltraveloveratestcourseon5litersofgasolineisacontinuousrandomvariable.
continuousrandomvariablesrepresentmeasureddata:
allpossibleheights,weights,temperatures,distance,orlifeperiods.
discreterandomvariablesrepresentcountdata:thenumberofdefectivesinasampleofkitems,orthenumberofhighwayfatalitiesperyearinagivenstate.
2.DiscreteProbabilityDistribution
Adiscreterandomvariableassumeseachofitsvalueswithacertainprobability
assumeequalweightsfortheelementsinExample3.2,what'stheprobabilitythatnoemployeegetsbackhisrighthelmet.
TheprobabilitythatMassumedthevaluezerois1/3.
ThepossiblevaluesmofMandtheirprobabilitiesare
013
1/31/21/6
ProbabilityMassFunction
ItisconvenienttorepresentalltheprobabilitiesofarandomvariableXbyaformula.
writep(x)=P(X=x)
Thesetoforderedpairs(x,p(x))iscalledtheprobabilityfunctionorprobabilitydistributionofthediscreterandomvariableX.
Definition3.4
Thesetoforderedpairs(x,p(x))isaprobabilityfunction,probabilitymassfunction,orprobabilitydistributionofthediscreterandomvariableXif,foreachpossibleoutcomex
Example3.3Ashipmentof8similarmicrocomputerstoaretailoutletcontains3thataredefective.Ifaschoolmakesarandompurchaseof2ofthesecomputers,findtheprobabilitydistributionforthenumberofdefectives.
Solution
X:thepossiblenumbersofdefectivecomputers
xcanbeanyofthenumbers0,1,and2.
CumulativeFunction
TherearemanyproblemwherewemaywishtocomputetheprobabilitythattheobservedvalueofarandomvariableXwillbelessthanorequaltosomerealnumberx.
WritingF(x)=P(X≤x)foreveryrealnumberx.
Definition3.5
ThecumulativedistributionF(x)ofadiscreterandomvariableXwithprobabilitydistributionp(x)is
FortherandomvariableM,thenumberofcorrectmatchesinExample3.2,wehave
ThecumulativedistributionofMis
Remark.thecumulativedistributionisdefinednotonlyforthevaluesassumedbygivenrandomvariablebutforallrealnumbers.
Example3.5TheprobabilitydistributionofXis
FindthecumulativedistributionoftherandomvariableX.
Certainprobabilitydistributionareapplicabletomorethanonephysicalsituation.
TheprobabilitydistributionofExample3.5canapplytodifferentexperimentalsituations.
Example1:thedistributionofY,thenumberofheadswhenacoinistossed4times
Example2:thedistributionofW,thenumberofreadcardsthatoccurwhen4cardsaredrawnatrandomfromadeckinsuccessionwitheachcardreplacedandthedeckshuffledbeforethenextdrawing.
graphs
Itishelpfultolookataprobabilitydistributioningraphicform.
barchart;
histogram;
cumulativedistribution.
ContinuousProbabilityDistribution
ContinuousProbabilitydistribution
Acontinuousrandomvariablehasaprobabilityofzeroofassumingexactlyanyofitsvalues.Consequently,itsprobabilitydistributioncannotbegivenintabularform.
Example:theheightsofallpeopleover21yearsofage(randomvariable)
Between163.5and164.5centimeters,oreven163.99and164.01centimeters,thereareaninfinitenumberofheights,oneofwhichis164centimeters.
Theprobabilityofselectingapersonatrandomwhoisexactly164centimeterstallandnotoneoftheinfinitelylargesetofheightssocloseto164centimetersisremote.
Weassignaprobabilityofzerotoapoint,butthisisnotthecaseforaninterval.Wewilldealwithanintervalratherthanapointvalue,suchasP(a<X<b),P(W≥c).
P(a≤X≤b)=P(a<X≤b)=P(a≤X<b)=P(a<X<b)
whereXiscontinuous.Itdoesnotmatterwhetherweincludeanendpointoftheintervalornot.ThisisnottruewhenXisdiscrete.
Althoughtheprobabilitydistributionofacontinuousrandomvariablecannotbepresentedintabularform,itcanbestatedasaformula.
refertohistogram
Definition3.6Thefunctionf(x)isaprobabilitydensityfunctionforthecontinuousrandomvariableX,definedoverthesetofrealnumbersR,if
Example3.6Supposethattheerrorinthereactiontemperature,inoC,foracontrolledlaboratoryexperimentisacontinuousrandomvariableXhavingtheprobabilitydensityfunction
(a)Verifycondition2ofDefinition3.6.
(b)FindP(0<X≤1).
Solution:......P(0<X≤1)=1/9.
Definition3.7ThecumulativedistributionF(x)ofacontinuousrandomvariableXwithdensityfunctionf(x)is
immediateconsequence:
Example3.7ForthedensityfunctionofExample3.6find
F(x),anduseittoevaluateP(0<x≤1).
4.JointProbabilityDistributions
theprecedingsections:one-dimensionalsamplespacesandasinglerandomvariable
situations:desirabletorecordthesimultaneousoutcomesofseveralrandomvariables.
JointProbabilityDistribution
Examples
1.wemightmeasuretheamountofprecipitatePandvolumeVofgasreleasedfromacontrolledchemicalexperiment;wegetatwo-dimensionalsamplespaceconsistingoftheoutcomes(p,v).
2.Inastudytodeterminethelikelihoodofsuccessincollege,basedonhighschooldata,onemightuseathree-dimensionalsamplespaceandrecordforeachindividualhisorheraptitudetestscore,highschoolrankinclass,andgrade-pointaverageattheendofthefreshmanyearincollege.
XandYaretwodiscreterandomvariables,thejointprobabilitydistributionofXandYis
p(x,y)=P(X=x,Y=y)
thevaluesp(x,y)givetheprobabilitythatoutcomesxandyoccuratthesametime.
Definition3.8Thefunctionp(x,y)isajointprobabilitydistributionorprobabilitymassfunctionofthediscreterandomvariablesXandYif
Example3.8
Tworefillsforaballpointpenareselectedatrandomfromaboxthatcontains3bluerefills,2redrefills,and3greenrefills.IfXisthenumberofbluerefillsandYisthenumberofredrefillsselected,find
(a)thejointprobabilityfunctionp(x,y)
(b)P[(X,Y)∈A]whereAistheregion{(x,y)|x+y≤1}
Solution
thepossiblepairsofvalues(x,y)are(0,0),(0,1),(1,0),(1,1),(0,2),and(2,0).
p(x,y)representstheprobabilitythatxblueandyredrefillsareselected.
(b)P[(X,Y)∈A]=9/14
presenttheresultsinTable3.1
Definition3.9Thefunctionf(x,y)isajointdensityfunctionofthecontinuousrandomvariablesXandYif
WhenXandYarecontinuousrandomvariables,thejointdensityfunctionf(x,y)isasurfacelyingabovethexyplane.
P[(X,Y)∈A],whereAisanyregioninthexyplane,isequaltothevolumeoftherightcylinderboundedbythebaseAandthesurface.
Example3.9Supposethatthejointdensityfunctionis
(b)P[(X,Y)∈A]=13/160
marginaldistribution
p(x,y):thejointprobabilitydistributionofthediscreterandomvariablesXandY
theprobabilitydistributionpX(x)ofXaloneisobtainedbysummingp(x,y)overthevaluesofY.
Similarly,theprobabilitydistributionpY(y)ofYaloneisobtainedbysummingp(x,y)overthevaluesofX.
pX(x)andpY(y):marginaldistributionsofXandY
WhenXandYarecontinuousrandomvariables,summationsarereplacedbyintegrals.
Definition3.10ThemarginaldistributionofXaloneandofYaloneare
Example3.10ShowthatthecolumnandrowtotalsofTable
3.1givethemarginaldistributionofXaloneandofYalone.
Example3.11Findmarginalprobabilitydensityfunctions
fX(x)andfy(y)forthejointdensityfunctionofExample3.9.
ThemarginaldistributionpX(x)[orfX(x)]andpx(y)[orfy(y)]areindeedtheprobabilitydistributionoftheindividualvariableXandY,respectively.
Howtoverify?
TheconditionsofDefinition3.4[orDefinition3.6]aresatisfied.
Conditionaldistribution
recallthedefinitionofconditionalprobability:
XandYarediscreterandomvariables,wehave
Thevaluexoftherandomvariablerepresentaneventthatisasubsetofthesamplespace.
Definition3.11
LetXandYbetwodiscreterandomvariables.TheconditionalprobabilitymassfunctionoftherandomvariableY,giventhatX=x,is
Similarly,theconditionalprobabilitymassfunctionoftherandomvariableX,giventhatY=y,is
Definition3.11'
LetXandYbetwocontinuousrandomvariables.TheconditionalprobabilitydensityfunctionoftherandomvariableY,giventhatX=x,is
Similarly,theconditionalprobabilitydensityfunctionoftherandomvariableX,giventhatY=y,is
Remark:
Thefunctionf(x,y)/fX(x)isstrictlyafunctionofywithxfixed,thefunctionf(x,y)/fy(y)isstrictlyafunctionofxwithyfixed,bothsatisfyalltheconditionsofaprobabilitydistribution.
HowtofindtheprobabilitythattherandomvariableXfallsbetweenaandbwhenitisknownthatY=y
Example3.12ReferringtoExample3.8,findtheconditionaldistributionofX,giventhatY=1,anduseittodetermine
P(X=0|Y=1).
Example3.13Thejointdensityfortherandomvariables(X,Y)whereXistheunittemperaturechangeandYistheproportionofspectrumshiftthatacertainatomicparticleproducesis
FindthemarginaldensitiesfX(x),fy(y),andtheconditionaldensityfYX(y|x)
(b)Findtheprobabilitythatthespectrumshiftsmorethanhalfofthetotalobservations,giventhetemperatureisincreasedto0.25unit.
(a)
(b)
Example3.14Giventhejointdensityfunction
(a)
(b)
statisticalindependence
eventsAandBareindependent,if
P(B∩A)=P(A)P(B).
discreterandomvariablesXandYareindependent,if
P(X=x,Y=y)=P(X=x)P(Y=y)
forall(x,y)withintheirrange.
Thevaluexoftherandomvariablerepresentaneventthatisasubsetofthesamplespace.
Definition3.12LetXandYbetwodiscreterandomvariables,withjointprobabilitydistributionp(x,y)andmarginaldistributionspX(x)andpY(y),respectively.TherandomvariablesXandYaresaidtobestatisticallyindependentifandonlyif
p(x,y)=pX(x)pY(y)forall(x,y)withintheirrange.
Definition3.12'LetXandYbetwocontinuousrandomvariables,withjointprobabilitydistributionf(x,y)andmarginaldistributionsfX(x)andfY(y),respectively.TherandomvariablesXan
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 約版入職合同范本
- 南京市2024江蘇南京審計(jì)大學(xué)教學(xué)科研崗招聘88人筆試歷年參考題庫典型考點(diǎn)附帶答案詳解(3卷合一)
- 法律顧問面試技巧與答案
- 起重機(jī)械管理員安全生產(chǎn)考核辦法含答案
- 計(jì)算機(jī)系統(tǒng)分析師面試考點(diǎn)預(yù)測
- 健康管理師面試題詳解與準(zhǔn)備技巧
- 2025年在線家庭教育平臺建設(shè)可行性研究報(bào)告
- 2025年區(qū)塊鏈金融服務(wù)平臺建立可行性研究報(bào)告
- 2025年數(shù)據(jù)隱私保護(hù)項(xiàng)目可行性研究報(bào)告
- 2025年舊貨市場再生經(jīng)濟(jì)可行性研究報(bào)告
- 開放系統(tǒng)10862人文英語(4)期末機(jī)考真題及答案
- GB/T 4957-2003非磁性基體金屬上非導(dǎo)電覆蓋層覆蓋層厚度測量渦流法
- GB/T 27806-2011環(huán)氧瀝青防腐涂料
- GB/T 12618.1-2006開口型平圓頭抽芯鉚釘10、11級
- FZ/T 52051-2018低熔點(diǎn)聚酯(LMPET)/聚酯(PET)復(fù)合短纖維
- 設(shè)備吊裝方案編制受力計(jì)算
- 食品工程原理概述經(jīng)典課件
- 養(yǎng)老院機(jī)構(gòu)組織架構(gòu)圖
- 財(cái)經(jīng)法規(guī)與會計(jì)職業(yè)道德
- 會計(jì)學(xué)本-財(cái)務(wù)報(bào)表分析綜合練習(xí)
- 《中國傳統(tǒng)文化心理學(xué)》課件第五章 傳統(tǒng)文化與心理治療(修)
評論
0/150
提交評論