




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
Chapter13MultipleRegressionBusinessStatistics,AFirstCourse4thEdition1商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社LearningObjectivesInthischapter,youlearn:
HowtodevelopamultipleregressionmodelHowtointerprettheregressioncoefficientsHowtodeterminewhichindependentvariablestoincludeintheregressionmodelHowtousecategoricalvariablesinaregressionmodelHowtousequadratictermsinaregressionmodel2商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社TheMultipleRegressionModelIdea:Examinethelinearrelationshipbetween1dependent(Y)&2ormoreindependentvariables(Xi)MultipleRegressionModelwithkIndependentVariables:Y-interceptPopulationslopesRandomError3商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社MultipleRegressionEquationThecoefficientsofthemultipleregressionmodelareestimatedusingsampledataEstimated(orpredicted)valueofYEstimatedslopecoefficientsMultipleregressionequationwithkindependentvariables:EstimatedinterceptInthischapterwewillalwaysuseExceltoobtaintheregressionslopecoefficientsandotherregressionsummarymeasures.4商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社TwovariablemodelYX1X2SlopeforvariableX1SlopeforvariableX2MultipleRegressionEquation(continued)5商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社Example:
2IndependentVariablesAdistributoroffrozendesertpieswantstoevaluatefactorsthoughttoinfluencedemandDependentvariable:Piesales(unitsperweek)Independentvariables:Price(in$)
Advertising($100’s)Dataarecollectedfor15weeks6商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社PieSalesExampleSales=b0+b1(Price) +b2(Advertising)WeekPieSalesPrice($)Advertising($100s)13505.503.324607.503.333508.003.044308.004.553506.803.063807.504.074304.503.084706.403.794507.003.5104905.004.0113407.203.5123007.903.2134405.904.0144505.003.5153007.002.7Multipleregressionequation:7商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社MultipleRegressionOutputRegressionStatisticsMultipleR0.72213RSquare0.52148AdjustedRSquare0.44172StandardError47.46341Observations15ANOVA
dfSSMSFSignificanceFRegression229460.02714730.0136.538610.01201Residual1227033.3062252.776Total1456493.333
CoefficientsStandardErrortStatP-valueLower95%Upper95%Intercept306.52619114.253892.682850.0199357.58835555.46404Price-24.9750910.83213-2.305650.03979-48.57626-1.37392Advertising74.1309625.967322.854780.0144917.55303130.708888商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社TheMultipleRegressionEquationb1=-24.975:saleswilldecrease,onaverage,by24.975piesperweekforeach$1increaseinsellingprice,netoftheeffectsofchangesduetoadvertisingb2=74.131:saleswillincrease,onaverage,by74.131piesperweekforeach$100increaseinadvertising,netoftheeffectsofchangesduetopricewhere SalesisinnumberofpiesperweekPriceisin$Advertisingisin$100’s.9商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社UsingTheEquationtoMakePredictionsPredictsalesforaweekinwhichthesellingpriceis$5.50andadvertisingis$350:Predictedsalesis428.62piesNotethatAdvertisingisin$100’s,so$350meansthatX2=3.510商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社PredictionsinExcelusingPHStatPHStat|regression|multipleregression…Checkthe“confidenceandpredictionintervalestimates”box11商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社InputvaluesPredictionsinPHStat(continued)
PredictedYvalue<ConfidenceintervalforthemeanYvalue,giventheseX’s<PredictionintervalforanindividualYvalue,giventheseX’s<12商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社Coefficientof
MultipleDeterminationReportstheproportionoftotalvariationinYexplainedbyallXvariablestakentogether13商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社RegressionStatisticsMultipleR0.72213RSquare0.52148AdjustedRSquare0.44172StandardError47.46341Observations15ANOVA
dfSSMSFSignificanceFRegression229460.02714730.0136.538610.01201Residual1227033.3062252.776Total1456493.333
CoefficientsStandardErrortStatP-valueLower95%Upper95%Intercept306.52619114.253892.682850.0199357.58835555.46404Price-24.9750910.83213-2.305650.03979-48.57626-1.37392Advertising74.1309625.967322.854780.0144917.55303130.7088852.1%ofthevariationinpiesalesisexplainedbythevariationinpriceandadvertisingMultipleCoefficientof
Determination(continued)14商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社Adjustedr2r2neverdecreaseswhenanewXvariableisaddedtothemodelThiscanbeadisadvantagewhencomparingmodelsWhatistheneteffectofaddinganewvariable?WeloseadegreeoffreedomwhenanewXvariableisaddedDidthenewXvariableaddenoughexplanatorypowertooffsetthelossofonedegreeoffreedom?15商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社ShowstheproportionofvariationinYexplainedbyallXvariablesadjustedforthenumberofX
variablesused
(wheren=samplesize,k=numberofindependentvariables)PenalizeexcessiveuseofunimportantindependentvariablesSmallerthanr2UsefulincomparingamongmodelsAdjustedr2(continued)16商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社RegressionStatisticsMultipleR0.72213RSquare0.52148AdjustedRSquare0.44172StandardError47.46341Observations15ANOVA
dfSSMSFSignificanceFRegression229460.02714730.0136.538610.01201Residual1227033.3062252.776Total1456493.333
CoefficientsStandardErrortStatP-valueLower95%Upper95%Intercept306.52619114.253892.682850.0199357.58835555.46404Price-24.9750910.83213-2.305650.03979-48.57626-1.37392Advertising74.1309625.967322.854780.0144917.55303130.7088844.2%ofthevariationinpiesalesisexplainedbythevariationinpriceandadvertising,takingintoaccountthesamplesizeandnumberofindependentvariables(continued)Adjustedr217商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社IstheModelSignificant?FTestforOverallSignificanceoftheModelShowsifthereisalinearrelationshipbetweenalloftheXvariablesconsideredtogetherandYUseF-teststatisticHypotheses:H0:β1=β2=…=βk=0(nolinearrelationship)H1:atleastoneβi≠0(atleastoneindependent variableaffectsY)
18商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社FTestforOverallSignificanceTeststatistic:
whereFhas (numerator)=kand (denominator)=(n–k-1)
degreesoffreedom
19商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社RegressionStatisticsMultipleR0.72213RSquare0.52148AdjustedRSquare0.44172StandardError47.46341Observations15ANOVA
dfSSMSFSignificanceFRegression229460.02714730.0136.538610.01201Residual1227033.3062252.776Total1456493.333
CoefficientsStandardErrortStatP-valueLower95%Upper95%Intercept306.52619114.253892.682850.0199357.58835555.46404Price-24.9750910.83213-2.305650.03979-48.57626-1.37392Advertising74.1309625.967322.854780.0144917.55303130.70888(continued)FTestforOverallSignificanceWith2and12degreesoffreedomP-valuefortheFTest20商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社H0:β1=β2=0H1:β1andβ2notbothzero=.05df1=2df2=12TestStatistic:Decision:Conclusion:SinceFteststatisticisintherejectionregion(p-value<.05),rejectH0ThereisevidencethatatleastoneindependentvariableaffectsY0
=.05F.05=3.885RejectH0DonotrejectH0CriticalValue:F=3.885FTestforOverallSignificance(continued)F21商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社TwovariablemodelYX1X2YiYi<x2ix1i
Thebestfitequation,Y,isfoundbyminimizingthesumofsquarederrors,e2<SampleobservationResidualsinMultipleRegressionResidual=ei=(Yi–Yi)<22商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社MultipleRegressionAssumptionsAssumptions:TheerrorsarenormallydistributedErrorshaveaconstantvarianceThemodelerrorsareindependentei=(Yi–Yi)<Errors(residuals)fromtheregressionmodel:23商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社ResidualPlotsUsed
inMultipleRegressionTheseresidualplotsareusedinmultipleregression:Residualsvs.YiResidualsvs.X1iResidualsvs.X2iResidualsvs.time(iftimeseriesdata)<Usetheresidualplotstocheckforviolationsofregressionassumptions24商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社AreIndividualVariablesSignificant?UsettestsofindividualvariableslopesShowsifthereisalinearrelationshipbetweenthevariableXjandYHypotheses:H0:βj=0(nolinearrelationship)H1:βj≠0(linearrelationshipdoesexist betweenXjandY)25商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社AreIndividualVariablesSignificant?H0:βj=0(nolinearrelationship)H1:βj≠0(linearrelationshipdoesexist betweenxjandy)TestStatistic: (df=n–k–1)(continued)26商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社RegressionStatisticsMultipleR0.72213RSquare0.52148AdjustedRSquare0.44172StandardError47.46341Observations15ANOVA
dfSSMSFSignificanceFRegression229460.02714730.0136.538610.01201Residual1227033.3062252.776Total1456493.333
CoefficientsStandardErrortStatP-valueLower95%Upper95%Intercept306.52619114.253892.682850.0199357.58835555.46404Price-24.9750910.83213-2.305650.03979-48.57626-1.37392Advertising74.1309625.967322.854780.0144917.55303130.70888t-valueforPriceist=-2.306,withp-value.0398t-valueforAdvertisingist=2.855,withp-value.0145(continued)AreIndividualVariablesSignificant?27商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社d.f.=15-2-1=12=.05t/2=2.1788InferencesabouttheSlope:
t
TestExampleH0:βi=0H1:βi
0Theteststatisticforeachvariablefallsintherejectionregion(p-values<.05)ThereisevidencethatbothPriceandAdvertisingaffectpiesalesat=.05FromExceloutput:RejectH0foreachvariable
CoefficientsStandardErrortStatP-valuePrice-24.9750910.83213-2.305650.03979Advertising74.1309625.967322.854780.01449Decision:Conclusion:RejectH0RejectH0a/2=.025-tα/2DonotrejectH00tα/2a/2=.025-2.17882.178828商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社ConfidenceIntervalEstimate
fortheSlopeConfidenceintervalforthepopulationslopeβjExample:Forma95%confidenceintervalfortheeffectofchangesinprice(X1)onpiesales:-24.975±(2.1788)(10.832)Sotheintervalis(-48.576,-1.374)(Thisintervaldoesnotcontainzero,sopricehasasignificanteffectonsales)
CoefficientsStandardErrorIntercept306.52619114.25389Price-24.9750910.83213Advertising74.1309625.96732wherethas(n–k–1)d.f.Here,thas(15–2–1)=12d.f.29商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社ConfidenceIntervalEstimate
fortheSlopeConfidenceintervalforthepopulationslopeβiExample:Exceloutputalsoreportstheseintervalendpoints:Weeklysalesareestimatedtobereducedbybetween1.37to48.58piesforeachincreaseof$1inthesellingprice
CoefficientsStandardError…Lower95%Upper95%Intercept306.52619114.25389…57.58835555.46404Price-24.9750910.83213…-48.57626-1.37392Advertising74.1309625.96732…17.55303130.70888(continued)30商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社UsingDummyVariablesAdummyvariableisacategoricalexplanatoryvariablewithtwolevels:yesorno,onoroff,maleorfemalecodedas0or1RegressioninterceptsaredifferentifthevariableissignificantAssumesequalslopesforothervariables31商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社Dummy-VariableExampleLet:Y=piesalesX1=priceX2=holiday(X2=1ifaholidayoccurredduringtheweek) (X2=0iftherewasnoholidaythatweek)32商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社SameslopeDummy-VariableExample(continued)X1(Price)Y(sales)b0+b2b0
HolidayNoHolidayDifferentinterceptHoliday(X2=1)NoHoliday(X2=0)IfH0:β2=0isrejected,then“Holiday”hasasignificanteffectonpiesales33商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社Sales:numberofpiessoldperweekPrice:piepricein$Holiday:InterpretingtheDummyVariableCoefficientExample:1Ifaholidayoccurredduringtheweek0Ifnoholidayoccurredb2=15:onaverage,saleswere15piesgreaterinweekswithaholidaythaninweekswithoutaholiday,giventhesameprice34商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社InteractionBetweenIndependentVariablesHypothesizesinteractionbetweenpairsofXvariablesResponsetooneXvariablemayvaryatdifferentlevelsofanotherXvariableContainscross-productterm
35商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社EffectofInteractionGiven:
Withoutinteractionterm,effectofX1onYismeasuredbyβ1Withinteractionterm,effectofX1onYismeasuredbyβ1+β3X2EffectchangesasX2changes36商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社X2=1:Y=1+2X1+3(1)+4X1(1)=4+6X1
X2=0:Y=1+2X1+3(0)+4X1(0)=1+2X1
InteractionExampleSlopesaredifferentiftheeffectofX1onYdependsonX2valueX148120010.51.5Y=1+2X1+3X2+4X1X2
SupposeX2isadummyvariableandtheestimatedregressionequationis37商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社TherelationshipbetweenthedependentvariableandanindependentvariablemaynotbelinearCanreviewthescatterdiagramtocheckfornon-linearrelationshipsExample:QuadraticmodelThesecondindependentvariableisthesquareofthefirstvariableNonlinearRelationships38商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社QuadraticRegressionModelwhere:
β0=Yintercept
β1=regressioncoefficientforlineareffectofXonY
β2=regressioncoefficientforquadraticeffectonY
εi=randomerrorinYforobservationiModelform:39商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社LinearfitdoesnotgiverandomresidualsLinearvs.NonlinearFitNonlinearfitgivesrandomresidualsXresidualsXYXresidualsYX40商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社QuadraticRegressionModelQuadraticmodelsmaybeconsideredwhenthescatterdiagramtakesononeofthefollowingshapes:X1YX1X1YYYβ1<0β1>0β1<0β1>0β1=thecoefficientofthelineartermβ2=thecoefficientofthesquaredtermX1β2>0β2>0β2<0β2<041商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社TestingtheOverall
QuadraticModelTestforOverallRelationship H0:β1=β2=0(nooverallrelationshipbetweenXandY) H1:
β1and/orβ2≠0(thereisarelationshipbetweenXandY)F-teststatistic=Estimatethequadraticmodeltoobtaintheregressionequation:
42商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社TestingforSignificance:QuadraticEffectTestingtheQuadraticEffectComparequadraticregressionequation
withthelinearregressionequation43商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社TestingforSignificance:QuadraticEffectTestingtheQuadraticEffectConsiderthequadraticregressionequation
Hypotheses(Thequadratictermdoesnotimprovethemodel)(Thequadratictermimprovesthemodel)H0:β2=0H1:β2
0(continued)44商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社TestingforSignificance:QuadraticEffectTestingtheQuadraticEffect
Hypotheses(Thequadratictermdoesnotimprovethemodel)(Thequadratictermimprovesthemodel)TheteststatisticisH0:β2=0H1:β2
0(continued)where:b2=squaredtermslopecoefficient
β2=hypothesizedslope(zero)Sb=standarderroroftheslope245商務(wù)統(tǒng)計(jì)學(xué)第13章出版社:中國人民大學(xué)出版社TestingforSignificance:QuadraticEffectTestingtheQuadraticEffect
Comparer2fromsimpleregressionto adjustedr2fromthequadraticmodelI
溫馨提示
- 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)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 分期房產(chǎn)合同范本
- 收款付款合同范本
- 京東送包車合同范本
- 單位門頭安裝合同范本
- 醫(yī)用氧氣購銷合同范本
- 助理就業(yè)合同范本
- 包裝材料銷毀合同范本
- 傳媒剪輯合同范本
- 醫(yī)生參加培訓(xùn)合同范本
- 勞務(wù)配送合同范本
- 2024年重慶客運(yùn)駕駛員考試卷及答案
- API設(shè)計(jì)與文檔規(guī)范
- 民兵知識小常識
- 圖形的平移與旋轉(zhuǎn)壓軸題(7個類型55題)-【??級狠S題】2023-2024學(xué)年八年級數(shù)學(xué)下冊壓軸題攻略(解析版)
- TDALN 033-2024 學(xué)生飲用奶安全規(guī)范入校管理標(biāo)準(zhǔn)
- 各地分布式光伏項(xiàng)目電價對比
- JT-T-775-2016大跨度斜拉橋平行鋼絲拉索
- 醫(yī)學(xué)檢驗(yàn)技術(shù)專業(yè)《血液學(xué)檢驗(yàn)》課程標(biāo)準(zhǔn)
- 2024年江蘇食品藥品職業(yè)技術(shù)學(xué)院單招職業(yè)技能測試題庫有完整答案
- 員工服務(wù)意識提升提高服務(wù)意識培訓(xùn)課件
- 2024年黑龍江農(nóng)業(yè)工程職業(yè)學(xué)院單招職業(yè)適應(yīng)性測試題庫1套
評論
0/150
提交評論