Class Notes (837,484)
Canada (510,274)
MGSC 372 (10)
Lecture 3

MGSC 372 Lecture 3: Fall 2016 Semester Notes 3
Premium

8 Pages
31 Views
Unlock Document

Department
Management Science
Course
MGSC 372
Professor
Brian Smith
Semester
Fall

Description
4.185 4.589 𝑒 ≀ 𝑆 𝑇 𝑒 $65.69 ≀ 𝑆 ≀𝑇$98.40 Simple Linear Regression Review Simple Linear Regression Simple linear regression analysis is used to analyze the nature of the relationship between two variables. The dependent (response) variable is designated by π‘Œ and the independent (predictor) variable is designated by 𝑋. For a given independent variable, there may be many values of the dependent variable. The decision regarding which variable to designate π‘Œ and which variable to designate 𝑋 must be based upon theory, knowledge of the subject matter, and the objectives of the analysis. The relationship between the two variables is estimated and then used to make predictions for π‘Œ. Scatter Diagram A scatter diagram is a graph showing the shape and direction of the underlying relationship between the independent variable 𝑋 and the dependent variable π‘Œ. Observations are plotted in pairs (π‘₯,𝑦) with one variable plotted on each axis. Linear Relationships Between Two Variables Intercept and Slope The relationship between the two variables is described by a straight line mode in general form: True regression line: π‘Œ = 𝛽 0 𝛽 𝑋 1 πœ– or 𝐸 π‘Œ = 𝛽 + 𝛽 𝑋0 1 Estimatedregression line: Μ‚ Μ‚ Μ‚ π‘Œ = 𝛽 +0𝛽 𝑋 1 Parameter Estimation 𝛽0is a point estimation of 𝛽0 Μ‚ 𝛽1is a point estimation of 𝛽1 We note that 𝛽 and 𝛽 are variables while 𝛽 and 𝛽 are constants. 0 1 0 1 Simple Linear Regression Model Definitions of Terms 𝑋 = the independent (predictor) variable π‘Œ = the dependent (response) variable 𝛽0= the true π‘Œ-intercept 𝛽 = the true slope 1 πœ– = the error term Μ‚ 𝛽0= the estimated π‘Œ-intercept 𝛽 = the estimated slope 1 Simple Linear Regression Model Assumptions 1. In Simple Linear Regression, we have the assumption of linearity. 2. For each value of 𝑋 the π‘Œ values are normally distributed. 3. For each value of 𝑋 the variance of the π‘Œvalues is the same (homoscedasticity). 4. Independence (independent sample of π‘Œ are chosen for different values o𝑋 i.e. error terms are not correlated). Intercept and Slope The π‘Œ-intercept 𝛽0is the point on the π‘Œ-axis where the true regression line crosses and is the average value of π‘Œ when 𝑋 = 0. The slope of the true regression line1𝛽 represents the average change in π‘Œ when 𝑋 is increased by one unit. 𝛽0and 𝛽 1re called the parameters of the regression line. Residual Error The difference between an observed value π‘Œ and an estimated π‘Œ is called a residual. SSE - Sum of Squares Error 2 2 𝑆𝑆𝐸 = βˆ‘π‘’ = 𝑖 𝑦 βˆ’ 𝑦 𝑖 ̂𝑖) SSE represents the sum of the squared deviations between the observed π‘Œ-values in the data set and the π‘Œ-values predicted by the estimated regression line. This is the amountof variation in 𝒀 that is not explained by the regression line. Μ‚ Μ‚ Note: The Least Squares regression line is the line that has an intercep0 𝛽 and slope1𝛽 that will minimize SSE. Minimizing SSE To find the line that best fits the points in the scatter diagram, we minimize the quantity: 𝑆𝑆𝐸 = βˆ‘(π‘Œ βˆ’ π‘Œ) = βˆ‘(π‘Œ βˆ’ 𝛽 βˆ’ 𝛽 𝑋) Μ‚ Μ‚ 2 𝑖 𝑖 𝑖 0 1 Μ‚ Μ‚ We note that 𝑆𝑆𝐸 = 𝑓(𝛽 ,𝛽 0. W1 obtain the two partial derivatives: 𝛿(𝑆𝑆𝐸) 𝛿(𝑆𝑆𝐸) 𝛿𝛽̂ and 𝛿𝛽 0 1 And solve the equations: 𝛿(𝑆𝑆𝐸) = 0 and 𝛿(𝑆𝑆𝐸) = 0 𝛿𝛽̂0 𝛿𝛽̂1 Least Squares Estimates of Regression Parameters βˆ‘π‘₯𝑦 βˆ’ 𝑛π‘₯̅𝑦 Μ… 𝛽1= βˆ‘π‘₯ βˆ’ 𝑛π‘₯Μ… 2 𝛽0= 𝑦 Μ… βˆ’ 𝛽 1Μ… Interpretation of Regression Coefficients The regression equation is: π‘Œ = 7.905 + 0.715𝑋 𝛽1= 0.715 implies that, on average, a one unit increase in 𝑋 will result in an increase of 0.715 in π‘Œ, i.e. if advertising increases by $1000 then profit will increase, on average, by $715. 𝛽 = 7.905 implies that the average profit in stores with no advertising budget will be $7905. 0 Extrapolation The interpretation of 𝛽 0 7.905 is not reliable. The problem is that we are making a claim about a value of 𝑋 for which we have no experimental evidence. All of our experimental data is for values of 𝑋 in the range $3000 to $7000. Therefore we cannot make a reliable claim about the relationship between 𝑋 and π‘Œ when 𝑋 = 0. This is called extrapolation. Point Estimates The regression equation can be used to predict a value of π‘Œ based on a given value of 𝑋 by substituting the 𝑋-value into the regression line. Example Estimate the profit of a store which spends $3500 on advertising. Let 𝑋 = 3.5 Then π‘Œ = 7.905 + 0.715 3.5 = 10.4 (i.e. $10400) Caution: Do not use the regression line to predict π‘Œ with values of the independent variable significantly beyond the range of those represented in the sample. The nature of the relationship outside the range of 𝑋-values represented in the sample may not be linear and extrapolation may lead to false conclusions. Partitioning Total Deviation Μ… Total deviation = π‘Œ 𝑖 π‘Œ Unexplained deviation = π‘Œ βˆ’ 𝑖 ̂𝑖 Explained deviation = π‘Œ βˆ’π‘–π‘Œ Μ… Μ… Μ‚ Μ‚ Μ… π‘Œπ‘–βˆ’ π‘Œ = (π‘Œ βˆ’ 𝑖) + π‘–π‘Œ βˆ’ π‘Œ)𝑖 Total deviation = Unexplained deviation + Explained deviation Sum of Squares We can compute sums of squares in regression analysis and construct an analysis of variance (ANOVA) table for the regression. Partitioning Sums of Squares It can be shown that:
More Less

Related notes for MGSC 372

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit