Chapter 10. What is Regression Analysis? Simple Linear Regression Analysis. Examples

Size: px
Start display at page:

Download "Chapter 10. What is Regression Analysis? Simple Linear Regression Analysis. Examples"

Transcription

1 Chapter 10 Smple Lnear Regresson Analyss What s Regresson Analyss? A statstcal technque that descrbes the relatonshp between a dependent varable and one or more ndependent varables. Examples Consder the relatonshp between constructon permts (x) and carpet sales (y) for a company. OR Relatonshp between advertsng expendtures and sales There probably s a relatonshp......as number of permts ncreases, sales should ncrease....set advertsng expendture and we can predct sales But how would we measure and quantfy ths relatonshp? Smple Lnear Regresson Model (SLR) Assume relatonshp to be lnear Y = a + bx + Where Y = dependent varable X = ndependent varable a = y-ntercept b = slope = random error 1

2 Random Error Component () Makes ths a probablstc model... Represents uncertanty random varaton not explaned by x Determnstc Model = Exact relatonshp Example: Temperature: o F = 9/5 o C + 3 Assets = Labltes + Equty Probablstc Model = Det. Model + Error Graphcally, SLR lne s dsplayed as lne of means 10 Y X Model Parameters a and b Estmated from the data Data collected as a par (x,y) Process of Developng SLR Model Hypothesze the model: E(Y) = a + bx Estmate Coeffcents yˆ aˆ bx ˆ Specfy dstrbuton of error term How adequate s the model? When model s approprate, use t for estmaton and predcton

3 Fttng the Straght-Lne Model Ordnary Least Squares (OLS) Once t s assumed that the model s Y = a + bx + Next we must collect the data Before estmatng parameters, we must ensure that the data follows a lnear trend Use scatterplot, scattergram, scatter dagram Monthly Carpet Sales A Scatter Plot of the Data Carpet Cty Problem Monthly Constructon Permts Assessng Ft Assessng Ft (Devatons) Monthly Carpet Sales Carpet Cty Problem Monthly Constructon Permts aka errors or resduals (r, e ) Dfference between the observed value of y and the predcted value of y e r Want r to be small y yˆ 3

4 Assessng Ft (Cont.) NOTE: Sum of the resduals s 0 e ( y yˆ ) 0 Least Squares Lne Fnd the lne that mnmzes y ŷ wth respect to the parameters Can ft many dfferent lnes; whch one s best? Lne that best fts the data s the one that mnmzes the sum of squares of the errors (SSE). Ths s the least squares lne. Recall that Mnmze yˆ aˆ bˆ x y aˆ bˆ x Least Squares Lne (Cont.) Example 1 Estmated parameters yeld smallest SSE Estmated coeffcents are gven by: ˆ SS b SS aˆ y bx ˆ SS SS xy xx xy xx x xy y x x The Central Company manufactures a certan specalty tem once a month n a batch producton run. The number of tems produced n each run vares from month to month as demand fluctuates. The company s nterested n the relatonshp between the sze of the producton run (x) and the number of man-hours of labor (y) requred for the run. The company has collected the followng data for the 10 most recent runs: 4

5 Example 1 (Cont.) Example 1 (Cont.) Run Number of tems Labor (man-hours) Estmated Regresson Equaton ŷ x Interpretaton of Regresson Equaton What does ths mean? ŷ x x = # of tems produces y = # of man-hours of labor State conclusons n terms of problem Intercept: when no tems are produced, the est. # of hrs. s Does ths make sense? No! Interpretaton (Cont.) When usng regresson to predct a response, the value of the ndependent varable must fall n the range of the orgnal data. Predctons made outsde of the range of the data s called EXTRAPOLATION and may have lttle or no valdty. In our example, our ndependent varable ranges from 30 to 90, and predctons should be made n ths range. 5

6 Interpretaton (Cont.) Slope: every unt change n x, the average value of y wll change by the slope In the example,.01 mples that for every tem produced, the average # of man-hours s expected to ncrease by.01. Example The Tr-Cty Offce Equpment Corporaton sells an mported desk calculator on a franchse bass and performs preventve mantenance and repar servce on ths calculator. Data has been collected from 18 recent calls on users to perform routne preventve mantenance servce; for each call, x s the number of machnes servced and y s the total number of mnutes spent by the servce person. Example (Cont.) Obtan Estmated Regresson Equaton SS bˆ SS xy xx aˆ y bx ˆ 64 x xy y x x yˆ x , Example (Cont.) Interpretatons Intercept: When no machnes are servced, the reparman spends an avg. of -.34 mnutes; Note that x=0 s probably not n the range of the data, so ntercept makes no sense. Slope: For each machne servced, we would expect approx mnutes of servce tme spent 6

7 Model Assumptons E() = 0 Var() = s normally dstrbuted I are ndependent Y The Nature of a Statstcal Relatonshp Regresson Curve Before performng regresson analyss, these assumptons should be valdated. Probablty dstrbutons for Y at dfferent levels of X X Assumptons for Regresson Descrptve Measures of Assocaton Coeffcent of Determnaton (R ) Unknown Relatonshp Y = X 7 7

8 Y Y Error Decomposton Y (actual value) Y -Y {* } Y -Y ^ ^ } Y (estmated value) Y ^ -Y Coeffcent of Determnaton (Cont.) 0 SSE SS yy 0 R 1 Larger R, the more varablty s explaned by the regresson model yˆ aˆ bx ˆ X Coeffcent of Determnaton (Cont.) Coeffcent of Determnaton (Cont.) Y X Y X 8

9 Correlaton Coeffcent (r) Postve square root of R aka Pearson product-moment correlaton coeffcent Untless -1 r 1 Descrbes the strength of the relatonshp between x and y Correlaton Coeffcent (r) Computatonal Formula SSxy r SSxxSSyy -1 mples strong negatve relatonshp 0 mples no relatonshp +1 mples strong postve relatonshp Measures of Assocaton (Cont.) Hgh correlaton does not mply causaton. What does ths mean? Estmaton and Predcton Satsfed wth the model, we can perform: Estmaton of the mean value of y for a gven value of x Predcton of a new observaton for a gven value of x Where do we expect to have the most success? 9

10 Estmaton & Predcton (Cont.) Scatter Plot of Correct Model The ftted SLR model s yˆ aˆ bx ˆ Estmatng y at a gven value of x, say x p, yelds the same value as predctng y at a gven value of x p. Dfference s n precson of the estmate... the samplng errors Y = X R = Scatter Plot of Curvlnear Model Scatter Plot of Outler Model Y = X R = Y = X R =

