SlideShare a Scribd company logo
Statistics One
Lecture 23
Generalized Linear Model
Two segments
•  Overview
•  Examples

2
Lecture 23 ~ Segment 1
Generalized Linear Model
Overview
Generalized Linear Model
•  An extension of the General Linear Model
that allows for non-normal distributions in
the outcome variable and therefore also
allows testing of non-linear relationships
between a set of predictors and the outcome
variable
4
Generalized Linear Model
•  Generalized Linear Model: GLM*
•  General Linear Model: GLM

5
General Linear Model (GLM)
•  GLM is the mathematical framework used in
many common statistical analyses, including
multiple regression and ANOVA

6
Characteristics of GLM
•  Linear: pairs of variables are assumed to
have linear relations
•  Additive: if one set of variables predict
another variable, the effects are thought to
be additive

7
Characteristics of GLM
•  BUT! This does not preclude testing nonlinear or non-additive effects

8
Characteristics of GLM
•  GLM can accommodate such tests, for
example, by
•  Transformation of variables

–  Transform so non-linear becomes linear

•  Moderation analysis

–  Fake the GLM into testing non-additive effects

9
GLM example
•  Simple regression
•  Y = B0 + B1X1 + e
•  Y = faculty salary
•  X1 = years since PhD

10
GLM example
•  Multiple regression
•  Y = B0 + B1X1 + B2X2 + B3X3 + e
•  Y = faculty salary
•  X1 = years since PhD
•  X2 = number of publications
•  X3 = (years x pubs)
11
Generalized linear model (GLM*)
•  Appropriate when simple transformations or
product terms are not sufficient

12
Generalized linear model (GLM*)
•  The “linear” model is allowed to generalize
to other forms by adding a “link function”

13
Generalized linear model (GLM*)
•  For example, in binary logistic regression,
the logit function was the link function

14
Binary logistic regression
•  ln(Ŷ / (1 - Ŷ)) = B0 + Σ(BkXk)
Ŷ = predicted value on the outcome variable Y
B0 = predicted value on Y when all X = 0
Xk = predictor variables
Bk = unstandardized regression coefficients
(Y – Ŷ) = residual (prediction error)
k = the number of predictor variables
15
Segment summary
•  GLM* is an extension of GLM that allows for
non-normal distributions in the outcome
variable and therefore also allows testing of
non-linear relationships between a set of
predictors and the outcome variable
16
Segment summary
•  Appropriate when simple transformations or
product terms are not sufficient

17
Segment summary
•  The “linear” model is allowed to generalize
to other forms by adding a “link function”

18
END SEGMENT
Lecture 23 ~ Segment 2
Generalized Linear Model
Examples
GLM* Examples
•  GLM* is an extension of GLM that allows for
non-normal distributions in the outcome
variable and therefore also allows testing of
non-linear relationships between a set of
predictors and the outcome variable
21
GLM* Examples
•  Appropriate when simple transformations or
product terms are not sufficient

22
GLM* Examples
•  The “linear” model is allowed to generalize
to other forms by adding a “link function”

23
GLM* Examples
•  Binary logistic regression

24
Binary logistic regression
GLM* Examples
•  In binary logistic regression, the logit
function served as the link function

26
GLM* Examples
•  ln(Ŷ / (1 - Ŷ)) = B0 + Σ(BkXk)
Ŷ = predicted value on the outcome variable Y
B0 = predicted value on Y when all X = 0
Xk = predictor variables
Bk = unstandardized regression coefficients
(Y – Ŷ) = residual (prediction error)
k = the number of predictor variables
27
GLM* Examples
•  More than 2 categories on the outcome
–  Multinomial logistic regression
•  A-1 logistic regression equations are formed
–  Where A = # of groups
–  One group serves as reference group
GLM* Examples
•  Another example is Poisson regression
•  Poission distributions are common with
“count data”
–  A number of events occurring in a fixed interval
of time

