SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Downloaden Sie, um offline zu lesen
Chapter 16

 ISDS 2001
  Matt Levy
General Linear Model

The regression models we have been looking at, (Simple Linear
Regression, Multiple Regression) are part of a larger family of models.

This is referred to as the General Linear Model.

We extend the notation of the regression model to yield the GLM:

y = β0 + β1z1 + β2z2 + ... + βpzp + ε

Where the independent variables zj is a function of x1, ... xk, which are
the actual variables on which data is collected.

This allows us to model more complex relationships.
Modeling Curvilinear Relationships

It is quite possible your data may not fit to a line, but rather to a
curved line. -- Figure 16.1 gives a good example of this using 1
independent variable.

For example, a second order model with 1 predictor variable
has the following notation:

y = β0 + β1x1 + β2x12 + ε

Notice we now have two β's with 1 independent variable.
Modeling Curvilinear Relationships
So two big questions:

1. How do we know we have a curvilinear relationship?
2. How do we account for this in our calculations?

For Question 1:
    This is why it is important to understand all the ways we can
    analyze our data.
        What does our scatter plot look like?
        What do our F and t tests reveal?
        Are there any patterns with respect to our standardized
        residuals?
For Question 2:
    To use a model like the one on the previous slide, in Excel we
    would simply create a new column for the squared variable.
Interaction Terms
There will be times when it is more fruitful to model the joint effect two (or more)
variables will have on a response.

When developing a model, we may see the combined effects of two variables
help us form a better prediction.

In that case we can add an interaction term to the model.

The following is a model with an interaction term:

y = β0 + β1x1 + β2x2 + β3x1x2 + ε

Knowing that the joint effects yield a better predictive model may lead us to
using an interaction term.

In general, when performing a regression analysis this model will undoubtedly
undergo several iterations. Luckily we have tools like Excel, SAS, SPSS, R, etc.
which make it very easy for us to change this and find new estimates.
Transformations of the Dependent
Variableexamples we showed transformations of the independent
In the previous
variables.

It might be worthwhile to consider a transformation of the dependent variable...
why, you say?

We can use this as a tool to correct for non-constant variance. So we may still
apply our key assumptions.

A good way to check for non-constant variance is to look at the standardized
residuals.

There are two common types of transformations for the dependent variable:
 1. Modeling the log of the dependent variable:
     1. ln(y) = β0 + β1x1 + β2x2 + ε, then to get the actual y value, take eln(y)
 2. Modeling the reciprocal of the dependent variable:
     1. 1/y = β0 + β1x1 + β2x2 + ε

There is no way to tell which would be better without actually trying them out!
Nonlinear Models (That are intrinsically linear)
A model in which the parameters (β0, β1,..., βp) have exponents
of 1 are considered linear.

But even when these parameters do not have exponents of 1,
we can perform some transformations that allow us to do
regression analysis.

For example, we could have an exponential equation:
E(y) = β0β1x

That could then be transformed by taking the log of both sides:

log E(y) = log β0 + x log β1

Luckily, we don't see this too much in business statistics!
The End

Weitere ähnliche Inhalte

Was ist angesagt?

Logarithmic transformations
Logarithmic transformationsLogarithmic transformations
Logarithmic transformationsamylute
 
PRML Chapter 4
PRML Chapter 4PRML Chapter 4
PRML Chapter 4Sunwoo Kim
 
Artifact 3 clemson
Artifact 3 clemsonArtifact 3 clemson
Artifact 3 clemsonclemsonj11
 
Exponential formula presentation
Exponential formula presentationExponential formula presentation
Exponential formula presentationOliver Zhang
 
Linear Equation in Two Variables
Linear Equation in Two VariablesLinear Equation in Two Variables
Linear Equation in Two Variablesipracticemath
 
Distributed lag model
Distributed lag modelDistributed lag model
Distributed lag modelPawan Kawan
 
SWL Chapter 5
SWL Chapter 5SWL Chapter 5
SWL Chapter 5dmhall
 
International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)irjes
 
Transform as a vector? Tying functional parity with rotation angle of coordin...
Transform as a vector? Tying functional parity with rotation angle of coordin...Transform as a vector? Tying functional parity with rotation angle of coordin...
Transform as a vector? Tying functional parity with rotation angle of coordin...SayakBhattacharjee4
 
Hypothesis Test Selection Guide
Hypothesis Test Selection GuideHypothesis Test Selection Guide
Hypothesis Test Selection GuideLeanleaders.org
 

Was ist angesagt? (13)

D026017036
D026017036D026017036
D026017036
 