11 Scatter Plot of Influental Model Verfyng Assumptons Y = X R = Examnng Resdual Plots Regresson and Excel Excel also has a bult-n tool for performng regresson that: s easer to use provdes a lot more nformaton about the problem To nstall the Regresson tool, Tools AddIns Analyss ToolPak Then to perform the analyss Data Data Analyss Regresson 43 11

12 The TREND( ) Functon TREND(Y-range, X-range, X-value for predcton) where: Y-range s the spreadsheet range contanng the dependent Y varable, X-range s the spreadsheet range contanng the ndependent X varable(s), X-value for predcton s a cell (or cells) contanng the values for the ndependent X varable(s) for whch we want an estmated value of Y. Enterng the Central Company Data (see Example 1) Note: The TREND( ) functon s dynamcally updated whenever any nputs to the functon change. However, t does not provde the statstcal nformaton provded by the regresson tool. It s best to use these two dfferent approaches to regresson n conjuncton wth one another. Important Software Note Regresson Output When usng more than one ndependent varable, all varables for the X-range must be n one contguous block of cells (that s, n adjacent columns). SUMMARY OUTPUT Regresson Statstcs Multple R R Square Adjusted R Square Standard Error Observatons 10 ANOVA df SS MS F Sgnfcance F Regresson E-10 Resdual Total Coeffcents Standard Error t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0% Intercept Number of Items E

13 Regresson Plot Man-hours of Labor Central Company 00 y =.006x R = Number of Items Multple Regresson & Model Buldng Most regresson problems nvolve more than one ndependent varable. If each ndependent varable vares n a lnear manner wth y, the estmated regresson functon n ths case s: ˆ ˆ ˆ X ŷ a b1x 1 bx b k ˆ The optmal values for the b can agan be found by mnmzng the ESS. The resultng functon fts a hyperplane to our sample data. k Example Regresson Surface for Two Independent Varables Y * * * * * * ** * * * * * * * * ** * * * * * X X 1 13

14 Example Admssons data In SLR, we had x 1 = Entrance test score y = End of year GPA Suppose other factors nvolved x = HS GPA x 3 = SAT score Model becomes y = a + b 1 x 1 + b x + b 3 x 3 + Independent Varables May represent hgher-order terms x 1 = age x = age May be dummy/ndcator varables x 3 0, f female 1, f male May be functons of ndependent varables x 4 = prce x 5 = ndustry average prce x 6 = prce dfference = x 5 x 4 Steps to Developng Multple Regresson Model 1. Hypothesze the model: y = a + b 1 x b k x k +. Estmate coeffcents 3. Specfy dstrbuton of and estmate 4. Valdate model assumptons 5. Evaluate model adequacy 6. Use for estmaton and predcton Fttng the Model b represents the change n y wth respect to each unt change n x when ALL other x s are held constant Method of fttng s the same as n SLR Estmate b s to mnmze SSE Computatonally ntensve Use MS Excel 14

15 Multple Regresson Salsberry Realty Salsberry Realty sells homes along the east coast of the Unted States. One of the questons frequently asked by prospectve buyers s: If we purchase ths home, how much can we expect to pay to heat t durng the wnter? The research department at Salsberry has been asked to develop some gudelnes regardng heatng costs for sngle famly homes. Three varables are thought to relate to the heatng costs: (1) the mean daly outsde temperature, () the number of nches of nsulaton n the attc, and (3) the age of the furnace. To nvestgate, Salsberry s research department selected a random sample of 0 recently sold homes. They determned the cost to heat the home last January, as well as the mean outsde temperature durng January n the regon, the number of nches of nsulaton n the attc, and the age of the furnace. The sample nformaton s gven below. Home Multple Regresson Salsberry Realty Heatng Cost ($) Mean Outsde Temperature ( o F) Attc Insulaton (nches) Age of Furnace (years) Multple Regresson Salsberry Realty Determne the multple regresson equaton. Whch varables are the ndependent varables? Whch varable s the dependent varable? Use MS Excel to develop a regresson equaton. Dscuss the regresson coeffcents. Why does t ndcate that some are postve and some are negatve? What s the ntercept value? What s the estmated heatng cost for a home where the mean outsde temperature s 30 degrees, there are 5 nches of nsulaton n the attc, and the furnace s 10 years old? Multple Regresson Salsberry Realty The hypotheszed model s gven by y = a + b 1 x 1 + b x + b 3 x 3 + where y = heatng cost x 1 = mean outsde temp. x = attc nsulaton x 3 = age of furnace = random error 15

16 Scatterplot 1 Mean Temp. vs. Heatng Cost Scatterplot Attc Insulaton vs. Heatng Cost Heatng Cost Heatng Cost Mean Outsde Temperature Attc Insulaton Scatterplot 3 Age of Furnace vs. Heatng Cost Multple Regresson Salsberry Realty SUMMARY OUTPUT Heatng Cost Regresson Statstcs Multple R R Square Adjusted R Square Standard Error Observatons 0 ANOVA df SS MS F Sgnfcance F E-06 Regresson 3 Resdual Total Coeffcents Standard Error t Stat P-value Lower 95% Upper 95% Intercept E Mean Outsde E Temperature (F) Attc Insulaton (nches) Age of Furnace (years) Age of Furnace 16

17 Multple Regresson Salsberry Realty Estmated regresson equaton: ŷ x 14.83x 6.10 Dscusson Meanngful nterpretatons of coeffcents Check range of each ndependent varable 1 x3 Estmate the heatng cost for a mean outsde temp. of 30 0 F, there are 5 n. of nsulaton, and the furnace s 10 years old. Estmaton and Predcton Model Assumptons: Same as SLR : Estmaton of the varance, : s d SSE MSE n k 1 ~ N 0, Usng Dummy/Indcator Varables Qualtatve varables can also be used n the regresson model Dummy/ndcator or bnary (0, 1) varables denote the presence or absence of the varable of nterest Usng Dummy/Indcator Varables A qualtatve varable wth c classes wll be represented by (c-1) dummy/ndcator varables n the model, wth each takng on the values of 0 and 1. Example: Suppose we have an ndependent var. that represents type of det: Weght Watchers, Atkns, Body for Lfe, and Proten. Note we have 4 classes (c = 4) We wll need (c-1) = 3 varables n the model 17

18 Usng Dummy/Indcator Varables Types of Det could be modeled as: 1, f WW 0, otherwse x1 x x 3 1, f Atkns 0, otherwse 1, f BFL 0, otherwse Moton Pcture Industry Example A moton pcture ndustry analyst wants to estmate the gross earnngs generated by a move. The estmate wll be based on dfferent varables nvolved n the flm's producton. The ndependent varables consdered are X 1 = producton cost of the move and X = total cost of all promotonal actvtes. A thrd varable (X 3) that the analyst wants to consder s whether or not the move s based on a book publshed before the release of the move. The analyst obtans nformaton on a random sample of 0 Hollywood moves made wthn the last fve years. The data s gven n the followng table. The model could resemble: y = a + b 1 x 1 + b x + b 3 x 3 + Moton Pcture Industry Example Moton Pcture Industry Example Move Gross Earnngs, Mllons $ Producton Cost, Mllons $ Promoton Cost, Mllons $ Book No Yes Yes No Yes Yes No No Yes No Yes Yes No No Yes No Yes No Yes Yes Prepare a scatter plot of gross earnngs versus producton cost and promoton cost. Does there appear to be a lnear relatonshp between gross earnngs and ether producton cost or promoton cost. If the analyst were to use a smple lnear regresson model to predct gross earnngs, whch varable should be used? Explan. Determne the parameter estmates for the model gven by Yˆ ˆ ˆ aˆ b1 X1 b X Analyze the results. Determne the parameter estmates for the model gven by Yˆ ˆ ˆ ˆ aˆ b1 X1 b X b3 X 3 Does X 3 help explan the gross earnngs when X 1 and X are also n the model? Explan. 18

19 Gross Earnngs v. Promoton Cost Gross Earnngs v. Producton Cost Gross Earnngs Gross Earnngs Producton Cost Promoton Cost Moton Pcture Industry Example Wth smplcty n mnd, suppose we ft three smple lnear regresson functons: ŷ ŷ ŷ aˆ bˆ x 1 1 aˆ bˆ x aˆ bˆ 3x 3 Key regresson results are: Varables Adjusted Parameter n the Model R R S e Estmates X a=5.071, b 1 =5.57 X a=4.33, b =3.761 X a=35.111, b 3 = The model usng X accounts for 77.9% of the varaton n y, leavng approx. % unaccounted for. Moton Pcture Industry Example SUMMARY OUTPUT Regresson Statstcs Multple R R Square Adjusted R Square Standard Error Observatons 0 ANOVA df SS MS F Sgnfcance F Regresson E-11 Resdual Total Coeffcents Standard Error t Stat P-value Lower 95% Upper 95% Intercept Producton Cost E Promoton Cost E

20 Moton Pcture Industry Example Modelng earnngs usng producton and promoton costs yelds: ŷ x.37 1 x R = , whch mples 93.44% of the varaton n earnngs can be explaned by prod. and prom. costs. s = 5.05, whch s sgnfcantly less than ether of the SLR models Moton Pcture Industry Example SUMMARY OUTPUT Regresson Statstcs Multple R R Square Adjusted R Square Standard Error Observatons 0 ANOVA df SS MS F Sgnfcance F Regresson E-1 Resdual Total Coeffcents Standard Error t Stat P-value Lower 95% Upper 95% Intercept Producton Cost E Promoton Cost E Book Moton Pcture Industry Example Usng the full model: ŷ x 1.8x 7.17x 3 R ncreases to 96.67% and the std. error s reduced to Moton Pcture Industry Example Indcator varables revsted ŷ x 1.8x 7.17x 3 Note that x 3 takes on the values of 0 and 1. 0

21 Selectng the Model We want to dentfy the smplest model that adequately accounts for the systematc varaton n the dependent varable, y. Arbtrarly usng all of the ndependent varables may result n overfttng. Adjusted R Statstc As addtonal ndependent varables are added to a model: The R statstc can only ncrease. The Adjusted-R statstc can ncrease or decrease. R a SSE n 1 1 SSyy n k 1 Adjusted R R The R statstc can be artfcally nflated by addng any ndependent varable to the model. We can compare adjusted-r values as a heurstc to tell whether addng an addtonal ndependent varable really helps to mprove a regresson model. Moton Pcture Industry Example Key regresson results are: Varables Adjusted Parameter n the Model R R S e Estmates x a=5.071, b 1 =5.57 x 1 & x a=8.15, b 1 =3.67, b =.367 x 1, x &x a=7.836, b 1 =.848, b =.78, b 3 =7.166 The model usng x 1, x, and x 3 appears to be best: Hghest adjusted-r and hghest R Lowest s (most precse predcton ntervals) Estmaton and Predcton Same as n SLR Lke SLR, dfference les n the error of estmaton and predcton errors In multple regresson, these standard errors are complex and beyond the scope of ths class Wll rely on MS Excel output 1

22 Concerns Parameter Estmablty nablty of the model to estmate parameters because data s concentrated n one area data must nclude at least one more level of x than the hghest order of the x-varable that s ncluded n the model Multcollnearty relatonshp between two or more ndependent varables varables contrbutng the same nformaton f two or more varables are hghly correlated, then we only need one n the model Extrapolaton (already dscussed n SLR) Correlated Errors measurements on the dependent varable are correlated tme seres analyss Polynomal Regresson Sometmes the relatonshp between a dependent and ndependent varable s not lnear. Sellng Prce $175 $150 $15 $100 $75 $ Square Footage Ths graph suggests a quadratc relatonshp between square footage (X) and sellng prce (Y). Polynomal Regresson An approprate regresson functon n ths case mght be, ˆ ŷ aˆ bˆ x b or equvalently, ŷ where, aˆ bˆ x 1 1 x1 bˆ 1x1 x x 1 Sellng Prce Graph of Estmated Quadratc Regresson Functon $175 $150 $15 $100 $75 $ Square Footage

23 Fttng a Thrd Order Polynomal Model We could also ft a thrd order polynomal model, ˆ 3 Ŷ a bˆ X bˆ X b X1 or equvalently, Ŷ ˆ ˆ a b X1 bx where, X X 1 b3x 3 X X 1 ˆ Sellng Prce Graph of Estmated Thrd Order Polynomal Regresson Functon $175 $150 $15 $100 $75 $ Square Footage Polynomal Regresson Overfttng When fttng polynomal models, care must be taken to avod overfttng. The adj.-r statstc can also be used for buldng/fttng polynomal regresson models. We can gauge the amount of overfttng by Valdatng the ft, or usng a tranng sample to buld the model and a valdaton sample to examne ts estmaton or predcton accuracy. 3

Chapter 11: Simple Linear Regression and Correlation

Chapter 11: Simple Linear Regression and Correlation Chapter 11: Smple Lnear Regresson and Correlaton 11-1 Emprcal Models 11-2 Smple Lnear Regresson 11-3 Propertes of the Least Squares Estmators 11-4 Hypothess Test n Smple Lnear Regresson 11-4.1 Use of t-tests

More information

Statistics for Economics & Business

Statistics for Economics & Business Statstcs for Economcs & Busness Smple Lnear Regresson Learnng Objectves In ths chapter, you learn: How to use regresson analyss to predct the value of a dependent varable based on an ndependent varable

More information

Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 212. Chapters 14, 15 & 16. Professor Ahmadi, Ph.D. Department of Management

Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 212. Chapters 14, 15 & 16. Professor Ahmadi, Ph.D. Department of Management Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 1 Chapters 14, 15 & 16 Professor Ahmad, Ph.D. Department of Management Revsed August 005 Chapter 14 Formulas Smple Lnear Regresson Model: y =

More information

Statistics for Managers Using Microsoft Excel/SPSS Chapter 14 Multiple Regression Models

Statistics for Managers Using Microsoft Excel/SPSS Chapter 14 Multiple Regression Models Statstcs for Managers Usng Mcrosoft Excel/SPSS Chapter 14 Multple Regresson Models 1999 Prentce-Hall, Inc. Chap. 14-1 Chapter Topcs The Multple Regresson Model Contrbuton of Indvdual Independent Varables

More information

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6 Department of Quanttatve Methods & Informaton Systems Tme Seres and Ther Components QMIS 30 Chapter 6 Fall 00 Dr. Mohammad Zanal These sldes were modfed from ther orgnal source for educatonal purpose only.

More information

Statistics for Business and Economics

Statistics for Business and Economics Statstcs for Busness and Economcs Chapter 11 Smple Regresson Copyrght 010 Pearson Educaton, Inc. Publshng as Prentce Hall Ch. 11-1 11.1 Overvew of Lnear Models n An equaton can be ft to show the best lnear

More information

Statistics for Managers Using Microsoft Excel/SPSS Chapter 13 The Simple Linear Regression Model and Correlation

Statistics for Managers Using Microsoft Excel/SPSS Chapter 13 The Simple Linear Regression Model and Correlation Statstcs for Managers Usng Mcrosoft Excel/SPSS Chapter 13 The Smple Lnear Regresson Model and Correlaton 1999 Prentce-Hall, Inc. Chap. 13-1 Chapter Topcs Types of Regresson Models Determnng the Smple Lnear

More information

Introduction to Regression

Introduction to Regression Introducton to Regresson Dr Tom Ilvento Department of Food and Resource Economcs Overvew The last part of the course wll focus on Regresson Analyss Ths s one of the more powerful statstcal technques Provdes

More information

Chapter 15 Student Lecture Notes 15-1

Chapter 15 Student Lecture Notes 15-1 Chapter 15 Student Lecture Notes 15-1 Basc Busness Statstcs (9 th Edton) Chapter 15 Multple Regresson Model Buldng 004 Prentce-Hall, Inc. Chap 15-1 Chapter Topcs The Quadratc Regresson Model Usng Transformatons

More information

Chapter 9: Statistical Inference and the Relationship between Two Variables

Chapter 9: Statistical Inference and the Relationship between Two Variables Chapter 9: Statstcal Inference and the Relatonshp between Two Varables Key Words The Regresson Model The Sample Regresson Equaton The Pearson Correlaton Coeffcent Learnng Outcomes After studyng ths chapter,

More information

Basic Business Statistics, 10/e

Basic Business Statistics, 10/e Chapter 13 13-1 Basc Busness Statstcs 11 th Edton Chapter 13 Smple Lnear Regresson Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc. Chap 13-1 Learnng Objectves In ths chapter, you learn: How to use regresson

More information

Comparison of Regression Lines

Comparison of Regression Lines STATGRAPHICS Rev. 9/13/2013 Comparson of Regresson Lnes Summary... 1 Data Input... 3 Analyss Summary... 4 Plot of Ftted Model... 6 Condtonal Sums of Squares... 6 Analyss Optons... 7 Forecasts... 8 Confdence

More information

Linear regression. Regression Models. Chapter 11 Student Lecture Notes Regression Analysis is the

Linear regression. Regression Models. Chapter 11 Student Lecture Notes Regression Analysis is the Chapter 11 Student Lecture Notes 11-1 Lnear regresson Wenl lu Dept. Health statstcs School of publc health Tanjn medcal unversty 1 Regresson Models 1. Answer What Is the Relatonshp Between the Varables?.

More information

Lecture 6: Introduction to Linear Regression

Lecture 6: Introduction to Linear Regression Lecture 6: Introducton to Lnear Regresson An Manchakul amancha@jhsph.edu 24 Aprl 27 Lnear regresson: man dea Lnear regresson can be used to study an outcome as a lnear functon of a predctor Example: 6

More information

1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands

1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands Content. Inference on Regresson Parameters a. Fndng Mean, s.d and covarance amongst estmates.. Confdence Intervals and Workng Hotellng Bands 3. Cochran s Theorem 4. General Lnear Testng 5. Measures of

More information

Chapter 13: Multiple Regression

Chapter 13: Multiple Regression Chapter 13: Multple Regresson 13.1 Developng the multple-regresson Model The general model can be descrbed as: It smplfes for two ndependent varables: The sample ft parameter b 0, b 1, and b are used to

More information

Statistics MINITAB - Lab 2

Statistics MINITAB - Lab 2 Statstcs 20080 MINITAB - Lab 2 1. Smple Lnear Regresson In smple lnear regresson we attempt to model a lnear relatonshp between two varables wth a straght lne and make statstcal nferences concernng that

More information

Chapter 15 - Multiple Regression

Chapter 15 - Multiple Regression Chapter - Multple Regresson Chapter - Multple Regresson Multple Regresson Model The equaton that descrbes how the dependent varable y s related to the ndependent varables x, x,... x p and an error term

More information

Chapter 14 Simple Linear Regression

Chapter 14 Simple Linear Regression Chapter 4 Smple Lnear Regresson Chapter 4 - Smple Lnear Regresson Manageral decsons often are based on the relatonshp between two or more varables. Regresson analss can be used to develop an equaton showng

More information

The Ordinary Least Squares (OLS) Estimator

The Ordinary Least Squares (OLS) Estimator The Ordnary Least Squares (OLS) Estmator 1 Regresson Analyss Regresson Analyss: a statstcal technque for nvestgatng and modelng the relatonshp between varables. Applcatons: Engneerng, the physcal and chemcal

More information

[The following data appear in Wooldridge Q2.3.] The table below contains the ACT score and college GPA for eight college students.

[The following data appear in Wooldridge Q2.3.] The table below contains the ACT score and college GPA for eight college students. PPOL 59-3 Problem Set Exercses n Smple Regresson Due n class /8/7 In ths problem set, you are asked to compute varous statstcs by hand to gve you a better sense of the mechancs of the Pearson correlaton

More information

Correlation and Regression

Correlation and Regression Correlaton and Regresson otes prepared by Pamela Peterson Drake Index Basc terms and concepts... Smple regresson...5 Multple Regresson...3 Regresson termnology...0 Regresson formulas... Basc terms and

More information

Learning Objectives for Chapter 11

Learning Objectives for Chapter 11 Chapter : Lnear Regresson and Correlaton Methods Hldebrand, Ott and Gray Basc Statstcal Ideas for Managers Second Edton Learnng Objectves for Chapter Usng the scatterplot n regresson analyss Usng the method

More information

Negative Binomial Regression

Negative Binomial Regression STATGRAPHICS Rev. 9/16/2013 Negatve Bnomal Regresson Summary... 1 Data Input... 3 Statstcal Model... 3 Analyss Summary... 4 Analyss Optons... 7 Plot of Ftted Model... 8 Observed Versus Predcted... 10 Predctons...

More information

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise.

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise. Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where y + = β + β e for =,..., y and are observable varables e s a random error How can an estmaton rule be constructed for the

More information

2016 Wiley. Study Session 2: Ethical and Professional Standards Application

2016 Wiley. Study Session 2: Ethical and Professional Standards Application 6 Wley Study Sesson : Ethcal and Professonal Standards Applcaton LESSON : CORRECTION ANALYSIS Readng 9: Correlaton and Regresson LOS 9a: Calculate and nterpret a sample covarance and a sample correlaton

More information

STATISTICS QUESTIONS. Step by Step Solutions.

STATISTICS QUESTIONS. Step by Step Solutions. STATISTICS QUESTIONS Step by Step Solutons www.mathcracker.com 9//016 Problem 1: A researcher s nterested n the effects of famly sze on delnquency for a group of offenders and examnes famles wth one to

More information

Correlation and Regression. Correlation 9.1. Correlation. Chapter 9

Correlation and Regression. Correlation 9.1. Correlation. Chapter 9 Chapter 9 Correlaton and Regresson 9. Correlaton Correlaton A correlaton s a relatonshp between two varables. The data can be represented b the ordered pars (, ) where s the ndependent (or eplanator) varable,

More information

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding Lecture 9: Lnear regresson: centerng, hypothess testng, multple covarates, and confoundng Sandy Eckel seckel@jhsph.edu 6 May 008 Recall: man dea of lnear regresson Lnear regresson can be used to study

More information

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding Recall: man dea of lnear regresson Lecture 9: Lnear regresson: centerng, hypothess testng, multple covarates, and confoundng Sandy Eckel seckel@jhsph.edu 6 May 8 Lnear regresson can be used to study an

More information

/ n ) are compared. The logic is: if the two

/ n ) are compared. The logic is: if the two STAT C141, Sprng 2005 Lecture 13 Two sample tests One sample tests: examples of goodness of ft tests, where we are testng whether our data supports predctons. Two sample tests: called as tests of ndependence

More information

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4) I. Classcal Assumptons Econ7 Appled Econometrcs Topc 3: Classcal Model (Studenmund, Chapter 4) We have defned OLS and studed some algebrac propertes of OLS. In ths topc we wll study statstcal propertes

More information

Chapter 14 Simple Linear Regression Page 1. Introduction to regression analysis 14-2

Chapter 14 Simple Linear Regression Page 1. Introduction to regression analysis 14-2 Chapter 4 Smple Lnear Regresson Page. Introducton to regresson analyss 4- The Regresson Equaton. Lnear Functons 4-4 3. Estmaton and nterpretaton of model parameters 4-6 4. Inference on the model parameters

More information

Linear Correlation. Many research issues are pursued with nonexperimental studies that seek to establish relationships among 2 or more variables

Linear Correlation. Many research issues are pursued with nonexperimental studies that seek to establish relationships among 2 or more variables Lnear Correlaton Many research ssues are pursued wth nonexpermental studes that seek to establsh relatonshps among or more varables E.g., correlates of ntellgence; relaton between SAT and GPA; relaton

More information

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Regression Analysis

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Regression Analysis Resource Allocaton and Decson Analss (ECON 800) Sprng 04 Foundatons of Regresson Analss Readng: Regresson Analss (ECON 800 Coursepak, Page 3) Defntons and Concepts: Regresson Analss statstcal technques

More information

e i is a random error

e i is a random error Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where + β + β e for,..., and are observable varables e s a random error How can an estmaton rule be constructed for the unknown

More information

Y = β 0 + β 1 X 1 + β 2 X β k X k + ε

Y = β 0 + β 1 X 1 + β 2 X β k X k + ε Chapter 3 Secton 3.1 Model Assumptons: Multple Regresson Model Predcton Equaton Std. Devaton of Error Correlaton Matrx Smple Lnear Regresson: 1.) Lnearty.) Constant Varance 3.) Independent Errors 4.) Normalty

More information

28. SIMPLE LINEAR REGRESSION III

28. SIMPLE LINEAR REGRESSION III 8. SIMPLE LINEAR REGRESSION III Ftted Values and Resduals US Domestc Beers: Calores vs. % Alcohol To each observed x, there corresponds a y-value on the ftted lne, y ˆ = βˆ + βˆ x. The are called ftted

More information

STAT 3008 Applied Regression Analysis

STAT 3008 Applied Regression Analysis STAT 3008 Appled Regresson Analyss Tutoral : Smple Lnear Regresson LAI Chun He Department of Statstcs, The Chnese Unversty of Hong Kong 1 Model Assumpton To quantfy the relatonshp between two factors,

More information

18. SIMPLE LINEAR REGRESSION III

18. SIMPLE LINEAR REGRESSION III 8. SIMPLE LINEAR REGRESSION III US Domestc Beers: Calores vs. % Alcohol Ftted Values and Resduals To each observed x, there corresponds a y-value on the ftted lne, y ˆ ˆ = α + x. The are called ftted values.

More information

January Examinations 2015

January Examinations 2015 24/5 Canddates Only January Examnatons 25 DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR STUDENT CANDIDATE NO.. Department Module Code Module Ttle Exam Duraton (n words)

More information

Lecture 3 Stat102, Spring 2007

Lecture 3 Stat102, Spring 2007 Lecture 3 Stat0, Sprng 007 Chapter 3. 3.: Introducton to regresson analyss Lnear regresson as a descrptve technque The least-squares equatons Chapter 3.3 Samplng dstrbuton of b 0, b. Contnued n net lecture

More information

x i1 =1 for all i (the constant ).

x i1 =1 for all i (the constant ). Chapter 5 The Multple Regresson Model Consder an economc model where the dependent varable s a functon of K explanatory varables. The economc model has the form: y = f ( x,x,..., ) xk Approxmate ths by

More information

Statistics II Final Exam 26/6/18

Statistics II Final Exam 26/6/18 Statstcs II Fnal Exam 26/6/18 Academc Year 2017/18 Solutons Exam duraton: 2 h 30 mn 1. (3 ponts) A town hall s conductng a study to determne the amount of leftover food produced by the restaurants n the

More information

Economics 130. Lecture 4 Simple Linear Regression Continued

Economics 130. Lecture 4 Simple Linear Regression Continued Economcs 130 Lecture 4 Contnued Readngs for Week 4 Text, Chapter and 3. We contnue wth addressng our second ssue + add n how we evaluate these relatonshps: Where do we get data to do ths analyss? How do

More information

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION MTH352/MH3510 Regression Analysis

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION MTH352/MH3510 Regression Analysis NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION 014-015 MTH35/MH3510 Regresson Analyss December 014 TIME ALLOWED: HOURS INSTRUCTIONS TO CANDIDATES 1. Ths examnaton paper contans FOUR (4) questons

More information

III. Econometric Methodology Regression Analysis

III. Econometric Methodology Regression Analysis Page Econ07 Appled Econometrcs Topc : An Overvew of Regresson Analyss (Studenmund, Chapter ) I. The Nature and Scope of Econometrcs. Lot s of defntons of econometrcs. Nobel Prze Commttee Paul Samuelson,

More information

β0 + β1xi. You are interested in estimating the unknown parameters β

β0 + β1xi. You are interested in estimating the unknown parameters β Ordnary Least Squares (OLS): Smple Lnear Regresson (SLR) Analytcs The SLR Setup Sample Statstcs Ordnary Least Squares (OLS): FOCs and SOCs Back to OLS and Sample Statstcs Predctons (and Resduals) wth OLS

More information

Activity #13: Simple Linear Regression. actgpa.sav; beer.sav;

Activity #13: Simple Linear Regression. actgpa.sav; beer.sav; ctvty #3: Smple Lnear Regresson Resources: actgpa.sav; beer.sav; http://mathworld.wolfram.com/leastfttng.html In the last actvty, we learned how to quantfy the strength of the lnear relatonshp between

More information

Regression Analysis. Regression Analysis