29
GLM* Examples
•  For example, the number of traffic accidents
as a function of weather conditions
–  Clear weather
–  Rain
–  Snow

30
Poisson regression

31
GLM* Examples
•  In Poisson regression, the log function
serves as the link function
•  Note: this example also has a categorical
predictor and would therefore also require
dummy coding
32
Segment summary
•  GLM* is an extension of GLM that allows for
non-normal distributions in the outcome
variable and therefore also allows testing of
non-linear relationships between a set of
predictors and the outcome variable
33
Segment summary
•  Appropriate when simple transformations or
product terms are not sufficient

34
Segment summary
•  The “linear” model is allowed to generalize
to other forms by adding a “link function”

35
END SEGMENT
END LECTURE 23

More Related Content

What's hot

Block Diagram For Control Systems.
Block Diagram For Control Systems.Block Diagram For Control Systems.
Block Diagram For Control Systems.
Suleyman Demirel University
 
Controlppt
ControlpptControlppt
Controlppt
Achal Parekh
 
SIGNIFICANCE OF BLOCK DIAGRAM AND SIGNAL FLOW GRAPH IN CONTROL SYSTEM
SIGNIFICANCE OF BLOCK DIAGRAM AND SIGNAL FLOW GRAPH IN CONTROL SYSTEMSIGNIFICANCE OF BLOCK DIAGRAM AND SIGNAL FLOW GRAPH IN CONTROL SYSTEM
SIGNIFICANCE OF BLOCK DIAGRAM AND SIGNAL FLOW GRAPH IN CONTROL SYSTEM
Dinesh Sharma
 
Block diagram representation 3
Block diagram representation 3Block diagram representation 3
Block diagram representation 3
Syed Saeed
 
Signal flow graph Mason’s Gain Formula
Signal flow graph Mason’s Gain Formula Signal flow graph Mason’s Gain Formula
Signal flow graph Mason’s Gain Formula
vishalgohel12195
 
Block diagram
Block diagramBlock diagram
Block diagram
yash patel
 
Adbms 40 heuristics in query optimization
Adbms 40 heuristics in query optimizationAdbms 40 heuristics in query optimization
Adbms 40 heuristics in query optimization
Vaibhav Khanna
 
Signal flow graph
Signal flow graphSignal flow graph
Signal flow graph
jani parth
 
Sfg 5
Sfg 5Sfg 5
Sfg 5
Syed Saeed
 
Sfg 5
Sfg 5Sfg 5
Sfg 5
Syed Saeed
 
Solar cell Modeling with Scaps 1-D
Solar cell Modeling with Scaps 1-D Solar cell Modeling with Scaps 1-D
Solar cell Modeling with Scaps 1-D
shubham mishra
 

What's hot (11)

Block Diagram For Control Systems.
Block Diagram For Control Systems.Block Diagram For Control Systems.
Block Diagram For Control Systems.
 
Controlppt
ControlpptControlppt
Controlppt
 
SIGNIFICANCE OF BLOCK DIAGRAM AND SIGNAL FLOW GRAPH IN CONTROL SYSTEM
SIGNIFICANCE OF BLOCK DIAGRAM AND SIGNAL FLOW GRAPH IN CONTROL SYSTEMSIGNIFICANCE OF BLOCK DIAGRAM AND SIGNAL FLOW GRAPH IN CONTROL SYSTEM
SIGNIFICANCE OF BLOCK DIAGRAM AND SIGNAL FLOW GRAPH IN CONTROL SYSTEM
 
Block diagram representation 3
Block diagram representation 3Block diagram representation 3
Block diagram representation 3
 
Signal flow graph Mason’s Gain Formula
Signal flow graph Mason’s Gain Formula Signal flow graph Mason’s Gain Formula
Signal flow graph Mason’s Gain Formula
 
Block diagram
Block diagramBlock diagram
Block diagram
 
