商务与经济统计(原书第14版) 课件 第13、14章 实验设计与方差分析、简单线性回归_第1页
商务与经济统计(原书第14版) 课件 第13、14章 实验设计与方差分析、简单线性回归_第2页
商务与经济统计(原书第14版) 课件 第13、14章 实验设计与方差分析、简单线性回归_第3页
商务与经济统计(原书第14版) 课件 第13、14章 实验设计与方差分析、简单线性回归_第4页
商务与经济统计(原书第14版) 课件 第13、14章 实验设计与方差分析、简单线性回归_第5页
已阅读5页,还剩120页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Statisticsfor

BusinessandEconomics(14e)

MetricVersionAnderson,Sweeney,Williams,Camm,Cochran,Fry,Ohlmann©2020CengageLearning©2020Cengage.Maynotbescanned,copiedorduplicated,orpostedtoapubliclyaccessiblewebsite,inwholeorinpart,exceptforuseaspermittedinalicensedistributedwithacertainproductorserviceorotherwiseonapassword-protectedwebsiteorschool-approvedlearningmanagementsystemforclassroomuse.1Chapter13-ExperimentalDesignandAnalysisofVariance13.1-AnIntroductiontoExperimentalDesignandAnalysisofVariance13.2-AnalysisofVarianceandtheCompletelyRandomizedDesign13.3-MultipleComparisonProcedures13.4-RandomizedBlockDesign13.5-FactorialExperiment2AnIntroductiontoExperimentalDesignandAnalysisofVariance(1of3)Statisticalstudiescanbeclassifiedasbeingeitherexperimentalorobservational.Inanexperimentalstudy,oneormorefactorsarecontrolledsothatdatacanbeobtainedabouthowthefactorsinfluencethevariablesofinterest.Inanobservationalstudy,noattemptismadetocontrolthefactors.Cause-and-effectrelationshipsareeasiertoestablishinexperimentalstudiesthaninobservationalstudies.Analysisofvariance(ANOVA)canbeusedtoanalyzethedataobtainedfromexperimentalorobservationalstudies.3AnIntroductiontoExperimentalDesignandAnalysisofVariance(2of3)Inthischapter,threetypesofexperimentaldesignsareintroduced:AcompletelyrandomizeddesignArandomizedblockdesignAfactorialexperiment4AnIntroductiontoExperimentalDesignandAnalysisofVariance(3of3)Afactorisavariablethattheexperimenterhasselectedforinvestigation.Atreatmentisalevelofafactor.Experimentalunits

aretheobjectsofinterestintheexperiment.Acompletelyrandomizeddesign

isanexperimentaldesigninwhichthetreatmentsarerandomlyassignedtotheexperimentalunits.5AnalysisofVariance:AConceptualOverview(1of4)AnalysisofVariance(ANOVA)canbeusedtotestfortheequalityofthreeormorepopulationmeans.Dataobtainedfromobservationalorexperimentalstudiescanbeusedfortheanalysis.Wewanttousethesampleresultstotestthefollowinghypotheses:6AnalysisofVariance:AConceptualOverview(2of4)

7AnalysisofVariance:AConceptualOverview(3of4)

8AnalysisofVariance:AConceptualOverview(4of4)

9AnalysisofVarianceandtheCompletelyRandomizedDesignBetween-TreatmentsEstimateofPopulationVarianceWithin-TreatmentsEstimateofPopulationVarianceComparingtheVarianceEstimates:TheFTestANOVATable10Between-TreatmentsEstimateofPopulationVarianceσ2Theestimateofσ2basedonthevariationofthesamplemeansiscalledthemeansquareduetotreatmentsandisdenotedbyMSTR.Numeratoriscalledthesumofsquaresduetotreatments

(SSTR).DenominatoristhedegreesoffreedomassociatedwithSSTR.11Within-TreatmentsEstimateofPopulationVarianceσ2Theestimateofσ2basedonthevariationofthesampleobservationswithineachsampleiscalledthemeansquareerrorandisdenotedbyMSE.Numeratoriscalledthesumofsquaresduetoerror

(SSE).DenominatoristhedegreesoffreedomassociatedwithSSE.12ComparingtheVarianceEstimates:TheFTest(1of2)