Regression Analysis. Regression Analysis Regresson Analyss Smple Regresson Multvarate Regresson Stepwse Regresson Replcaton and Predcton Error 1 Regresson Analyss In general, we "ft" a model by mnmzng a metrc that represents the error. n mn (y

More information

Interval Estimation in the Classical Normal Linear Regression Model. 1. Introduction

Interval Estimation in the Classical Normal Linear Regression Model. 1. Introduction ECONOMICS 35* -- NOTE 7 ECON 35* -- NOTE 7 Interval Estmaton n the Classcal Normal Lnear Regresson Model Ths note outlnes the basc elements of nterval estmaton n the Classcal Normal Lnear Regresson Model

More information

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also

More information

Biostatistics. Chapter 11 Simple Linear Correlation and Regression. Jing Li

Biostatistics. Chapter 11 Simple Linear Correlation and Regression. Jing Li Bostatstcs Chapter 11 Smple Lnear Correlaton and Regresson Jng L jng.l@sjtu.edu.cn http://cbb.sjtu.edu.cn/~jngl/courses/2018fall/b372/ Dept of Bonformatcs & Bostatstcs, SJTU Recall eat chocolate Cell 175,

More information

The SAS program I used to obtain the analyses for my answers is given below.

The SAS program I used to obtain the analyses for my answers is given below. Homework 1 Answer sheet Page 1 The SAS program I used to obtan the analyses for my answers s gven below. dm'log;clear;output;clear'; *************************************************************; *** EXST7034

More information

β0 + β1xi and want to estimate the unknown

β0 + β1xi and want to estimate the unknown SLR Models Estmaton Those OLS Estmates Estmators (e ante) v. estmates (e post) The Smple Lnear Regresson (SLR) Condtons -4 An Asde: The Populaton Regresson Functon B and B are Lnear Estmators (condtonal

More information

Polynomial Regression Models

Polynomial Regression Models LINEAR REGRESSION ANALYSIS MODULE XII Lecture - 6 Polynomal Regresson Models Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Test of sgnfcance To test the sgnfcance

More information

is the calculated value of the dependent variable at point i. The best parameters have values that minimize the squares of the errors

is the calculated value of the dependent variable at point i. The best parameters have values that minimize the squares of the errors Multple Lnear and Polynomal Regresson wth Statstcal Analyss Gven a set of data of measured (or observed) values of a dependent varable: y versus n ndependent varables x 1, x, x n, multple lnear regresson

More information

SIMPLE LINEAR REGRESSION

SIMPLE LINEAR REGRESSION Smple Lnear Regresson and Correlaton Introducton Prevousl, our attenton has been focused on one varable whch we desgnated b x. Frequentl, t s desrable to learn somethng about the relatonshp between two

More information

DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR. Introductory Econometrics 1 hour 30 minutes

DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR. Introductory Econometrics 1 hour 30 minutes 25/6 Canddates Only January Examnatons 26 Student Number: Desk Number:...... DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR Department Module Code Module Ttle Exam Duraton

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Experment-I MODULE VII LECTURE - 3 ANALYSIS OF COVARIANCE Dr Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Any scentfc experment s performed

More information

Diagnostics in Poisson Regression. Models - Residual Analysis

Diagnostics in Poisson Regression. Models - Residual Analysis Dagnostcs n Posson Regresson Models - Resdual Analyss 1 Outlne Dagnostcs n Posson Regresson Models - Resdual Analyss Example 3: Recall of Stressful Events contnued 2 Resdual Analyss Resduals represent

More information

Midterm Examination. Regression and Forecasting Models

Midterm Examination. Regression and Forecasting Models IOMS Department Regresson and Forecastng Models Professor Wllam Greene Phone: 22.998.0876 Offce: KMC 7-90 Home page: people.stern.nyu.edu/wgreene Emal: wgreene@stern.nyu.edu Course web page: people.stern.nyu.edu/wgreene/regresson/outlne.htm

More information

Chapter 8 Indicator Variables

Chapter 8 Indicator Variables Chapter 8 Indcator Varables In general, e explanatory varables n any regresson analyss are assumed to be quanttatve n nature. For example, e varables lke temperature, dstance, age etc. are quanttatve n

More information

STAT 405 BIOSTATISTICS (Fall 2016) Handout 15 Introduction to Logistic Regression

STAT 405 BIOSTATISTICS (Fall 2016) Handout 15 Introduction to Logistic Regression STAT 45 BIOSTATISTICS (Fall 26) Handout 5 Introducton to Logstc Regresson Ths handout covers materal found n Secton 3.7 of your text. You may also want to revew regresson technques n Chapter. In ths handout,

More information

Reminder: Nested models. Lecture 9: Interactions, Quadratic terms and Splines. Effect Modification. Model 1

Reminder: Nested models. Lecture 9: Interactions, Quadratic terms and Splines. Effect Modification. Model 1 Lecture 9: Interactons, Quadratc terms and Splnes An Manchakul amancha@jhsph.edu 3 Aprl 7 Remnder: Nested models Parent model contans one set of varables Extended model adds one or more new varables to

More information

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution Department of Statstcs Unversty of Toronto STA35HS / HS Desgn and Analyss of Experments Term Test - Wnter - Soluton February, Last Name: Frst Name: Student Number: Instructons: Tme: hours. Ads: a non-programmable

More information

ECONOMICS 351*-A Mid-Term Exam -- Fall Term 2000 Page 1 of 13 pages. QUEEN'S UNIVERSITY AT KINGSTON Department of Economics

ECONOMICS 351*-A Mid-Term Exam -- Fall Term 2000 Page 1 of 13 pages. QUEEN'S UNIVERSITY AT KINGSTON Department of Economics ECOOMICS 35*-A Md-Term Exam -- Fall Term 000 Page of 3 pages QUEE'S UIVERSITY AT KIGSTO Department of Economcs ECOOMICS 35* - Secton A Introductory Econometrcs Fall Term 000 MID-TERM EAM ASWERS MG Abbott

More information

x yi In chapter 14, we want to perform inference (i.e. calculate confidence intervals and perform tests of significance) in this setting.

x yi In chapter 14, we want to perform inference (i.e. calculate confidence intervals and perform tests of significance) in this setting. The Practce of Statstcs, nd ed. Chapter 14 Inference for Regresson Introducton In chapter 3 we used a least-squares regresson lne (LSRL) to represent a lnear relatonshp etween two quanttatve explanator

More information

Outline. Zero Conditional mean. I. Motivation. 3. Multiple Regression Analysis: Estimation. Read Wooldridge (2013), Chapter 3.

Outline. Zero Conditional mean. I. Motivation. 3. Multiple Regression Analysis: Estimation. Read Wooldridge (2013), Chapter 3. Outlne 3. Multple Regresson Analyss: Estmaton I. Motvaton II. Mechancs and Interpretaton of OLS Read Wooldrdge (013), Chapter 3. III. Expected Values of the OLS IV. Varances of the OLS V. The Gauss Markov

More information

Biostatistics 360 F&t Tests and Intervals in Regression 1

Biostatistics 360 F&t Tests and Intervals in Regression 1 Bostatstcs 360 F&t Tests and Intervals n Regresson ORIGIN Model: Y = X + Corrected Sums of Squares: X X bar where: s the y ntercept of the regresson lne (translaton) s the slope of the regresson lne (scalng

More information

Basically, if you have a dummy dependent variable you will be estimating a probability.

Basically, if you have a dummy dependent variable you will be estimating a probability. ECON 497: Lecture Notes 13 Page 1 of 1 Metropoltan State Unversty ECON 497: Research and Forecastng Lecture Notes 13 Dummy Dependent Varable Technques Studenmund Chapter 13 Bascally, f you have a dummy

More information

Properties of Least Squares

Properties of Least Squares Week 3 3.1 Smple Lnear Regresson Model 3. Propertes of Least Squares Estmators Y Y β 1 + β X + u weekly famly expendtures X weekly famly ncome For a gven level of x, the expected level of food expendtures

More information

Chapter 3. Two-Variable Regression Model: The Problem of Estimation

Chapter 3. Two-Variable Regression Model: The Problem of Estimation Chapter 3. Two-Varable Regresson Model: The Problem of Estmaton Ordnary Least Squares Method (OLS) Recall that, PRF: Y = β 1 + β X + u Thus, snce PRF s not drectly observable, t s estmated by SRF; that

More information

β0 + β1xi. You are interested in estimating the unknown parameters β

β0 + β1xi. You are interested in estimating the unknown parameters β Revsed: v3 Ordnar Least Squares (OLS): Smple Lnear Regresson (SLR) Analtcs The SLR Setup Sample Statstcs Ordnar Least Squares (OLS): FOCs and SOCs Back to OLS and Sample Statstcs Predctons (and Resduals)

More information

Scatter Plot x

Scatter Plot x Construct a scatter plot usng excel for the gven data. Determne whether there s a postve lnear correlaton, negatve lnear correlaton, or no lnear correlaton. Complete the table and fnd the correlaton coeffcent

More information

17 - LINEAR REGRESSION II

17 - LINEAR REGRESSION II Topc 7 Lnear Regresson II 7- Topc 7 - LINEAR REGRESSION II Testng and Estmaton Inferences about β Recall that we estmate Yˆ ˆ β + ˆ βx. 0 μ Y X x β0 + βx usng To estmate σ σ squared error Y X x ε s ε we

More information

Regression. The Simple Linear Regression Model

Regression. The Simple Linear Regression Model Regresson Smple Lnear Regresson Model Least Squares Method Coeffcent of Determnaton Model Assumptons Testng for Sgnfcance Usng the Estmated Regresson Equaton for Estmaton and Predcton Resdual Analss: Valdatng

More information

Chapter 3 Describing Data Using Numerical Measures

Chapter 3 Describing Data Using Numerical Measures Chapter 3 Student Lecture Notes 3-1 Chapter 3 Descrbng Data Usng Numercal Measures Fall 2006 Fundamentals of Busness Statstcs 1 Chapter Goals To establsh the usefulness of summary measures of data. The

More information

This column is a continuation of our previous column

This column is a continuation of our previous column Comparson of Goodness of Ft Statstcs for Lnear Regresson, Part II The authors contnue ther dscusson of the correlaton coeffcent n developng a calbraton for quanttatve analyss. Jerome Workman Jr. and Howard

More information

PHYS 450 Spring semester Lecture 02: Dealing with Experimental Uncertainties. Ron Reifenberger Birck Nanotechnology Center Purdue University

PHYS 450 Spring semester Lecture 02: Dealing with Experimental Uncertainties. Ron Reifenberger Birck Nanotechnology Center Purdue University PHYS 45 Sprng semester 7 Lecture : Dealng wth Expermental Uncertantes Ron Refenberger Brck anotechnology Center Purdue Unversty Lecture Introductory Comments Expermental errors (really expermental uncertantes)

More information

STAT 511 FINAL EXAM NAME Spring 2001

STAT 511 FINAL EXAM NAME Spring 2001 STAT 5 FINAL EXAM NAME Sprng Instructons: Ths s a closed book exam. No notes or books are allowed. ou may use a calculator but you are not allowed to store notes or formulas n the calculator. Please wrte

More information

Linear Regression Analysis: Terminology and Notation

Linear Regression Analysis: Terminology and Notation ECON 35* -- Secton : Basc Concepts of Regresson Analyss (Page ) Lnear Regresson Analyss: Termnology and Notaton Consder the generc verson of the smple (two-varable) lnear regresson model. It s represented

More information

Introduction to Dummy Variable Regressors. 1. An Example of Dummy Variable Regressors

Introduction to Dummy Variable Regressors. 1. An Example of Dummy Variable Regressors ECONOMICS 5* -- Introducton to Dummy Varable Regressors ECON 5* -- Introducton to NOTE Introducton to Dummy Varable Regressors. An Example of Dummy Varable Regressors A model of North Amercan car prces

More information

Here is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y)

Here is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y) Secton 1.5 Correlaton In the prevous sectons, we looked at regresson and the value r was a measurement of how much of the varaton n y can be attrbuted to the lnear relatonshp between y and x. In ths secton,

More information

Answers Problem Set 2 Chem 314A Williamsen Spring 2000

Answers Problem Set 2 Chem 314A Williamsen Spring 2000 Answers Problem Set Chem 314A Wllamsen Sprng 000 1) Gve me the followng crtcal values from the statstcal tables. a) z-statstc,-sded test, 99.7% confdence lmt ±3 b) t-statstc (Case I), 1-sded test, 95%