Adbms 40 heuristics in query optimization
Adbms 40 heuristics in query optimizationAdbms 40 heuristics in query optimization
Adbms 40 heuristics in query optimization
 
Signal flow graph
Signal flow graphSignal flow graph
Signal flow graph
 
Sfg 5
Sfg 5Sfg 5
Sfg 5
 
Sfg 5
Sfg 5Sfg 5
Sfg 5
 
Solar cell Modeling with Scaps 1-D
Solar cell Modeling with Scaps 1-D Solar cell Modeling with Scaps 1-D
Solar cell Modeling with Scaps 1-D
 

Similar to Lecture slides stats1.13.l23.air

Generalized Linear Models in Spark MLlib and SparkR by Xiangrui Meng
Generalized Linear Models in Spark MLlib and SparkR by Xiangrui MengGeneralized Linear Models in Spark MLlib and SparkR by Xiangrui Meng
Generalized Linear Models in Spark MLlib and SparkR by Xiangrui Meng
Spark Summit
 
Generalized Linear Models in Spark MLlib and SparkR
Generalized Linear Models in Spark MLlib and SparkRGeneralized Linear Models in Spark MLlib and SparkR
Generalized Linear Models in Spark MLlib and SparkR
Databricks
 
Lecture slides stats1.13.l12.air
Lecture slides stats1.13.l12.airLecture slides stats1.13.l12.air
Lecture slides stats1.13.l12.air
atutor_te
 
Final generalized linear modeling by idrees waris iugc
Final generalized linear modeling by idrees waris iugcFinal generalized linear modeling by idrees waris iugc
Final generalized linear modeling by idrees waris iugc
Id'rees Waris
 
block diagram representation of control systems
block diagram representation of  control systemsblock diagram representation of  control systems
block diagram representation of control systems
Ahmed Elmorsy
 
GLMM in interventional study at Require 23, 20151219
GLMM in interventional study at Require 23, 20151219GLMM in interventional study at Require 23, 20151219
GLMM in interventional study at Require 23, 20151219
Shuhei Ichikawa
 
Introduction to Generalized Linear Models
Introduction to Generalized Linear ModelsIntroduction to Generalized Linear Models
Introduction to Generalized Linear Models
richardchandler
 
Logistic Regression Analysis
Logistic Regression AnalysisLogistic Regression Analysis
Logistic Regression Analysis
COSTARCH Analytical Consulting (P) Ltd.
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
Elkana Rorio
 
Logistical Regression.pptx
Logistical Regression.pptxLogistical Regression.pptx
Logistical Regression.pptx
Ramakrishna Reddy Bijjam
 
Types of models
Types of modelsTypes of models
Types of models
Karnav Rana
 
decline_curve_analysis-ppt.pdf
decline_curve_analysis-ppt.pdfdecline_curve_analysis-ppt.pdf
decline_curve_analysis-ppt.pdf
MohamedSadek942403
 
Lecture_control_system.pptx
Lecture_control_system.pptxLecture_control_system.pptx
Lecture_control_system.pptx
robomango
 
Glm
GlmGlm
Optimization in QBD
Optimization in QBDOptimization in QBD
Optimization in QBD
Suraj Choudhary
 
.pptx
.pptx.pptx
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSINGOPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
coollife99
 
10685 6.1 multivar_mr_srm bm i
10685 6.1 multivar_mr_srm bm i10685 6.1 multivar_mr_srm bm i
10685 6.1 multivar_mr_srm bm i
Satwik Mohanty
 
Design robustness demonstration by DOE and Monte Carlo Simulation
Design robustness demonstration by DOE and Monte Carlo SimulationDesign robustness demonstration by DOE and Monte Carlo Simulation
Design robustness demonstration by DOE and Monte Carlo Simulation
Ricardo Gonzalez Luna
 
Master defence 2020 - Oleh Lukianykhin - Reinforcement Learning for Voltage C...
Master defence 2020 - Oleh Lukianykhin - Reinforcement Learning for Voltage C...Master defence 2020 - Oleh Lukianykhin - Reinforcement Learning for Voltage C...
Master defence 2020 - Oleh Lukianykhin - Reinforcement Learning for Voltage C...
Lviv Data Science Summer School
 

Similar to Lecture slides stats1.13.l23.air (20)

Generalized Linear Models in Spark MLlib and SparkR by Xiangrui Meng
Generalized Linear Models in Spark MLlib and SparkR by Xiangrui MengGeneralized Linear Models in Spark MLlib and SparkR by Xiangrui Meng
Generalized Linear Models in Spark MLlib and SparkR by Xiangrui Meng
 
Generalized Linear Models in Spark MLlib and SparkR
Generalized Linear Models in Spark MLlib and SparkRGeneralized Linear Models in Spark MLlib and SparkR
Generalized Linear Models in Spark MLlib and SparkR
 
Lecture slides stats1.13.l12.air
Lecture slides stats1.13.l12.airLecture slides stats1.13.l12.air
Lecture slides stats1.13.l12.air
 
Final generalized linear modeling by idrees waris iugc
Final generalized linear modeling by idrees waris iugcFinal generalized linear modeling by idrees waris iugc
Final generalized linear modeling by idrees waris iugc
 
block diagram representation of control systems
block diagram representation of  control systemsblock diagram representation of  control systems
block diagram representation of control systems
 
GLMM in interventional study at Require 23, 20151219
GLMM in interventional study at Require 23, 20151219GLMM in interventional study at Require 23, 20151219
GLMM in interventional study at Require 23, 20151219
 
Introduction to Generalized Linear Models
Introduction to Generalized Linear ModelsIntroduction to Generalized Linear Models
Introduction to Generalized Linear Models
 
Logistic Regression Analysis
Logistic Regression AnalysisLogistic Regression Analysis
Logistic Regression Analysis
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
Logistical Regression.pptx
Logistical Regression.pptxLogistical Regression.pptx
Logistical Regression.pptx
 
Types of models
Types of modelsTypes of models
Types of models
 
decline_curve_analysis-ppt.pdf
decline_curve_analysis-ppt.pdfdecline_curve_analysis-ppt.pdf
decline_curve_analysis-ppt.pdf
 
Lecture_control_system.pptx
Lecture_control_system.pptxLecture_control_system.pptx
Lecture_control_system.pptx
 
Glm
GlmGlm
Glm
 
Optimization in QBD
Optimization in QBDOptimization in QBD
Optimization in QBD
 
.pptx
.pptx.pptx
.pptx
 
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSINGOPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
 
10685 6.1 multivar_mr_srm bm i
10685 6.1 multivar_mr_srm bm i10685 6.1 multivar_mr_srm bm i
10685 6.1 multivar_mr_srm bm i
 
Design robustness demonstration by DOE and Monte Carlo Simulation
Design robustness demonstration by DOE and Monte Carlo SimulationDesign robustness demonstration by DOE and Monte Carlo Simulation
Design robustness demonstration by DOE and Monte Carlo Simulation
 
Master defence 2020 - Oleh Lukianykhin - Reinforcement Learning for Voltage C...
Master defence 2020 - Oleh Lukianykhin - Reinforcement Learning for Voltage C...Master defence 2020 - Oleh Lukianykhin - Reinforcement Learning for Voltage C...
Master defence 2020 - Oleh Lukianykhin - Reinforcement Learning for Voltage C...
 

More from atutor_te

Lecture slides stats1.13.l24.air
Lecture slides stats1.13.l24.airLecture slides stats1.13.l24.air
Lecture slides stats1.13.l24.air
atutor_te
 
Lecture slides stats1.13.l22.air
Lecture slides stats1.13.l22.airLecture slides stats1.13.l22.air
Lecture slides stats1.13.l22.air
atutor_te
 