13ComparingtheVarianceEstimates:TheFTest(2of2)SamplingDistributionofMSTR/MSE14ANOVATableforaCompletelyRandomizedDesign(1of3)SSTispartitionedintoSSTRandSSE.SST’sdegreesoffreedom(df)arepartitionedintoSSTR’sdfandSSE’sdf.SourceofVariationSumofSquaresDegreesofFreedomMeanSquareFp-ValueTreatmentsSSTRKminus1Beginequation.MSTRequalsStartfraction,SSTRoverkminus1.Endfraction.Endequation.Beginfraction.MSTRoverMSE.Endfraction.

emptycellErrorSSENsubscriptTbaselineminuskBeginequation.MSEequalsstartfractionSSEovernsubscriptTbaselineminuskendfraction.Endequation.

emptycell

emptycellTotalSSTNsubscriptbaselineminus1

emptycell

emptycell

emptycell15ANOVATableforaCompletelyRandomizedDesign(2of3)

16ANOVATableforaCompletelyRandomizedDesign(3of3)

17

HypothesesTestStatistic 18

19

AutoShine,Inc.isconsideringmarketingalong-lastingcarwax.Threedifferentwaxes(Type1,Type2,andType3)havebeendeveloped.Inordertotestthedurabilityofthesewaxes,5newcarswerewaxedwithType1,5withType2,and5withType3.Eachcarwasthenrepeatedlyrunthroughanautomaticcarwashuntilthewaxcoatingshowedsignsofdeterioration.Thenumberoftimeseachcarwentthroughthecarwashbeforeitswaxdeterioratedisshownonthenextslide.AutoShine,Inc.mustdecidewhichwaxtomarket.Arethethreewaxesequallyeffective?Factor...CarwaxTreatments...Type1,Type2,Type3Experimentalunits...CarsResponsevariable...Numberofwashes20

ObservationWaxType1WaxType2WaxType312733292302828329313042830325313031SampleMean29.030.430.0SampleVariance2.53.32.521

22

MeanSquareBetweenTreatments:(Becausethesamplesizesareallequal)

MeanSquareError:23

RejectionRule:24

TestStatistic:Conclusion:Thereisinsufficientevidencetoconcludethatthemeannumberofwashesforthethreewaxtypesarenotallthesame.25

ANOVATableSourceofVariationSumofSquaresDegreesofFreedomMeanSquaresFp-ValueTreatments5.222.600.9390.42Error33.2122.77Total38.41426

27

ObservationPlant1BuffaloPlant2PittsburghPlant3Detroit14873512546363357666145464545627456SampleMean556857SampleVariance26.026.524.528

Developthehypotheses.29

Specifythelevelofsignificance.α

=0.05Computethevalueoftheteststatistic.30

Computethevalueoftheteststatistic.31

ANOVATableSourceofVariationSumofSquaresDegreesofFreedomMeanSquareFp-ValueTreatment49022459.55.0033Error3081225.667Total7981432

Wecanconcludethatthemeannumberofhoursworkedperweekbydepartmentmanagersisnotthesameatall3plants.33

CriticalValueApproachDeterminethecriticalvalueandrejectionrule.

5.34MultipleComparisonProceduresSupposethatanalysisofvariancehasprovidedstatisticalevidencetorejectthenullhypothesisofequalpopulationmeans.Fisher’sleastsignificantdifference(LSD)procedurecanbeusedtodeterminewherethedifferencesoccur.35Fisher’sLSDProcedure(1of2)Hypotheses:TestStatistic:36Fisher’sLSDProcedure(2of2)RejectionRule:37

38

Example:ReedManufacturingRecallthatJanetReedwantstoknowifthereisanysignificantdifferenceinthemeannumberofhoursworkedperweekforthedepartmentmanagersatherthreemanufacturingplants.Analysisofvariancehasprovidedstatisticalevidencetorejectthenullhypothesisofequalpopulationmeans.Fisher’sleastsignificantdifference(LSD)procedurecanbeusedtodeterminewherethedifferencesoccur.39

40

LSDforPlants1and2Conclusion:ThemeannumberofhoursworkedatPlant1isnotequaltothemeannumberworkedatPlant2.

41

LSDforPlants1and3Conclusion:ThereisnosignificantdifferencebetweenthemeannumberofhoursworkedatPlant1andthemeannumberofhoursworkedatPlant3.42

LSDforPlants2and3Conclusion:ThemeannumberofhoursworkedatPlant2isnotequaltothemeannumberworkedatPlant43TypeIErrorRatesThecomparisonwiseTypeIerrorrate

αindicatesthelevelofsignificanceassociatedwithasinglepairwisecomparison.

44RandomizedBlockDesign(1of9)Experimentalunits

aretheobjectsofinterestintheexperiment.Acompletelyrandomizeddesign

isanexperimentaldesigninwhichthetreatmentsarerandomlyassignedtotheexperimentalunits.Iftheexperimentalunitsareheterogeneous,blockingcanbeusedtoformhomogeneousgroups,resultinginarandomizedblockdesign.45RandomizedBlockDesign(2of9)ANOVAProcedureForarandomizedblockdesignthesumofsquarestotal(SST)ispartitionedintothreegroups:sumofsquaresduetotreatments,sumofsquaresduetoblocks,andsumofsquaresduetoerror.46RandomizedBlockDesign(3of9)ANOVATableSourceofvariationSumofsquaresDegreesoffreedomMeansquareFP-valueTreatmentSSTRkminus1MSTRequalsStartfraction.SSTRoverkminus1Endfraction.Startfraction.MSTRoverMSEEMPTYCELLBlocksSSBLbminus1MSBLequalsStartfraction.SSBLoverbminus1Endfraction.EMPTYCELLEMPTYCELLErrorSSELeftparenthesiskminus1rightparenthesisleftparenthesisbminus1rightparenthesisMSEequalsStartfraction.SSEoverleftparenthesiskminus1rightparenthesisleftparenthesisbminus1rightparenthesisEMPTYCELLEMPTYCELLTotalSSTnsubscripttbaselineminus1EMPTYCELLEMPTYCELLEMPTYCELL47RandomizedBlockDesign(4of9)Example:CrescentOilCo.CrescentOilhasdevelopedthreenewblendsofgasolineandmustdecidewhichblendorblendstoproduceanddistribute.Astudyofthemilespergallonratingsofthethreeblendsisbeingconductedtodetermineifthemeanratingsarethesameforthethreeblends.Fiveautomobileshavebeentestedusingeachofthethreegasolineblendsandthemilespergallonratingsareshownonthenextslide.Factor…GasolineblendTreatments…BlendX,BlendY,BlendZBlocks…AutomobilesResponsevariable…Milespergallon48RandomizedBlockDesign(5of9)Automobile(Block)TypeofGasoline(Treatment)BlendXTypeofGasoline(Treatment)BlendYTypeofGasoline(Treatment)BlendZBlockMeans131303030.333230292929.333329292828.667433312931.000526252625.667TreatmentMeans29.828.828.4EMPTYCELL49RandomizedBlockDesign(6of9)MeanSquareDuetoTreatmentsMeanSquareDuetoBlocksMeanSquareDuetoError50RandomizedBlockDesign(7of9)ANOVATableSourceofvariationSumofsquaresDegreesofFreedomMeanSquareFp-valueTreatment5.2022.603.82.07Blocks51.33412.80EMPTYCELLEMPTYCELLError5.478.68EMPTYCELLEMPTYCELLTotal62.0014EMPTYCELLEMPTYCELLEMPTYCELL51RandomizedBlockDesign(8of9)RejectionRule52RandomizedBlockDesign(9of9)TestStatistic

53FactorialExperimentInsomeexperimentswewanttodrawconclusionsaboutmorethanonevariableorfactor.FactorialexperimentsandtheircorrespondingANOVAcomputationsarevaluabledesignswhensimultaneousconclusionsabouttwoormorefactorsarerequired.Thetermfactorialisusedbecausetheexperimentalconditionsincludeallpossiblecombinationsofthefactors.Forexample,foralevelsoffactorAandblevelsoffactorB,theexperimentwillinvolvecollectingdataonabtreatmentcombinations.54Two-FactorFactorialExperiment(1of9)

55Two-FactorFactorialExperiment(2of9)SourceofvariationSumofsquares

DegreesoffreedomMeansquareFTreatmentSSTRKminus1MSTRequalsStartfraction.SSTRoverkminus1Endfraction.Startfraction.MSTRoverMSE.Endfraction.BlocksSSBLBminus1MSBLequalsStartfraction.SSBLoverbminus1Endfraction.Startfraction.MSBoverMSE.Endfraction.ErrorSSELeftparenthesiskminus1rightparenthesisleftparenthesisbminus1rightparenthesisMSEequalsStartfraction.SSEoverleftparenthesiskminus1rightparenthesisleftparenthesisbminus1rightparenthesisStartfraction.MSAB

overMSE.Endfraction.TotalSSTNsubscripttbaselineminus1EmptycellEmptycellSourceofvariationSumofsquares