Logarithmic transformations
Logarithmic transformationsLogarithmic transformations
Logarithmic transformations
 
Econometric modelling
Econometric modellingEconometric modelling
Econometric modelling
 
PRML Chapter 4
PRML Chapter 4PRML Chapter 4
PRML Chapter 4
 
Artifact 3 clemson
Artifact 3 clemsonArtifact 3 clemson
Artifact 3 clemson
 
Exponential formula presentation
Exponential formula presentationExponential formula presentation
Exponential formula presentation
 
Linear Equation in Two Variables
Linear Equation in Two VariablesLinear Equation in Two Variables
Linear Equation in Two Variables
 
Distributed lag model
Distributed lag modelDistributed lag model
Distributed lag model
 
SWL Chapter 5
SWL Chapter 5SWL Chapter 5
SWL Chapter 5
 
Distribusi11
Distribusi11Distribusi11
Distribusi11
 
International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)
 
Transform as a vector? Tying functional parity with rotation angle of coordin...
Transform as a vector? Tying functional parity with rotation angle of coordin...Transform as a vector? Tying functional parity with rotation angle of coordin...
Transform as a vector? Tying functional parity with rotation angle of coordin...
 
Hypothesis Test Selection Guide
Hypothesis Test Selection GuideHypothesis Test Selection Guide
Hypothesis Test Selection Guide
 

Andere mochten auch

The power of RapidMiner, showing the direct marketing demo
The power of RapidMiner, showing the direct marketing demoThe power of RapidMiner, showing the direct marketing demo
The power of RapidMiner, showing the direct marketing demoWessel Luijben
 
Statisticsfor businessproject solution
Statisticsfor businessproject solutionStatisticsfor businessproject solution
Statisticsfor businessproject solutionhuynguyenbac
 
Financialmodeling
FinancialmodelingFinancialmodeling
FinancialmodelingTalal Tahir
 
Hadoop Summit EU 2013: Parallel Linear Regression, IterativeReduce, and YARN
Hadoop Summit EU 2013: Parallel Linear Regression, IterativeReduce, and YARNHadoop Summit EU 2013: Parallel Linear Regression, IterativeReduce, and YARN
Hadoop Summit EU 2013: Parallel Linear Regression, IterativeReduce, and YARNJosh Patterson
 
Qam formulas
Qam formulasQam formulas
Qam formulasAshu Jain
 
Regression
Regression Regression
Regression Ali Raza
 
Regression: A skin-deep dive
Regression: A skin-deep diveRegression: A skin-deep dive
Regression: A skin-deep diveabulyomon
 
ForecastIT 2. Linear Regression & Model Statistics
ForecastIT 2. Linear Regression & Model StatisticsForecastIT 2. Linear Regression & Model Statistics
ForecastIT 2. Linear Regression & Model StatisticsDeepThought, Inc.
 
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)mohamedchaouche
 
Chapt 11 & 12 linear & multiple regression minitab
Chapt 11 & 12 linear &  multiple regression minitabChapt 11 & 12 linear &  multiple regression minitab
Chapt 11 & 12 linear & multiple regression minitabBoyu Deng
 
Simple linear regression project
Simple linear regression projectSimple linear regression project
Simple linear regression projectJAPAN SHAH
 
Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear RegressionSharlaine Ruth
 
Statr session 23 and 24
Statr session 23 and 24Statr session 23 and 24
Statr session 23 and 24Ruru Chowdhury
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regressionMaria Theresa
 
Logistic regression for ordered dependant variable with more than 2 levels
Logistic regression for ordered dependant variable with more than 2 levelsLogistic regression for ordered dependant variable with more than 2 levels
Logistic regression for ordered dependant variable with more than 2 levelsArup Guha
 

Andere mochten auch (20)

The power of RapidMiner, showing the direct marketing demo
The power of RapidMiner, showing the direct marketing demoThe power of RapidMiner, showing the direct marketing demo
The power of RapidMiner, showing the direct marketing demo
 
Midterm
MidtermMidterm
Midterm
 
Statisticsfor businessproject solution
Statisticsfor businessproject solutionStatisticsfor businessproject solution
Statisticsfor businessproject solution
 
Financialmodeling
FinancialmodelingFinancialmodeling
Financialmodeling
 
Hadoop Summit EU 2013: Parallel Linear Regression, IterativeReduce, and YARN
Hadoop Summit EU 2013: Parallel Linear Regression, IterativeReduce, and YARNHadoop Summit EU 2013: Parallel Linear Regression, IterativeReduce, and YARN
Hadoop Summit EU 2013: Parallel Linear Regression, IterativeReduce, and YARN
 
Qam formulas
Qam formulasQam formulas
Qam formulas
 
Regression
Regression Regression
Regression
 
Regression: A skin-deep dive
Regression: A skin-deep diveRegression: A skin-deep dive
Regression: A skin-deep dive
 
ForecastIT 2. Linear Regression & Model Statistics
ForecastIT 2. Linear Regression & Model StatisticsForecastIT 2. Linear Regression & Model Statistics
ForecastIT 2. Linear Regression & Model Statistics
 
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)
[Xin yan, xiao_gang_su]_linear_regression_analysis(book_fi.org)
 
C2.1 intro
C2.1 introC2.1 intro
C2.1 intro
 
Chapt 11 & 12 linear & multiple regression minitab
Chapt 11 & 12 linear &  multiple regression minitabChapt 11 & 12 linear &  multiple regression minitab
Chapt 11 & 12 linear & multiple regression minitab
 
Simple linear regression project
Simple linear regression projectSimple linear regression project
Simple linear regression project
 
Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear Regression
 
Statr session 23 and 24
Statr session 23 and 24Statr session 23 and 24
Statr session 23 and 24
 
Ch14
Ch14Ch14
Ch14
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Logistic regression for ordered dependant variable with more than 2 levels
Logistic regression for ordered dependant variable with more than 2 levelsLogistic regression for ordered dependant variable with more than 2 levels
Logistic regression for ordered dependant variable with more than 2 levels
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Chapter13
Chapter13Chapter13
Chapter13
 

Ähnlich wie Chapter 16

Chapter6
Chapter6Chapter6
Chapter6Vu Vo
 
Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help HelpWithAssignment.com
 
Line of best fit lesson
Line of best fit lessonLine of best fit lesson
Line of best fit lessonReneeTorres11
 
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsData Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsDerek Kane
 
Linear logisticregression
Linear logisticregressionLinear logisticregression
Linear logisticregressionkongara
 
Machine Learning Algorithm - Linear Regression
Machine Learning Algorithm - Linear RegressionMachine Learning Algorithm - Linear Regression
Machine Learning Algorithm - Linear RegressionKush Kulshrestha
 
Ch 8 exponential equations and graphing
Ch 8 exponential equations and graphingCh 8 exponential equations and graphing
Ch 8 exponential equations and graphingswartzje
 
The linear regression model: Theory and Application
The linear regression model: Theory and ApplicationThe linear regression model: Theory and Application
The linear regression model: Theory and ApplicationUniversity of Salerno
 
Consistency of linear equations in two and three variables
Consistency of linear equations in two and three variablesConsistency of linear equations in two and three variables
Consistency of linear equations in two and three variablesAamlan Saswat Mishra
 
Heteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptxHeteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptxDevendraRavindraPati
 
Logistic regression
Logistic regressionLogistic regression
Logistic regressionAyurdata
 
Linear regression.pptx
Linear regression.pptxLinear regression.pptx
Linear regression.pptxssuserb8a904
 
Deep VI with_beta_likelihood
Deep VI with_beta_likelihoodDeep VI with_beta_likelihood
Deep VI with_beta_likelihoodNatan Katz
 

Ähnlich wie Chapter 16 (20)

Chapter6
Chapter6Chapter6
Chapter6
 
Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help
 
Line of best fit lesson
Line of best fit lessonLine of best fit lesson
Line of best fit lesson
 
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsData Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
 
Glm
GlmGlm
Glm
 
Chapter 14 Part I
Chapter 14 Part IChapter 14 Part I
Chapter 14 Part I
 
Linear logisticregression
Linear logisticregressionLinear logisticregression
Linear logisticregression
 
2- Introduction to Modeling.pdf
2- Introduction to Modeling.pdf2- Introduction to Modeling.pdf
2- Introduction to Modeling.pdf
 
Bus 173_6.pptx
Bus 173_6.pptxBus 173_6.pptx
Bus 173_6.pptx
 
Machine Learning Algorithm - Linear Regression
Machine Learning Algorithm - Linear RegressionMachine Learning Algorithm - Linear Regression
Machine Learning Algorithm - Linear Regression
 
Ch 8 exponential equations and graphing
Ch 8 exponential equations and graphingCh 8 exponential equations and graphing
Ch 8 exponential equations and graphing
 
t1s1_pdf.pdf
t1s1_pdf.pdft1s1_pdf.pdf
t1s1_pdf.pdf
 
The linear regression model: Theory and Application
The linear regression model: Theory and ApplicationThe linear regression model: Theory and Application
The linear regression model: Theory and Application
 