Lecture slides stats1.13.l21.air
Lecture slides stats1.13.l21.airLecture slides stats1.13.l21.air
Lecture slides stats1.13.l21.air
atutor_te
 
Lecture slides stats1.13.l20.air
Lecture slides stats1.13.l20.airLecture slides stats1.13.l20.air
Lecture slides stats1.13.l20.air
atutor_te
 
Lecture slides stats1.13.l19.air
Lecture slides stats1.13.l19.airLecture slides stats1.13.l19.air
Lecture slides stats1.13.l19.air
atutor_te
 
Lecture slides stats1.13.l18.air
Lecture slides stats1.13.l18.airLecture slides stats1.13.l18.air
Lecture slides stats1.13.l18.air
atutor_te
 
Lecture slides stats1.13.l17.air
Lecture slides stats1.13.l17.airLecture slides stats1.13.l17.air
Lecture slides stats1.13.l17.air
atutor_te
 
Lecture slides stats1.13.l16.air
Lecture slides stats1.13.l16.airLecture slides stats1.13.l16.air
Lecture slides stats1.13.l16.air
atutor_te
 
Lecture slides stats1.13.l15.air
Lecture slides stats1.13.l15.airLecture slides stats1.13.l15.air
Lecture slides stats1.13.l15.air
atutor_te
 
Lecture slides stats1.13.l14.air
Lecture slides stats1.13.l14.airLecture slides stats1.13.l14.air
Lecture slides stats1.13.l14.air
atutor_te
 
Lecture slides stats1.13.l13.air
Lecture slides stats1.13.l13.airLecture slides stats1.13.l13.air
Lecture slides stats1.13.l13.air
atutor_te
 
Lecture slides stats1.13.l11.air
Lecture slides stats1.13.l11.airLecture slides stats1.13.l11.air
Lecture slides stats1.13.l11.air
atutor_te
 
Lecture slides stats1.13.l10.air
Lecture slides stats1.13.l10.airLecture slides stats1.13.l10.air
Lecture slides stats1.13.l10.air
atutor_te
 
Lecture slides stats1.13.l09.air
Lecture slides stats1.13.l09.airLecture slides stats1.13.l09.air
Lecture slides stats1.13.l09.air
atutor_te
 
Lecture slides stats1.13.l08.air
Lecture slides stats1.13.l08.airLecture slides stats1.13.l08.air
Lecture slides stats1.13.l08.air
atutor_te
 
Lecture slides stats1.13.l07.air
Lecture slides stats1.13.l07.airLecture slides stats1.13.l07.air
Lecture slides stats1.13.l07.air
atutor_te
 
Lecture slides stats1.13.l06.air
Lecture slides stats1.13.l06.airLecture slides stats1.13.l06.air
Lecture slides stats1.13.l06.air
atutor_te
 
Lecture slides stats1.13.l05.air
Lecture slides stats1.13.l05.airLecture slides stats1.13.l05.air
Lecture slides stats1.13.l05.air
atutor_te
 
Lecture slides stats1.13.l04.air
Lecture slides stats1.13.l04.airLecture slides stats1.13.l04.air
Lecture slides stats1.13.l04.air
atutor_te
 
Lecture slides stats1.13.l03.air
Lecture slides stats1.13.l03.airLecture slides stats1.13.l03.air
Lecture slides stats1.13.l03.air
atutor_te
 

More from atutor_te (20)

Lecture slides stats1.13.l24.air
Lecture slides stats1.13.l24.airLecture slides stats1.13.l24.air
Lecture slides stats1.13.l24.air
 
Lecture slides stats1.13.l22.air
Lecture slides stats1.13.l22.airLecture slides stats1.13.l22.air
Lecture slides stats1.13.l22.air
 
Lecture slides stats1.13.l21.air
Lecture slides stats1.13.l21.airLecture slides stats1.13.l21.air
Lecture slides stats1.13.l21.air
 