DegreesoffreedomMeansquareF56Two-FactorFactorialExperiment(3of9)Step1:Computethetotalsumofsquares.Step2:ComputethesumofsquaresforfactorA.Step3:ComputethesumofsquaresforfactorB.57Two-FactorFactorialExperiment(4of9)Step4:Computethesumofsquaresforinteraction.Step5:Computethesumofsquaresduetoerror.SSE=SST–SSA–SSB–SSAB58Two-FactorFactorialExperiment(5of9)Example:StateofOhioWageSurveyAsurveywasconductedofhourlywagesforasampleofworkersintwoindustriesatthreelocationsinOhio.Partofthepurposeofthesurveywastodetermineifdifferencesexistinbothindustrytypeandlocation.Thesampledataareshownhere.IndustryCincinnatiClevelandColumbusI$12.10$11.80$12.90I11.8011.2012.70I12.1012.0012.20II12.4012.0012.10II12.5012.0012.10II12.0012.5012.7059Two-FactorFactorialExperiment(6of9)FactorsFactorA:IndustryType(2levels)FactorB:Location(3levels)ReplicationsEachexperimentalconditionisrepeated3times60Two-FactorFactorialExperiment(7of9)ANOVATableSourceofVariationSumofSquaresDegreeofFreedomMeanSquareFP-valueFactorA.501.504.19.06FactorB

1.122.564.69.03Interaction.372.191.55.25Error1.4312.12Total3.421761Two-FactorFactorialExperiment(8of9)ConclusionsusingthecriticalvalueapproachIndustries:Locations:Interactions:62Two-FactorFactorialExperiment(9of9)Conclusionsusingthep-valueapproachIndustries:Locations:Interactions:63Statisticsfor

BusinessandEconomics(14e)

MetricVersionAnderson,Sweeney,Williams,Camm,Cochran,Fry,Ohlmann©2020CengageLearning©2020Cengage.Maynotbescanned,copiedorduplicated,orpostedtoapubliclyaccessiblewebsite,inwholeorinpart,exceptforuseaspermittedinalicensedistributedwithacertainproductorserviceorotherwiseonapassword-protectedwebsiteorschool-approvedlearningmanagementsystemforclassroomuse.64Chapter14-SimpleLinearRegression14.1-SimpleLinearRegressionModel14.2-LeastSquaresMethod14.3-CoefficientofDetermination14.4-ModelAssumptions14.5-TestingforSignificance14.6-UsingtheEstimatedRegressionEquationforEstimationandPrediction14.7-ComputerSolution14.8-ResidualAnalysis:ValidatingModelAssumptions14.9-ResidualAnalysis:OutliersandInfluentialObservations14.10-PracticalAdvice:BigDataandHypothesisTestinginSimpleLinearRegression65SimpleLinearRegression(1of2)Managerialdecisionsoftenarebasedontherelationshipbetweentwoormorevariables.Regressionanalysiscanbeusedtodevelopanequationshowinghowthevariablesarerelated.Thevariablebeingpredictediscalledthedependentvariableandisdenotedbyy.Thevariablesbeingusedtopredictthevalueofthedependentvariablearecalledtheindependentvariablesandaredenotedbyx.66SimpleLinearRegression(2of2)Simplelinearregressioninvolvesoneindependentvariableandonedependentvariable.Therelationshipbetweenthetwovariablesisapproximatedbyastraightline.Regressionanalysisinvolvingtwoormoreindependentvariablesiscalledmultipleregression.67SimpleLinearRegressionModelTheequationthatdescribeshowyisrelatedtoxandanerrortermiscalledtheregressionmodel.Thesimplelinearregressionmodelis68SimpleLinearRegressionEquation(1of4)ThesimplelinearregressionequationisThegraphoftheregressionequationisastraightline.69SimpleLinearRegressionEquation(2of4)PositiveLinearRelationship70SimpleLinearRegressionEquation(3of4)NegativeLinearRelationship71SimpleLinearRegressionEquation(4of4)NoRelationship72EstimatedSimpleLinearRegressionEquationTheestimatedsimplelinearregressionequation:73EstimationProcess74LeastSquaresMethod(1of3)LeastSquaresCriterion75LeastSquaresMethod(2of3)SlopefortheEstimatedRegressionEquation76LeastSquaresMethod(3of3)

77SimpleLinearRegressionReedAutoperiodicallyhasaspecialweek-longsale.Aspartoftheadvertisingcampaign,Reedrunsoneormoretelevisioncommercialsduringtheweekendprecedingthesale.Herearethedatafromasampleof5previoussales:NumberofTVAdsleftparenthesisxrightparenthesisNumberofCarsSold