Talk 4
Talk 4Talk 4
Talk 4
 
Transform idea
Transform ideaTransform idea
Transform idea
 
Consistency of linear equations in two and three variables
Consistency of linear equations in two and three variablesConsistency of linear equations in two and three variables
Consistency of linear equations in two and three variables
 
Heteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptxHeteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptx
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Linear regression.pptx
Linear regression.pptxLinear regression.pptx
Linear regression.pptx
 
Deep VI with_beta_likelihood
Deep VI with_beta_likelihoodDeep VI with_beta_likelihood
Deep VI with_beta_likelihood
 

Mehr von Matthew L Levy

Mehr von Matthew L Levy (8)

Chapter 15R Lecture
Chapter 15R LectureChapter 15R Lecture
Chapter 15R Lecture
 
Chapter 14R
Chapter 14RChapter 14R
Chapter 14R
 
Chapter 5R
Chapter 5RChapter 5R
Chapter 5R
 
Chapter 4R Part II
Chapter 4R Part IIChapter 4R Part II
Chapter 4R Part II
 
Chapter 4 R Part I
Chapter 4 R Part IChapter 4 R Part I
Chapter 4 R Part I
 
Chapter 20 Lecture Notes
Chapter 20 Lecture NotesChapter 20 Lecture Notes
Chapter 20 Lecture Notes
 
Chapter 18 Part I
Chapter 18 Part IChapter 18 Part I
Chapter 18 Part I
 
Chapter 14 Part Ii
Chapter 14 Part IiChapter 14 Part Ii
Chapter 14 Part Ii
 

Kürzlich hochgeladen

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Kürzlich hochgeladen (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

Chapter 16

  • 1. Chapter 16 ISDS 2001 Matt Levy
  • 2. General Linear Model The regression models we have been looking at, (Simple Linear Regression, Multiple Regression) are part of a larger family of models. This is referred to as the General Linear Model. We extend the notation of the regression model to yield the GLM: y = β0 + β1z1 + β2z2 + ... + βpzp + ε Where the independent variables zj is a function of x1, ... xk, which are the actual variables on which data is collected. This allows us to model more complex relationships.
  • 3. Modeling Curvilinear Relationships It is quite possible your data may not fit to a line, but rather to a curved line. -- Figure 16.1 gives a good example of this using 1 independent variable. For example, a second order model with 1 predictor variable has the following notation: y = β0 + β1x1 + β2x12 + ε Notice we now have two β's with 1 independent variable.
  • 4. Modeling Curvilinear Relationships So two big questions: 1. How do we know we have a curvilinear relationship? 2. How do we account for this in our calculations? For Question 1: This is why it is important to understand all the ways we can analyze our data. What does our scatter plot look like? What do our F and t tests reveal? Are there any patterns with respect to our standardized residuals? For Question 2: To use a model like the one on the previous slide, in Excel we would simply create a new column for the squared variable.
  • 5. Interaction Terms There will be times when it is more fruitful to model the joint effect two (or more) variables will have on a response. When developing a model, we may see the combined effects of two variables help us form a better prediction. In that case we can add an interaction term to the model. The following is a model with an interaction term: y = β0 + β1x1 + β2x2 + β3x1x2 + ε Knowing that the joint effects yield a better predictive model may lead us to using an interaction term. In general, when performing a regression analysis this model will undoubtedly undergo several iterations. Luckily we have tools like Excel, SAS, SPSS, R, etc. which make it very easy for us to change this and find new estimates.
  • 6. Transformations of the Dependent Variableexamples we showed transformations of the independent In the previous variables. It might be worthwhile to consider a transformation of the dependent variable... why, you say? We can use this as a tool to correct for non-constant variance. So we may still apply our key assumptions. A good way to check for non-constant variance is to look at the standardized residuals. There are two common types of transformations for the dependent variable: 1. Modeling the log of the dependent variable: 1. ln(y) = β0 + β1x1 + β2x2 + ε, then to get the actual y value, take eln(y) 2. Modeling the reciprocal of the dependent variable: 1. 1/y = β0 + β1x1 + β2x2 + ε There is no way to tell which would be better without actually trying them out!
  • 7. Nonlinear Models (That are intrinsically linear) A model in which the parameters (β0, β1,..., βp) have exponents of 1 are considered linear. But even when these parameters do not have exponents of 1, we can perform some transformations that allow us to do regression analysis. For example, we could have an exponential equation: E(y) = β0β1x That could then be transformed by taking the log of both sides: log E(y) = log β0 + x log β1 Luckily, we don't see this too much in business statistics!