Lecture slides stats1.13.l20.air
Lecture slides stats1.13.l20.airLecture slides stats1.13.l20.air
Lecture slides stats1.13.l20.air
 
Lecture slides stats1.13.l19.air
Lecture slides stats1.13.l19.airLecture slides stats1.13.l19.air
Lecture slides stats1.13.l19.air
 
Lecture slides stats1.13.l18.air
Lecture slides stats1.13.l18.airLecture slides stats1.13.l18.air
Lecture slides stats1.13.l18.air
 
Lecture slides stats1.13.l17.air
Lecture slides stats1.13.l17.airLecture slides stats1.13.l17.air
Lecture slides stats1.13.l17.air
 
Lecture slides stats1.13.l16.air
Lecture slides stats1.13.l16.airLecture slides stats1.13.l16.air
Lecture slides stats1.13.l16.air
 
Lecture slides stats1.13.l15.air
Lecture slides stats1.13.l15.airLecture slides stats1.13.l15.air
Lecture slides stats1.13.l15.air
 
Lecture slides stats1.13.l14.air
Lecture slides stats1.13.l14.airLecture slides stats1.13.l14.air
Lecture slides stats1.13.l14.air
 
Lecture slides stats1.13.l13.air
Lecture slides stats1.13.l13.airLecture slides stats1.13.l13.air
Lecture slides stats1.13.l13.air
 
Lecture slides stats1.13.l11.air
Lecture slides stats1.13.l11.airLecture slides stats1.13.l11.air
Lecture slides stats1.13.l11.air
 
Lecture slides stats1.13.l10.air
Lecture slides stats1.13.l10.airLecture slides stats1.13.l10.air
Lecture slides stats1.13.l10.air
 
Lecture slides stats1.13.l09.air
Lecture slides stats1.13.l09.airLecture slides stats1.13.l09.air
Lecture slides stats1.13.l09.air
 
Lecture slides stats1.13.l08.air
Lecture slides stats1.13.l08.airLecture slides stats1.13.l08.air
Lecture slides stats1.13.l08.air
 
Lecture slides stats1.13.l07.air
Lecture slides stats1.13.l07.airLecture slides stats1.13.l07.air
Lecture slides stats1.13.l07.air
 
Lecture slides stats1.13.l06.air
Lecture slides stats1.13.l06.airLecture slides stats1.13.l06.air
Lecture slides stats1.13.l06.air
 
Lecture slides stats1.13.l05.air
Lecture slides stats1.13.l05.airLecture slides stats1.13.l05.air
Lecture slides stats1.13.l05.air
 
Lecture slides stats1.13.l04.air
Lecture slides stats1.13.l04.airLecture slides stats1.13.l04.air
Lecture slides stats1.13.l04.air
 
Lecture slides stats1.13.l03.air
Lecture slides stats1.13.l03.airLecture slides stats1.13.l03.air
Lecture slides stats1.13.l03.air
 

Recently uploaded

Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
nitinpv4ai
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
heathfieldcps1
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
OH TEIK BIN
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
Nguyen Thanh Tu Collection
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapitolTechU
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
Nguyen Thanh Tu Collection
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 

Recently uploaded (20)

Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 

