15.075 Notes, Multiple Linear Regression

3y ago
42 Views
2 Downloads
240.21 KB
5 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Callan Shouse
Transcription

Chapter 11 : Multiple Linear RegressionWe have:height weight . . . ageperson 1:person 2::x11x21x12x22.x1kx2kamount oflemonade purchasedy1y2where we assumeYi β0 β1 xi1 β2 xi2 · · · βk xik tifor i 1, . . . , n and ti N (0, σ 2 ). The xi· ’s are not random.Is there any way we can fit something that isn’t linear? Like a polynomial?We can do least squares to find β̂0 , β̂1 , . . . , β̂k : Minimize Q where:(yi (β0 β1 xi1 β2 xi2 · · · βk xik ))2 .Q iSolve it the same way as we did in Chapter 10: set Q/ βj 0 for all j. In thiscase, we’ll let the computer solve it for us. So now we have all the β̂j ’s.To assess the goodness of fit, again define:(yi ŷi )2 where ŷi β̂0 β̂1 xi1 β̂2 xi2 · · · β̂k xikSSE iand compare with:(yi ȳ)2 .SST iAgain, SSR SST- SSE.The coefficient of “multiple” determination is :r2 SSRSSE 1 .SSTSST1(1)

This time, by convention,SSE.SSTThe square root is only positive, since it is not meaningful to assign an associationbetween y and multiple x’s.r 1 For hypothesis testing, we’ll need to know:1. Each of the coefficients obeys:βˆj N (βj , σ 2 Vjj )where Vjj is the j’th diagonal entry of V (X ' X) 1 , j 0, 1, · · · , k2. Because we don’t know σ 2 , we use SE(βˆj ) s Vjjwhere s2 SSEn (k 1)We could do the hypothesis tests on each βj :H0j : βj βj0H1j : βj βj0 .Reject H0j when βˆj βj0 tj tn (k 1),α/2SE(βˆj )and thus if βj0 0:H0j : βj 0H1j : βj 0.Reject H0j when tj βˆj tn (k 1),α/2 .SE(βˆj )2

Or we could test all βj ’s simultaneously:H0 : β1 β2 · · · βk 0H1 : βi 0 for at least one i.Reject H0 when F fk,n (k 1),α where:M SRF M SESSRkSSEn (k 1)n2i 1 (yˆi ȳ) kn2i 1 (yi yˆi ).n (k 1)Both the numerator and the denominator look like sample variances so youM SRcould see the intuition why MSE has an F-distribution.Equivalently:M SRF M SESSRr2 SST(?)k (1 r2k)SSTSSEn (k 1)n (k 1) r2 (n k 1)k(1 r2 )Where did the (?) step come from?Note: The F-test above does not tell you which βj s are nonzero.But then how do you do that?Note: Beware of multicollinearity, meaning that some of the factors in themodel can be determined from the others (i.e. they are linearly dependent).Example: for savings, income, expenditure wheresavings income - expenditure.This makes computation numerically unstable and βˆj are not statistically signif icant. To avoid this, use only income and expenditure, not savings. (Or savingsand income, not expenditure, etc.)3

Corresponding ANOVA regression tableSource of variation sum of squaresRegressionSSRErrorSSETotalSSTd.f.Mean SquarekMSR n (k 1) MSE SSRkFF pMSRMSEp-valueSSEn (k 1)n 1We can also put the hypothesis tests for the individual βj ’s in a table:predictorSEβˆ0SE(βˆ0 )βˆ1SE(βˆ1 ).βˆkSE(βˆk )t-statisticp-valuet βˆ0SE(βˆ0 )p-valuet βˆ1SE(βˆ1 )p-value.t 4βˆkSE(βˆk ).p-value

MIT OpenCourseWarehttp://ocw.mit.edu15.075J / ESD.07J Statistical Thinking and Data AnalysisFall 2011For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

Note: The F-test above does not tell you which β . 15.075 Notes, Multiple Linear Regression Author: 15.075 Faculty and Staff Created Date: 12/5/2011 11:52:35 PM .

Related Documents:

CK-100 QCV-100V Lug Body Cover Part No. Corresponding Key Corresponding Repair Kit Corresponding Swivel Single 1-piece Locking Non-Locking QCV-075VL QCV-075V CK-075 RK-075 Double 2-piece Locking Non-Locking QCV-075VL2 QCV-075V2 CK2-075 RK2-075 Quick Coupler Valve (QCV) - 3/4” QCS-1 Lug Body Cover Part No. Corresponding Key

Future value of an ordinary annuity Present value of an ordinary annuity Annuities due Perpetuities Deferred annuities Summary of annuities. . rate was (a) 9% convertible monthly (b) 12% convertible monthly R 150; t 3;m 12è n 36; j 12 0.09; è i 0.075 500 1 1 0.075 36 36 0.075 150 H 0.075 014717.02 .

Multiple Linear Regression Linear relationship developed from more than 1 predictor variable Simple linear regression: y b m*x y β 0 β 1 * x 1 Multiple linear regression: y β 0 β 1 *x 1 β 2 *x 2 β n *x n β i is a parameter estimate used to generate the linear curve Simple linear model: β 1 is the slope of the line

SKF Linear Motion linear rail INA Linear SKF Linear Motion Star Linear Thomson Linear linear sysTems Bishop-Wisecarver INA Linear Pacific Bearing Thomson Linear mecHanical acTuaTors Duff-Norton Joyce/Dayton Nook Industries Precision mecHanical comPonenTs PIC Design Stock Drive Product

6.00 300 600-075 300 600-100 750 1000 17000 22500 12.75 9.00 5.00 5.730 9.437 1.06 3.88 _ _ .38 4.88 1.1 3.11 0 sae 8 3.000 .000 - .003 7.00 300 700-075 300 700-100 300 700-150 750 1000 1500 30000 36000 50000 14.75 10.00 6.50 6.580 10.625 1.19 3.88 _ _ .75 7.325 1.375 4.73 0 sae 8 3.500 .000 - .003 8.00 350 800-075 350 800-100 350 800-150 750 .

Days on Market (Sold Homes) Monthly Supply of Inventory 1.6 Absorption Rate (Closed Sales) 61.3 1,075,000 1,166,000 86 70 81 26 1,096 1,075 -2% 623 -2% 11186 -23% 6770 4% 6881 19% 26 0% 1.1 -31% 94.2 54% Redondo Beach 1,075 1,166 - 200 400 600 800 1,000 1,200 1,400 1,600 Oct 2019 Nov 2019 Dec 2019 Jan 2020 Feb 2020 Mar 2020 Apr .

APAS-100-P APAS-075-P PAS-100 PAS-075 CP-075 CP-100. 4 Anti-Siphon Valves Anti-siphon valves are an inexpensive choice and easy to install and maintain. The built-in anti-siphon backflow device prevents potential contamination of household wa-

astrology has nowhere to go but "up" as an undeniable diagnostic tool that will pinpoint areas to be tested. In doing so, it saves the patient pain and time—not to mention, money. '.it-. In the hospitals of Leningrad, Russia, the MST software is being utilized by physicians to help in patient diagnosis—especially in the areas of undiagnosible or hard-to-diagnose patients. My hope is that .