leftparenthesisyrightparenthesis114324218117427Upperepsilonequals10Upperepsilonsubscriptybaselineequals100Xoverbarequals2Yoverbarequals2078EstimatedRegressionEquationSlopefortheestimatedregressionequation

EstimatedRegressionEquation:79UsingExcel’sChartToolsforScatterDiagram&EstimatedRegressionEquation80CoefficientofDetermination(1of3)RelationshipAmongSST,SSR,SSEwhere: SST=totalsumofsquares SSR=sumofsquaresduetoregression SSE=sumofsquaresduetoerror81CoefficientofDetermination(2of3)Thecoefficientofdeterminationis:where: SSR=sumofsquaresduetoregression SST=totalsumofsquares82CoefficientofDetermination(3of3)Theregressionrelationshipisverystrong;87.72%ofthevariabilityinthenumberofcarssoldcanbeexplainedbythelinearrelationshipbetweenthenumberofTVadsandthenumberofcarssold.83UsingExceltoComputetheCoefficientofDeterminationAddingr2ValuetoScatterDiagram84SampleCorrelationCoefficient(1of2)

85SampleCorrelationCoefficient(2of2)86

87TestingforSignificance

(1of3)

88TestingforSignificance(2of3)AnEstimateofσ2Themeansquareerror(MSE)providestheestimateofσ2,andthenotations2isalsoused.

89TestingforSignificance(3of3)Toestimateσ,wetakethesquarerootofs2.Theresultingsiscalledthestandarderroroftheestimate.90TestingforSignificance:tTest(1of4)Hypotheses:TestStatistic:91TestingforSignificance:tTest(2of4)RejectionRule:where:tα/2

isbasedonatdistributionwithn–2degreesoffreedom92TestingforSignificance:tTest(3of4)93TestingforSignificance:tTest(4of4)94

95

96

97

Hypotheses: TestStatistic:RejectionRule: 98

99

Computethevalueoftheteststatistic.

100SomeCautionsabouttheInterpretationofSignificanceTests

101UsingtheEstimatedRegressionEquationforEstimationandPrediction(1of2)

102UsingtheEstimatedRegressionEquationforEstimationandPrediction(2of2)

103PointEstimationIf3TVadsarerunpriortoasale,weexpectthemeannumberofcarssoldtobe:104

105

The95%confidenceintervalestimateofthemeannumberofcarssoldwhen3TVadsarerunis:106

107

The95%predictionintervalestimateofthenumberofcarssoldinoneparticularweekwhen3TVadsarerunis:108ComputerSolutionUptothispoint,youhaveseenhowExcelcanbeusedforvariouspartsofaregressionanalysis.ExcelalsohasacomprehensivetoolinitsDataAnalysispackagecalledRegression.TheRegressiontoolcanbeusedtoperformacompleteregressionanalysis.Performingtheregressionanalysiscomputationswithoutthehelpofacomputercanbequitetimeconsuming.OnthenextslideweshowMinitaboutputfortheReedAutoSalesexample.RecallthattheindependentvariablewasnamedAdsandthedependentvariablewasnamedCarsintheexample.109MinitabOutput(1of2)PredictorCoefSECoefTPConstant10.0002.3664.230.024Ads5.00001.0804.630.019SOURCEDFSSMSFPRegression110010021.430.019ResidualErr.3144.667EmptycellEmptycellTotal4114EmptycellEmptycellEmptycellObsFitSEFit95%C.I.95%P.I.1251.45(20.39,29.61)(16.72,33.28)110MinitabOutput(2of2)

MinitabprintstheestimatedregressionequationasCars=10+5Ads.Foreachofthecoefficientsb0andb1,theoutputshowsitsvalue,standarddeviation,tvalue,andp-value.Minitabprintsthestandarderroroftheestimate,s,aswellasinformationaboutthegoodnessoffit.ThestandardANOVAtableisprinted.Alsoprovidedarethe95%confidenceintervalestimateoftheexpectednumberofcarssoldandthe95%predictionintervalestimateofthenumberofcarssoldforanindividualweekendwith3ads.111UsingExcel’sRegressionTool

(1of4)

ExcelOutput(topportion)ABC910RegressionStatisticsRegressionStatistics11MultipleR0.93658581212RSquare0.87719298213AdjustedRSquare0.8362573114StandardError2.16024689915Observations516112UsingExcel’sRegressionTool(2of4)

ExcelOutput(middleportion)ABCDEF1617ANOVA1

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论