Lecture 12 Chapter 8 Inference for proportions12讲8章推理的比例.docx

上传人:b****6 文档编号:5871237 上传时间:2023-01-01 格式:DOCX 页数:10 大小:97.29KB
下载 相关 举报
Lecture 12 Chapter 8 Inference for proportions12讲8章推理的比例.docx_第1页
第1页 / 共10页
Lecture 12 Chapter 8 Inference for proportions12讲8章推理的比例.docx_第2页
第2页 / 共10页
Lecture 12 Chapter 8 Inference for proportions12讲8章推理的比例.docx_第3页
第3页 / 共10页
Lecture 12 Chapter 8 Inference for proportions12讲8章推理的比例.docx_第4页
第4页 / 共10页
Lecture 12 Chapter 8 Inference for proportions12讲8章推理的比例.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

Lecture 12 Chapter 8 Inference for proportions12讲8章推理的比例.docx

《Lecture 12 Chapter 8 Inference for proportions12讲8章推理的比例.docx》由会员分享,可在线阅读,更多相关《Lecture 12 Chapter 8 Inference for proportions12讲8章推理的比例.docx(10页珍藏版)》请在冰豆网上搜索。

Lecture 12 Chapter 8 Inference for proportions12讲8章推理的比例.docx

Lecture12Chapter8Inferenceforproportions12讲8章推理的比例

Lecture12,Section8.1&8.2

Proportions

Manystatisticalstudiesproducecountsratherthanmeasurements.

Example:

Didyouvoteinthelastelection?

Theresponsewouldbeeithera“Yes”ora“No”.Thevariableiscategorical,theresponseisthevaluethevariabletakesonforeachunit/person.IfIdidasurveyofthisclass,Icouldaccumulatethecountof“Yes”responsesanddescribethiscountasaproportionofthetotal.

Example:

WhatacademicyearareyouinatPurdue.Theresponsewouldbeeither“Freshman”,“Sophomore”,“Junior”,or“Senior”.Again,Icouldaccumulatethecountofeachanddescribeeachasaproportionofthetotal.

PopulationandSampleproportions:

Instatisticalsamplingweoftenwanttoestimatetheproportion,p,of“successes”inapopulation.“Success”iswhenthecategoricalvariabletakesononeparticularvalue.

p=countofsuccessesinpopulation

sizeofpopulation

=X/N

Wetakeasampleofourpopulation;ourestimatoristhesampleproportionofsuccesses:

countofsuccessesinsample

sizeofsample

=X/n

Example:

1.Youflipacoin20timesandrecordwhetheraheadoratailistossed.Inthissample,aheadisrecorded11times.Whatisthesampleproportionofheads?

 

InferenceforaSingleProportion:

Sofarwehaveonlylookedatmakingstatisticalinferenceonpopulationmeans,ameasurementofsomequantitativevariableofinterest.Nowwewilllookatmakingstatisticalinferenceonacategoricalvariableusingtheproportionofsomeoutcome/successinapopulation.

Examples:

∙HowcommonisitforstudentsatPurduetofailaclass?

Outofasampleof200students,50ofthemhavefailedatleastoneclass,or25%.Basedonthesedata,whatcanwesayaboutallstudentsatPurdue?

∙WhatproportionofgolfersintheUSAhavemadeatleastonehole-in-oneintheirlifetime.FromanSRSof50golfers25ofthemhadmadeahole-in-one.WhatcanwesayaboutallgolfersintheUSA?

Inbothexamplesaboveweareinterestedinestimatingtheunknownproportionpfromapopulation.Theestimateofthatpopulationparameterpisthesampleproportion

astatistic.

SamplingDistributionofaSampleProportion:

ChooseanSRSofsizenfromalargepopulationwithpopulationproportionphavingsomecharacteristicofinterest.Wenormallycallwhatevercharacteristicwearestudyinga“success.”LetXbethecountofsuccessesinthesampleand

bethesampleproportionofsuccess,

=X/n

Also:

∙Thesamplingdistributionof

isapproximatelynormalforaSRSfromalargepopulationandisclosertoanormaldistributionwhenthesamplesizenislarge.

∙Themeanofthesamplingdistributionisp.

∙Thestandarddeviationofthesamplingdistributionis

 

Large-SampleConfidenceIntervalforaPopulationProportion:

ChooseanSRSofsizenfromalargepopulationwithunknownproportionpofsuccesses.Thesampleproportionis:

=X/n

Thestandarderrorof

is:

Whennislarge,anapproximatelevelCconfidenceintervalforpis:

where

isthevalueforthestandardnormaldensitycurvewithareaCbetween

and

.Themarginoferroris:

Usethisintervalwhenthenumberofsuccessesandthenumberoffailuresarebothatleast15andtheconfidencelevelis90%,95%,or99%.

 

Example:

1.Whentryingtohiremanagersandexecutives,companiessometimesverifytheacademiccredentialsdescribedbytheapplicants.Onecompanythatperformsthesecheckssummarizeditsfindingsforasix-monthperiod.Ofthe84applicantswhosecredentialswerechecked,15liedabouthavingadegree.

a.Givetheestimateoftheproportionofapplicantswholiedabouthavingadegreeandgivetheestimateforthestandarderrorof

.

 

b.Considerthesedatatobearandomsampleofcredentialsfromalargecollectionofsimilarapplicants.Givea95%confidenceintervalforthetrueproportionofapplicantswholieabouthavingadegree.

 

Large-SampleSignificanceTestforaPopulationProportion:

1.StatetheNullandAlternativehypothesis.

or

or

2.Findtheteststatistic:

DrawaSRSofsizenfromalargepopulationwithunknownproportionpofsuccesses.Totestthehypothesis,computethezstatistic:

3.Calculatethep-value.

IntermsofastandardnormalrandomvariableZ,theapproximateP-valueforatestof

against

is

is

is

4.Statetheconclusionsintermsoftheproblem.Chooseasignificancelevelsuchasα=0.05,thencomparetheP-valuetotheαlevel.

IfP-value

α,thenreject

IfP-value>α,thenfailtoreject

UsetheLarge-SampleSignificanceTestforaPopulationProportioniftheexpectednumberofsuccesses

andtheexpectednumberoffailures

arebothgreaterthan10.Ifthisisnotmet,orifthepopulationislessthan10timesaslargeasthesample,otherproceduresshouldbeused.

Example:

1.Shereka,astartingplayerforamajorcollegebasketballteam,made60%ofherfreethrowsinherlastthreeseasons.Duringthesummersheworkedhardondevelopingasoftershotinthehopeofimprovingherfree-throwaccuracy.InthefirstninegamesofthisseasonSherekamade48freethrowsin67attempts.Letpbeherprobabilityofsuccess,makingeachfreethrowsheshoots.

a.Statethenullhypothesis

thatShereka’sfree-throwprobabilityhasremainedthesameasthelastthreeseasonsandthealternative

thatherworkinthesummerresultedinahigherprobabilityofsuccess.

 

b.Calculatethezstatisticfortesting

versus

.

 

c.Doyouacceptorreject

forα=0.05?

FindtheP-value.

 

d.Givea90%confidenceintervalforShereka’sfree-throwsuccessprobabilityforthenewseason.Areyouconvincedthatsheisnowabetterfree-throwershooter?

 

e.Whatassumptionsareneededforthevalidityofthetestandconfidenceintervalcalculationsthatyouperformed?

 

SampleSizeforDesiredMarginofError:

ThelevelCconfidenceintervalforaproportionpwillhaveamarginoferrorapproximatelyequaltoaspecifiedvaluemwhenthesamplesizesatisfies

Herez*isthecriticalvalueforconfidenceC,andp*isanestimatedorguessedvaluefortheproportionofsuccessesinthefuturesample.Theestimatedvaluecanbeeitherbasedonapreviouspilotstudyoritcanbeassumedtobe.5,thevalueofp*thatgeneratesthelargestsamplesize.Themarginoferrorwillbelessthanorequaltomifp*ischosentobe0.5.Thesamplesizerequiredisthengivenby

 

Example:

1.Youwanttoestimatetheproportionofstudentsatyourcollegeoruniversitywhoareemployedfor10ormorehoursperweekwhileclassesareinsession.Youplantopresentyourresultsbya95%confidenceinterval.Usingtheestimatedvalue

findthesamplesizerequirediftheintervalistohaveanapproximatemarginoferrorof

.

 

ComparingTwoProportions

AssumptionsforcomparingtwoProportions:

∙ThedataconsistofthetwoindependentSRS’s

∙ThetwoSRS’sarelarge.

Typicallywewanttocomparetwoproportionsbygivingaconfidenceintervalforthedifference,

orbytestingthehypothesisofnodifference,

.

ConfidenceIntervalsforComparingTwoProportions

ChooseanSRSofsize

fromalargepopulationhavingproportion

ofsuccesses;chooseaSRSofsize

fromanotherlargepopulationhavingproportion

ofsuccess.

AnapproximatelevelCconfidenceintervalfor

is

Where

and

aretheestimatesofthepopulationproportions;thestandarderrorofthedifferenceis

andz*isthevalueforthestandardNormaldensitycurvewithareaCbetween–z*andz*.Themarginoferroris:

Usethismethodwhenthenumberofsuccessesandthenumberoffailuresinbothsamplesizesareatleast10andtheconfidencelevelis90%,95%,or99%.

Example

1.Islyingaboutcredentialsbyjobapplicantschanging?

Fromapreviousexample,onecompanythatperformsthesecheckssummarizeditsfindingsforthefirstsix-monthperiod:

ofthe84applicantswhosecredentialswerechecked,15liedabouthavingadegree.Thecompanyperformedthesamechecksforasecondperiod,theresultsforbothareshownbelow.

Period

n

X(lied)

1

84

15

2

106

35

a)Findthe95%confidenceintervalforthedifferenceoftheproportionofapplicantswholiedabouthavingadegreeforthetwoperiods.

 

b)Basedonthisconfidenceinterval,whatcanyousayaboutthechangeovertimeoftheproportionofapplicantsthatliedontheirapplicationforthetwoperiods?

 

SignificanceTestsforComparingTwoProportions

1.StatetheNullandAlternativehypothesis.

or

or

2.Findtheteststatistic:

DrawaSRSofsizenfromalargepopulationwithunknownproportionpofsuccesses.Totestthehypothesis,computethezstatistic:

where

and

andwherethepooledstandarderroris

andwhere

3.Calculatethep-value.

IntermsofastandardnormalrandomvariableZ,theapproximateP-valueforatestof

against

is

is

is

4.Statetheconclusionsintermsoftheproblem.Chooseasignificancelevelsuchasα=0.05,thencomparetheP-valuetotheαlevel.

IfP-value

α,thenreject

IfP-value>α,thenfailtoreject

 

Examples

1.Dataontheproportionofapplicantswholiedabouthavingadegreeintwoconsecutivesix-monthperiodsaregiveninthepreviousexampleas:

Period

n

X(lied)

1

84

15

2

106

35

 

a.Formulateappropriatenullandalternativehypothesesthatcanbeaddressedwiththesedata,carryoutthesignificancetest,andsummarizetheresults.

 

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 自然科学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1