More information

a. (All your answers should be in the letter!

a. (All your answers should be in the letter! Econ 301 Blkent Unversty Taskn Econometrcs Department of Economcs Md Term Exam I November 8, 015 Name For each hypothess testng n the exam complete the followng steps: Indcate the test statstc, ts crtcal

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

More information

UNIVERSITY OF TORONTO. Faculty of Arts and Science JUNE EXAMINATIONS STA 302 H1F / STA 1001 H1F Duration - 3 hours Aids Allowed: Calculator

UNIVERSITY OF TORONTO. Faculty of Arts and Science JUNE EXAMINATIONS STA 302 H1F / STA 1001 H1F Duration - 3 hours Aids Allowed: Calculator UNIVERSITY OF TORONTO Faculty of Arts and Scence JUNE EXAMINATIONS 008 STA 30 HF / STA 00 HF Duraton - 3 hours Ads Allowed: Calculator LAST NAME: FIRST NAME: STUDENT NUMBER: Enrolled n (Crcle one): STA30

More information

Unit 10: Simple Linear Regression and Correlation

Unit 10: Simple Linear Regression and Correlation Unt 10: Smple Lnear Regresson and Correlaton Statstcs 571: Statstcal Methods Ramón V. León 6/28/2004 Unt 10 - Stat 571 - Ramón V. León 1 Introductory Remarks Regresson analyss s a method for studyng the

More information

7.1. Single classification analysis of variance (ANOVA) Why not use multiple 2-sample 2. When to use ANOVA

7.1. Single classification analysis of variance (ANOVA) Why not use multiple 2-sample 2. When to use ANOVA Sngle classfcaton analyss of varance (ANOVA) When to use ANOVA ANOVA models and parttonng sums of squares ANOVA: hypothess testng ANOVA: assumptons A non-parametrc alternatve: Kruskal-Walls ANOVA Power

More information

Module Contact: Dr Susan Long, ECO Copyright of the University of East Anglia Version 1

Module Contact: Dr Susan Long, ECO Copyright of the University of East Anglia Version 1 UNIVERSITY OF EAST ANGLIA School of Economcs Man Seres PG Examnaton 016-17 ECONOMETRIC METHODS ECO-7000A Tme allowed: hours Answer ALL FOUR Questons. Queston 1 carres a weght of 5%; Queston carres 0%;

More information

Lecture 4 Hypothesis Testing

Lecture 4 Hypothesis Testing Lecture 4 Hypothess Testng We may wsh to test pror hypotheses about the coeffcents we estmate. We can use the estmates to test whether the data rejects our hypothess. An example mght be that we wsh to

More information

Topic 7: Analysis of Variance

Topic 7: Analysis of Variance Topc 7: Analyss of Varance Outlne Parttonng sums of squares Breakdown the degrees of freedom Expected mean squares (EMS) F test ANOVA table General lnear test Pearson Correlaton / R 2 Analyss of Varance

More information

PubH 7405: REGRESSION ANALYSIS. SLR: INFERENCES, Part II

PubH 7405: REGRESSION ANALYSIS. SLR: INFERENCES, Part II PubH 7405: REGRESSION ANALSIS SLR: INFERENCES, Part II We cover te topc of nference n two sessons; te frst sesson focused on nferences concernng te slope and te ntercept; ts s a contnuaton on estmatng

More information

Lecture 2: Prelude to the big shrink

Lecture 2: Prelude to the big shrink Lecture 2: Prelude to the bg shrnk Last tme A slght detour wth vsualzaton tools (hey, t was the frst day... why not start out wth somethng pretty to look at?) Then, we consdered a smple 120a-style regresson

More information

Econ Statistical Properties of the OLS estimator. Sanjaya DeSilva

Econ Statistical Properties of the OLS estimator. Sanjaya DeSilva Econ 39 - Statstcal Propertes of the OLS estmator Sanjaya DeSlva September, 008 1 Overvew Recall that the true regresson model s Y = β 0 + β 1 X + u (1) Applyng the OLS method to a sample of data, we estmate

More information

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information

where I = (n x n) diagonal identity matrix with diagonal elements = 1 and off-diagonal elements = 0; and σ 2 e = variance of (Y X).

where I = (n x n) diagonal identity matrix with diagonal elements = 1 and off-diagonal elements = 0; and σ 2 e = variance of (Y X). 11.4.1 Estmaton of Multple Regresson Coeffcents In multple lnear regresson, we essentally solve n equatons for the p unnown parameters. hus n must e equal to or greater than p and n practce n should e

More information

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition)

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition) Count Data Models See Book Chapter 11 2 nd Edton (Chapter 10 1 st Edton) Count data consst of non-negatve nteger values Examples: number of drver route changes per week, the number of trp departure changes

More information

IV. Modeling a Mean: Simple Linear Regression

IV. Modeling a Mean: Simple Linear Regression IV. Modelng a Mean: Smple Lnear Regresson We have talked about nference for a sngle mean, for comparng two means, and for comparng several means. What f the mean of one varable depends on the value of

More information