Lecture slides stats1.13.l23.air

  • 3. Lecture 23 ~ Segment 1 Generalized Linear Model Overview
  • 4. Generalized Linear Model •  An extension of the General Linear Model that allows for non-normal distributions in the outcome variable and therefore also allows testing of non-linear relationships between a set of predictors and the outcome variable 4
  • 5. Generalized Linear Model •  Generalized Linear Model: GLM* •  General Linear Model: GLM 5
  • 6. General Linear Model (GLM) •  GLM is the mathematical framework used in many common statistical analyses, including multiple regression and ANOVA 6
  • 7. Characteristics of GLM •  Linear: pairs of variables are assumed to have linear relations •  Additive: if one set of variables predict another variable, the effects are thought to be additive 7
  • 8. Characteristics of GLM •  BUT! This does not preclude testing nonlinear or non-additive effects 8
  • 9. Characteristics of GLM •  GLM can accommodate such tests, for example, by •  Transformation of variables –  Transform so non-linear becomes linear •  Moderation analysis –  Fake the GLM into testing non-additive effects 9
  • 10. GLM example •  Simple regression •  Y = B0 + B1X1 + e •  Y = faculty salary •  X1 = years since PhD 10
  • 11. GLM example •  Multiple regression •  Y = B0 + B1X1 + B2X2 + B3X3 + e •  Y = faculty salary •  X1 = years since PhD •  X2 = number of publications •  X3 = (years x pubs) 11
  • 12. Generalized linear model (GLM*) •  Appropriate when simple transformations or product terms are not sufficient 12
  • 13. Generalized linear model (GLM*) •  The “linear” model is allowed to generalize to other forms by adding a “link function” 13
  • 14. Generalized linear model (GLM*) •  For example, in binary logistic regression, the logit function was the link function 14
  • 15. Binary logistic regression •  ln(Ŷ / (1 - Ŷ)) = B0 + Σ(BkXk) Ŷ = predicted value on the outcome variable Y B0 = predicted value on Y when all X = 0 Xk = predictor variables Bk = unstandardized regression coefficients (Y – Ŷ) = residual (prediction error) k = the number of predictor variables 15
  • 16. Segment summary •  GLM* is an extension of GLM that allows for non-normal distributions in the outcome variable and therefore also allows testing of non-linear relationships between a set of predictors and the outcome variable 16
  • 17. Segment summary •  Appropriate when simple transformations or product terms are not sufficient 17
  • 18. Segment summary •  The “linear” model is allowed to generalize to other forms by adding a “link function” 18
  • 20. Lecture 23 ~ Segment 2 Generalized Linear Model Examples
  • 21. GLM* Examples •  GLM* is an extension of GLM that allows for non-normal distributions in the outcome variable and therefore also allows testing of non-linear relationships between a set of predictors and the outcome variable 21
  • 22. GLM* Examples •  Appropriate when simple transformations or product terms are not sufficient 22
  • 23. GLM* Examples •  The “linear” model is allowed to generalize to other forms by adding a “link function” 23
  • 24. GLM* Examples •  Binary logistic regression 24
  • 26. GLM* Examples •  In binary logistic regression, the logit function served as the link function 26
  • 27. GLM* Examples •  ln(Ŷ / (1 - Ŷ)) = B0 + Σ(BkXk) Ŷ = predicted value on the outcome variable Y B0 = predicted value on Y when all X = 0 Xk = predictor variables Bk = unstandardized regression coefficients (Y – Ŷ) = residual (prediction error) k = the number of predictor variables 27
  • 28. GLM* Examples •  More than 2 categories on the outcome –  Multinomial logistic regression •  A-1 logistic regression equations are formed –  Where A = # of groups –  One group serves as reference group
  • 29. GLM* Examples •  Another example is Poisson regression •  Poission distributions are common with “count data” –  A number of events occurring in a fixed interval of time 29
  • 30. GLM* Examples •  For example, the number of traffic accidents as a function of weather conditions –  Clear weather –  Rain –  Snow 30
  • 32. GLM* Examples •  In Poisson regression, the log function serves as the link function •  Note: this example also has a categorical predictor and would therefore also require dummy coding 32
  • 33. Segment summary •  GLM* is an extension of GLM that allows for non-normal distributions in the outcome variable and therefore also allows testing of non-linear relationships between a set of predictors and the outcome variable 33
  • 34. Segment summary •  Appropriate when simple transformations or product terms are not sufficient 34
  • 35. Segment summary •  The “linear” model is allowed to generalize to other forms by adding a “link function” 35