SlideShare a Scribd company logo
1 of 32
Download to read offline
1
Diagnostics in Poisson Regression
Models - Residual Analysis
2
Outline
• Diagnostics in Poisson Regression Models - Residual
Analysis
• Example 3: Recall of Stressful Events continued
3
Residual Analysis
• Residuals represent variation in the data that
cannot be explained by the model.
• Residual plots useful for discovering patterns,
outliers or misspecifications of the model.
Systematic patterns discovered may suggest
how to reformulate the model.
• If the residuals exhibit no pattern, then this is a
good indication that the model is appropriate
for the particular data.
4
Types of Residuals for Poisson Regression Models
• Raw residuals:
• Pearson residuals:
(or standardised) i
ii
E
EO 
• Adjusted residuals
(preferred): )ESD(O
EO
ii
ii


ii
EO 
i i i i
S D ( O E ) E ( 1 E / n )- = -
5
• If H0 is true, the adjusted residuals have a
standard normal N(0,1) distribution for large
samples.
• Back to the “Recall of Stressful Events” example
…
6
month adjusted
residual
month adjusted
residual
1 2.46 10 0.66
2 1.02 11 -0.42
3 2.10 12 0.30
4 3.18 13 1.02
5 -1.14 14 -1.86
6 1.02 15 -0.78
7 0.66 16 -2.58
8 -1.50 17 -2.58
9 -0.06 18 -1.50
Example 3: Recall of Stressful Events Data
7
• If the adjusted residuals follow N(0,1), we expect 18 ×
0.05 = 0.9 ≈ 1 adjusted residual larger than 1.96 or
smaller than -1.96
• Months 1, 3, 4 positive adjusted residuals
Months 16, 17 negative adjusted residuals
• More likely to report recent events (positive residual:
means observed is larger than expected, i.e. more
likely to report a stressful event in a months
immediately prior to interview)
Example 3: Recall of Stressful Events
8
• Plot of adjusted residuals by month shows downward
trend.
Example 3: Recall of Stressful Events
9
Normal Q-Q Plot
• Probability plot, which is a graphical method for
comparing two probability distributions by plotting
their quantiles against each other (Q stands for
Quantiles, i.e. quantile against quantile)
• Plots observed quantiles against expected
quantiles, hence plot quantiles of adjusted
residuals against the quantiles of the standard
normal.
• Points should lie close to y = x line, if adjusted
residuals are N(0,1).
10
11
Conclusions
• Divergence in the tails from straight line
• Strong evidence that equiprobable model does not
fit the data.
• More likely to report recent events. Such a
tendency would result if respondents were more
likely to remember recent events than distant
events.
• So, use another model. Which one?
• Let us explore a Poisson time trend model (a
Poisson model with a covariate)
12
Poisson Regression Model
with a Covariate –
Poisson Time Trend Model
13
Outline
• Poisson Time Trend Model – Poisson regression model
with a covariate
• Example 3: Recall of Stressful Events continued
• yi = number of events in month i.
• The log of the expected count is a linear function of time before
interview:
where µi = E(yi) is the expected number of events in month i.
• Meaning: model assumes response variable Y has a Poisson
distribution, and assumes the logarithm of its expected value
can be modelled by a linear combination of unknown
parameters (here 2).
14
Poisson Time Trend Model – including a covariate
C,1,iβiα)log( μ i

15
• For model
• β = 0  equiprobable model (no effect of the
covariate).
• β > 0  the expected count µi increases as
month (i) increases.
• β < 0  the expected count µi decreases as
month (i) increases.
C,1,iβiα)log( μ i

Poisson Time Trend Model – including a
covariate
16
• In general, the form of a Poisson model with one
explanatory variable (X) is:
• Explanatory variable X can be categorical or continuous.
• In this example ‘month i’ is the explanatory variable X.
Poisson Model – with one covariate
lo g ( ) xm a b= +
17
• Parameters estimated via maximum likelihood estimation
 and .
• These estimates are used to compute predicted values:
• The adjusted residuals are
αˆ βˆ
i)βˆαˆexp(μˆiβˆαˆ)μˆlog( ii

/n)μˆ(1μˆ
μˆy
ii
ii


where  

C
1i i
yn
Poisson Model: Parameter Estimates
Predicted Values and Residuals
18
• The goodness-of-fit test statistics are

 






 

C
1i
2
i
ii2
μˆ
μˆy









C
1i i
i
i
2
μˆ
y
logy2L
Pearson Chi-squared
Test Statistic
Likelihood Ratio Test
Statistics (Deviance)
Poisson Model: Goodness of Fit Statistics
19
• The null hypothesis is
H0: The model
yi ~ Poisson(µi) with log(µi) = α+βi
holds.
• Returning to our example expected counts (under
the model) are …
i
μˆ
20
Month Count
Obs
Count
Exp
Month Count
Obs
Count
Exp
1 15 15.1 10 10 7.1
2 11 13.9 11 7 6.5
3 14 12.8 12 9 6.0
4 17 11.8 13 11 5.5
5 5 10.8 14 3 5.1
6 11 9.9 15 6 4.7
7 10 9.1 16 1 4.3
8 4 8.4 17 1 4.0
9 8 7.7 18 4 3.6
Example 3: Recall of Stressful Events
i
ˆˆ ˆe x p ( i)m a b= +Expected value calculated using the model:
21
• If H0 is true
X2 ~ χ2
df L2 ~ χ2
df
where df = no. of cells – no. of model parameters
= C – 2 = 18 – 2 = 16
• X2 = 22.71 with 16 df.
p-value = 0.1216  do not reject H0.
• L2 = 24.57 with 16 df.
p-value = 0.0778  do not reject H0.
22
Conclusion
• The Poisson time trend model is consistent with the
data.
• Participants are more likely to report recent events.
23
month adjusted
residual
month adjusted
residual
1 -0.05 10 1.11
2 -0.89 11 0.18
3 0.36 12 1.26
4 1.61 13 2.42
5 -1.86 14 -0.98
6 0.34 15 0.64
7 0.28 16 -1.70
8 -1.58 17 -1.60
9 -0.09 18 0.20
Adjusted Residuals
24
• If the adjusted residuals follow N(0,1), we expect 18 ×
0.05 = 0.9 ≈ 1 adjusted residual larger than 1.96 or
smaller than -1.96.
• So, it is not surprising that we see one residual (month
13: 2.42) exceed 1.96 (i.e. no evidence against H0).
• Adjusted residuals show no obvious pattern based on
plot by month.
Adjusted Residuals
25
• Fitted values help with interpretation
• Fitted values are obtained by
• The coefficient is interpreted whether the explanatory variable is a categorical or a continuous variable.
i
ˆˆˆ ˆ= e x p ( i)i
y m a b= +
Poisson Regression:
Model Interpretation
ˆb
26
• For a binary explanatory variable, where X=0 means absence
and X=1 means presence, the rate ratio (RR) for presence vs.
absence
• For a continuous explanatory variable a one unit increase in
X will result in a multiplicative effect of on μ
Poisson Regression:
Model Interpretation – cont.
 
 
 
 
| | 1
e x p ( )
| | 0
i i i
i i i
E y P r e s e n c e E y x
R R
E y A b s e n c e E y x


  

e x p ( )
27
Confidence Interval for the Slope
• Estimate of the slope is = -0.0838 with estimated
standard error = 0.0168.
• Therefore a 95% CI for β is:
= -0.0838 ± 1.96 х 0.0168
= (-0.117 ; -0.051 )
(therefore negative, CI does not include 0), the
expected count µi decreases as month (i) increases
βˆ
)βˆse(
28
Estimated Change
• To add interpretation, the estimated change (from one
month to the next) in proportionate terms is
1)βˆexp(
1
i)βˆαˆexp(
1))(iβˆαˆexp(
1
μˆ
μˆ
μˆ
μˆμˆ
i
1i
i
i1i






  i)βˆαˆexp()(YEˆμˆ ii

29
• For our example “Recall of Stressful Events” this means:
i.e. the estimated change is an 8% decrease per
month.
Estimated Change
1
ˆ ˆ
e x p ( 0 .0 8 3 8 ) 1
ˆ
= 0 .9 2 0 1 = 0 .0 8
i i
i
m m
m
+
-
= - -
- -
30
CI for the Estimated Change
Lower Bound Upper Bound
β –0.117 –0.051
exp(β) exp(-0.117) = 0.89 exp(-0.051) = 0.95
exp(β) - 1 0.89 - 1 = -0.11 0.95 - 1 = -0.05
-11% -5%
• Estimated change is -8% per month with a 95% CI
of (-11% , -5%). The number of stressful events
decreases.
31
References
• Agresti, A (2013) Categorical Data Analysis, 3rd ed,
New Jersey, Wiley.
• Agresti, A. (2007) An Introduction to Categorical
Data Analysis. 2nd ed, Wiley.
• Haberman, S. J. (1978) Analysis of Qualitative Data,
Volume 1, Academic Press, New York.
p. 3 for “Recall of stressful events” example.
p. 87 for “Suicides” example.
32
References
• Agresti, A (2013) Categorical Data Analysis, 3rd ed,
New Jersey, Wiley.
• Agresti, A. (2007) An Introduction to Categorical
Data Analysis. 2nd ed, Wiley.
• Haberman, S. J. (1978) Analysis of Qualitative Data,
Volume 1, Academic Press, New York.
p. 3 for “Recall of stressful events” example.
p. 87 for “Suicides” example.

More Related Content

What's hot

4.5. logistic regression
4.5. logistic regression4.5. logistic regression
4.5. logistic regressionA M
 
Logistic regression
Logistic regressionLogistic regression
Logistic regressionDrZahid Khan
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysisnadiazaheer
 
Basic survival analysis
Basic survival analysisBasic survival analysis
Basic survival analysisMike LaValley
 
Introduction to Generalized Linear Models
Introduction to Generalized Linear ModelsIntroduction to Generalized Linear Models
Introduction to Generalized Linear Modelsrichardchandler
 
Multivariate analysis - Multiple regression analysis
Multivariate analysis -  Multiple regression analysisMultivariate analysis -  Multiple regression analysis
Multivariate analysis - Multiple regression analysisRaihanathusSahdhiyya
 
Covariance and correlation
Covariance and correlationCovariance and correlation
Covariance and correlationRashid Hussain
 
Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)MikeBlyth
 
Logistic regression
Logistic regressionLogistic regression
Logistic regressionDrZahid Khan
 
Multinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisMultinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisHARISH Kumar H R
 
Regression Analysis presentation by Al Arizmendez and Cathryn Lottier
Regression Analysis presentation by Al Arizmendez and Cathryn LottierRegression Analysis presentation by Al Arizmendez and Cathryn Lottier
Regression Analysis presentation by Al Arizmendez and Cathryn LottierAl Arizmendez
 
Application of ordinal logistic regression in the study of students’ performance
Application of ordinal logistic regression in the study of students’ performanceApplication of ordinal logistic regression in the study of students’ performance
Application of ordinal logistic regression in the study of students’ performanceAlexander Decker
 
How to choose a right statistical test
How to choose a right statistical testHow to choose a right statistical test
How to choose a right statistical testKhalid Mahmood
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarAzmi Mohd Tamil
 
Data Analysis with SPSS : One-way ANOVA
Data Analysis with SPSS : One-way ANOVAData Analysis with SPSS : One-way ANOVA
Data Analysis with SPSS : One-way ANOVADr Ali Yusob Md Zain
 
Linear regression
Linear regressionLinear regression
Linear regressionSreerajVA
 

What's hot (20)

Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear Regression
 
4.5. logistic regression
4.5. logistic regression4.5. logistic regression
4.5. logistic regression
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Cox model
Cox modelCox model
Cox model
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Basic survival analysis
Basic survival analysisBasic survival analysis
Basic survival analysis
 
Introduction to Generalized Linear Models
Introduction to Generalized Linear ModelsIntroduction to Generalized Linear Models
Introduction to Generalized Linear Models
 
Multivariate analysis - Multiple regression analysis
Multivariate analysis -  Multiple regression analysisMultivariate analysis -  Multiple regression analysis
Multivariate analysis - Multiple regression analysis
 
Covariance and correlation
Covariance and correlationCovariance and correlation
Covariance and correlation
 
Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Multinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisMultinomial Logistic Regression Analysis
Multinomial Logistic Regression Analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression Analysis presentation by Al Arizmendez and Cathryn Lottier
Regression Analysis presentation by Al Arizmendez and Cathryn LottierRegression Analysis presentation by Al Arizmendez and Cathryn Lottier
Regression Analysis presentation by Al Arizmendez and Cathryn Lottier
 
Application of ordinal logistic regression in the study of students’ performance
Application of ordinal logistic regression in the study of students’ performanceApplication of ordinal logistic regression in the study of students’ performance
Application of ordinal logistic regression in the study of students’ performance
 
How to choose a right statistical test
How to choose a right statistical testHow to choose a right statistical test
How to choose a right statistical test
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
Structural Equation Modelling (SEM) Part 3
Structural Equation Modelling (SEM) Part 3Structural Equation Modelling (SEM) Part 3
Structural Equation Modelling (SEM) Part 3
 
Data Analysis with SPSS : One-way ANOVA
Data Analysis with SPSS : One-way ANOVAData Analysis with SPSS : One-way ANOVA
Data Analysis with SPSS : One-way ANOVA
 
Linear regression
Linear regressionLinear regression
Linear regression
 

Viewers also liked

Goodness of fit statistics poisson regression
Goodness of fit statistics poisson regressionGoodness of fit statistics poisson regression
Goodness of fit statistics poisson regressionUniversity of Southampton
 
Introduction to Structural Equation Modeling
Introduction to Structural Equation ModelingIntroduction to Structural Equation Modeling
Introduction to Structural Equation ModelingUniversity of Southampton
 
Mohamed Taha Said.
Mohamed Taha Said.Mohamed Taha Said.
Mohamed Taha Said.Mohamed Taha
 
Stability criterion of periodic oscillations in a (16)
Stability criterion of periodic oscillations in a (16)Stability criterion of periodic oscillations in a (16)
Stability criterion of periodic oscillations in a (16)Alexander Decker
 
barua-2015-ijca-906425
barua-2015-ijca-906425barua-2015-ijca-906425
barua-2015-ijca-906425Saurav Barua
 
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗ
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗ
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗIlias Pappas
 
Colegio bachilleres de chiapas plantel 32 windows 3.1 1D
Colegio bachilleres de chiapas  plantel 32 windows 3.1 1DColegio bachilleres de chiapas  plantel 32 windows 3.1 1D
Colegio bachilleres de chiapas plantel 32 windows 3.1 1DMauricio Ruiz Paredes
 
Presentacion carlos mayorga
Presentacion carlos mayorgaPresentacion carlos mayorga
Presentacion carlos mayorgaalexander_hv
 
Stress & strain notes 222
Stress & strain notes 222Stress & strain notes 222
Stress & strain notes 222aero103
 
Presentation on Probability Genrating Function
Presentation on Probability Genrating FunctionPresentation on Probability Genrating Function
Presentation on Probability Genrating FunctionMd Riaz Ahmed Khan
 
2010 smg training_cardiff_day1_session2b (2 of 2) herbison
2010 smg training_cardiff_day1_session2b (2 of 2) herbison2010 smg training_cardiff_day1_session2b (2 of 2) herbison
2010 smg training_cardiff_day1_session2b (2 of 2) herbisonrgveroniki
 
Economics ch 4
Economics ch 4Economics ch 4
Economics ch 4EIBFS 2000
 
Creative research methods: Transformative research frameworks
Creative research methods: Transformative research frameworksCreative research methods: Transformative research frameworks
Creative research methods: Transformative research frameworksUniversity of Southampton
 
Video stimulated reflection, recall and dialogue-introduction to methods
Video stimulated reflection, recall and dialogue-introduction to methodsVideo stimulated reflection, recall and dialogue-introduction to methods
Video stimulated reflection, recall and dialogue-introduction to methodsUniversity of Southampton
 

Viewers also liked (20)

Goodness of fit statistics poisson regression
Goodness of fit statistics poisson regressionGoodness of fit statistics poisson regression
Goodness of fit statistics poisson regression
 
Confirmatory Factor Analysis
Confirmatory Factor AnalysisConfirmatory Factor Analysis
Confirmatory Factor Analysis
 
Key ideas, terms and concepts in SEM
Key ideas, terms and concepts in SEMKey ideas, terms and concepts in SEM
Key ideas, terms and concepts in SEM
 
Introduction to Structural Equation Modeling
Introduction to Structural Equation ModelingIntroduction to Structural Equation Modeling
Introduction to Structural Equation Modeling
 
Mohamed Taha Said.
Mohamed Taha Said.Mohamed Taha Said.
Mohamed Taha Said.
 
Stability criterion of periodic oscillations in a (16)
Stability criterion of periodic oscillations in a (16)Stability criterion of periodic oscillations in a (16)
Stability criterion of periodic oscillations in a (16)
 
barua-2015-ijca-906425
barua-2015-ijca-906425barua-2015-ijca-906425
barua-2015-ijca-906425
 
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗ
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗ
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗ
 
Colegio bachilleres de chiapas plantel 32 windows 3.1 1D
Colegio bachilleres de chiapas  plantel 32 windows 3.1 1DColegio bachilleres de chiapas  plantel 32 windows 3.1 1D
Colegio bachilleres de chiapas plantel 32 windows 3.1 1D
 
Presentacion carlos mayorga
Presentacion carlos mayorgaPresentacion carlos mayorga
Presentacion carlos mayorga
 
Stress & strain notes 222
Stress & strain notes 222Stress & strain notes 222
Stress & strain notes 222
 
Presentation on Probability Genrating Function
Presentation on Probability Genrating FunctionPresentation on Probability Genrating Function
Presentation on Probability Genrating Function
 
2010 smg training_cardiff_day1_session2b (2 of 2) herbison
2010 smg training_cardiff_day1_session2b (2 of 2) herbison2010 smg training_cardiff_day1_session2b (2 of 2) herbison
2010 smg training_cardiff_day1_session2b (2 of 2) herbison
 
Economics ch 4
Economics ch 4Economics ch 4
Economics ch 4
 
Statistical discolosure control
Statistical discolosure controlStatistical discolosure control
Statistical discolosure control
 
Introduction to az_tool_software
Introduction to az_tool_softwareIntroduction to az_tool_software
Introduction to az_tool_software
 
Principles of automated_zone_design_methods
Principles of automated_zone_design_methodsPrinciples of automated_zone_design_methods
Principles of automated_zone_design_methods
 
Creative research methods: Transformative research frameworks
Creative research methods: Transformative research frameworksCreative research methods: Transformative research frameworks
Creative research methods: Transformative research frameworks
 
Anonymisation decision making framework
Anonymisation decision making frameworkAnonymisation decision making framework
Anonymisation decision making framework
 
Video stimulated reflection, recall and dialogue-introduction to methods
Video stimulated reflection, recall and dialogue-introduction to methodsVideo stimulated reflection, recall and dialogue-introduction to methods
Video stimulated reflection, recall and dialogue-introduction to methods
 

Similar to Diagnostic in poisson regression models

Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...Maninda Edirisooriya
 
Temporal disaggregation methods
Temporal disaggregation methodsTemporal disaggregation methods
Temporal disaggregation methodsStephen Bradley
 
Distribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docxDistribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docxmadlynplamondon
 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.pptTanyaWadhwani4
 
Sociology 601 class 7
Sociology 601 class 7Sociology 601 class 7
Sociology 601 class 7Rishabh Gupta
 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.pptRufesh
 
Chapter4
Chapter4Chapter4
Chapter4Vu Vo
 
Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help HelpWithAssignment.com
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statisticsTarun Gehlot
 
Statr sessions 9 to 10
Statr sessions 9 to 10Statr sessions 9 to 10
Statr sessions 9 to 10Ruru Chowdhury
 
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)마이캠퍼스
 
Final Exam ReviewChapter 10Know the three ideas of s.docx
Final Exam ReviewChapter 10Know the three ideas of s.docxFinal Exam ReviewChapter 10Know the three ideas of s.docx
Final Exam ReviewChapter 10Know the three ideas of s.docxlmelaine
 
Regression vs Neural Net
Regression vs Neural NetRegression vs Neural Net
Regression vs Neural NetRatul Alahy
 

Similar to Diagnostic in poisson regression models (20)

Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
 
Temporal disaggregation methods
Temporal disaggregation methodsTemporal disaggregation methods
Temporal disaggregation methods
 
MModule 1 ppt.pptx
MModule 1 ppt.pptxMModule 1 ppt.pptx
MModule 1 ppt.pptx
 
lecture-2.ppt
lecture-2.pptlecture-2.ppt
lecture-2.ppt
 
Distribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docxDistribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docx
 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.ppt
 
Inorganic CHEMISTRY
Inorganic CHEMISTRYInorganic CHEMISTRY
Inorganic CHEMISTRY
 
Sociology 601 class 7
Sociology 601 class 7Sociology 601 class 7
Sociology 601 class 7
 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.ppt
 
Machine learning mathematicals.pdf
Machine learning mathematicals.pdfMachine learning mathematicals.pdf
Machine learning mathematicals.pdf
 
Chapter4
Chapter4Chapter4
Chapter4
 
Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statistics
 
Statr sessions 9 to 10
Statr sessions 9 to 10Statr sessions 9 to 10
Statr sessions 9 to 10
 
forecast.ppt
forecast.pptforecast.ppt
forecast.ppt
 
Time Series Decomposition
Time Series DecompositionTime Series Decomposition
Time Series Decomposition
 
Cost indexes
Cost indexesCost indexes
Cost indexes
 
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
 
Final Exam ReviewChapter 10Know the three ideas of s.docx
Final Exam ReviewChapter 10Know the three ideas of s.docxFinal Exam ReviewChapter 10Know the three ideas of s.docx
Final Exam ReviewChapter 10Know the three ideas of s.docx
 
Regression vs Neural Net
Regression vs Neural NetRegression vs Neural Net
Regression vs Neural Net
 

More from University of Southampton

Generating SPSS training materials in StatJR
Generating SPSS training materials in StatJRGenerating SPSS training materials in StatJR
Generating SPSS training materials in StatJRUniversity of Southampton
 
Introduction to the Stat-JR software package
Introduction to the Stat-JR software packageIntroduction to the Stat-JR software package
Introduction to the Stat-JR software packageUniversity of Southampton
 
Multi level modelling- random coefficient models | Ian Brunton-Smith
Multi level modelling- random coefficient models | Ian Brunton-SmithMulti level modelling- random coefficient models | Ian Brunton-Smith
Multi level modelling- random coefficient models | Ian Brunton-SmithUniversity of Southampton
 
Multi level modelling - random intercept models | Ian Brunton Smith
Multi level modelling - random intercept models | Ian Brunton SmithMulti level modelling - random intercept models | Ian Brunton Smith
Multi level modelling - random intercept models | Ian Brunton SmithUniversity of Southampton
 
Introduction to multilevel modelling | Ian Brunton-Smith
Introduction to multilevel modelling | Ian Brunton-SmithIntroduction to multilevel modelling | Ian Brunton-Smith
Introduction to multilevel modelling | Ian Brunton-SmithUniversity of Southampton
 
Biosocial research:How to use biological data in social science research?
Biosocial research:How to use biological data in social science research?Biosocial research:How to use biological data in social science research?
Biosocial research:How to use biological data in social science research?University of Southampton
 
Integrating biological and social research data - Michaela Benzeval
Integrating biological and social research data - Michaela BenzevalIntegrating biological and social research data - Michaela Benzeval
Integrating biological and social research data - Michaela BenzevalUniversity of Southampton
 
Teaching research methods: pedagogy of methods learning
Teaching research methods: pedagogy of methods learningTeaching research methods: pedagogy of methods learning
Teaching research methods: pedagogy of methods learningUniversity of Southampton
 
Introduction to spatial interaction modelling
Introduction to spatial interaction modellingIntroduction to spatial interaction modelling
Introduction to spatial interaction modellingUniversity of Southampton
 

More from University of Southampton (20)

Introduction to Survey Data Quality
Introduction to Survey Data Quality  Introduction to Survey Data Quality
Introduction to Survey Data Quality
 
Generating SPSS training materials in StatJR
Generating SPSS training materials in StatJRGenerating SPSS training materials in StatJR
Generating SPSS training materials in StatJR
 
Introduction to the Stat-JR software package
Introduction to the Stat-JR software packageIntroduction to the Stat-JR software package
Introduction to the Stat-JR software package
 
Multi level modelling- random coefficient models | Ian Brunton-Smith
Multi level modelling- random coefficient models | Ian Brunton-SmithMulti level modelling- random coefficient models | Ian Brunton-Smith
Multi level modelling- random coefficient models | Ian Brunton-Smith
 
Multi level modelling - random intercept models | Ian Brunton Smith
Multi level modelling - random intercept models | Ian Brunton SmithMulti level modelling - random intercept models | Ian Brunton Smith
Multi level modelling - random intercept models | Ian Brunton Smith
 
Introduction to multilevel modelling | Ian Brunton-Smith
Introduction to multilevel modelling | Ian Brunton-SmithIntroduction to multilevel modelling | Ian Brunton-Smith
Introduction to multilevel modelling | Ian Brunton-Smith
 
Biosocial research:How to use biological data in social science research?
Biosocial research:How to use biological data in social science research?Biosocial research:How to use biological data in social science research?
Biosocial research:How to use biological data in social science research?
 
Integrating biological and social research data - Michaela Benzeval
Integrating biological and social research data - Michaela BenzevalIntegrating biological and social research data - Michaela Benzeval
Integrating biological and social research data - Michaela Benzeval
 
Teaching research methods: pedagogy hooks
Teaching research methods: pedagogy hooksTeaching research methods: pedagogy hooks
Teaching research methods: pedagogy hooks
 
Teaching research methods: pedagogy of methods learning
Teaching research methods: pedagogy of methods learningTeaching research methods: pedagogy of methods learning
Teaching research methods: pedagogy of methods learning
 
Data quality: total survey error
Data quality: total survey errorData quality: total survey error
Data quality: total survey error
 
better off living with parents
better off living with parentsbetter off living with parents
better off living with parents
 
Multilevel models:random coefficient models
Multilevel models:random coefficient modelsMultilevel models:random coefficient models
Multilevel models:random coefficient models
 
Multilevel models:random intercept models
Multilevel models:random intercept modelsMultilevel models:random intercept models
Multilevel models:random intercept models
 
Introduction to multilevel modelling
Introduction to multilevel modellingIntroduction to multilevel modelling
Introduction to multilevel modelling
 
How to write about research methods
How to write about research methodsHow to write about research methods
How to write about research methods
 
How to write about research methods
How to write about research methodsHow to write about research methods
How to write about research methods
 
Introduction to spatial interaction modelling
Introduction to spatial interaction modellingIntroduction to spatial interaction modelling
Introduction to spatial interaction modelling
 
Cognitive interviewing
Cognitive interviewingCognitive interviewing
Cognitive interviewing
 
Survey questions and measurement error
Survey questions and measurement errorSurvey questions and measurement error
Survey questions and measurement error
 

Recently uploaded

AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 

Recently uploaded (20)

AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
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
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 

Diagnostic in poisson regression models

  • 1. 1 Diagnostics in Poisson Regression Models - Residual Analysis
  • 2. 2 Outline • Diagnostics in Poisson Regression Models - Residual Analysis • Example 3: Recall of Stressful Events continued
  • 3. 3 Residual Analysis • Residuals represent variation in the data that cannot be explained by the model. • Residual plots useful for discovering patterns, outliers or misspecifications of the model. Systematic patterns discovered may suggest how to reformulate the model. • If the residuals exhibit no pattern, then this is a good indication that the model is appropriate for the particular data.
  • 4. 4 Types of Residuals for Poisson Regression Models • Raw residuals: • Pearson residuals: (or standardised) i ii E EO  • Adjusted residuals (preferred): )ESD(O EO ii ii   ii EO  i i i i S D ( O E ) E ( 1 E / n )- = -
  • 5. 5 • If H0 is true, the adjusted residuals have a standard normal N(0,1) distribution for large samples. • Back to the “Recall of Stressful Events” example …
  • 6. 6 month adjusted residual month adjusted residual 1 2.46 10 0.66 2 1.02 11 -0.42 3 2.10 12 0.30 4 3.18 13 1.02 5 -1.14 14 -1.86 6 1.02 15 -0.78 7 0.66 16 -2.58 8 -1.50 17 -2.58 9 -0.06 18 -1.50 Example 3: Recall of Stressful Events Data
  • 7. 7 • If the adjusted residuals follow N(0,1), we expect 18 × 0.05 = 0.9 ≈ 1 adjusted residual larger than 1.96 or smaller than -1.96 • Months 1, 3, 4 positive adjusted residuals Months 16, 17 negative adjusted residuals • More likely to report recent events (positive residual: means observed is larger than expected, i.e. more likely to report a stressful event in a months immediately prior to interview) Example 3: Recall of Stressful Events
  • 8. 8 • Plot of adjusted residuals by month shows downward trend. Example 3: Recall of Stressful Events
  • 9. 9 Normal Q-Q Plot • Probability plot, which is a graphical method for comparing two probability distributions by plotting their quantiles against each other (Q stands for Quantiles, i.e. quantile against quantile) • Plots observed quantiles against expected quantiles, hence plot quantiles of adjusted residuals against the quantiles of the standard normal. • Points should lie close to y = x line, if adjusted residuals are N(0,1).
  • 10. 10
  • 11. 11 Conclusions • Divergence in the tails from straight line • Strong evidence that equiprobable model does not fit the data. • More likely to report recent events. Such a tendency would result if respondents were more likely to remember recent events than distant events. • So, use another model. Which one? • Let us explore a Poisson time trend model (a Poisson model with a covariate)
  • 12. 12 Poisson Regression Model with a Covariate – Poisson Time Trend Model
  • 13. 13 Outline • Poisson Time Trend Model – Poisson regression model with a covariate • Example 3: Recall of Stressful Events continued
  • 14. • yi = number of events in month i. • The log of the expected count is a linear function of time before interview: where µi = E(yi) is the expected number of events in month i. • Meaning: model assumes response variable Y has a Poisson distribution, and assumes the logarithm of its expected value can be modelled by a linear combination of unknown parameters (here 2). 14 Poisson Time Trend Model – including a covariate C,1,iβiα)log( μ i 
  • 15. 15 • For model • β = 0  equiprobable model (no effect of the covariate). • β > 0  the expected count µi increases as month (i) increases. • β < 0  the expected count µi decreases as month (i) increases. C,1,iβiα)log( μ i  Poisson Time Trend Model – including a covariate
  • 16. 16 • In general, the form of a Poisson model with one explanatory variable (X) is: • Explanatory variable X can be categorical or continuous. • In this example ‘month i’ is the explanatory variable X. Poisson Model – with one covariate lo g ( ) xm a b= +
  • 17. 17 • Parameters estimated via maximum likelihood estimation  and . • These estimates are used to compute predicted values: • The adjusted residuals are αˆ βˆ i)βˆαˆexp(μˆiβˆαˆ)μˆlog( ii  /n)μˆ(1μˆ μˆy ii ii   where    C 1i i yn Poisson Model: Parameter Estimates Predicted Values and Residuals
  • 18. 18 • The goodness-of-fit test statistics are             C 1i 2 i ii2 μˆ μˆy          C 1i i i i 2 μˆ y logy2L Pearson Chi-squared Test Statistic Likelihood Ratio Test Statistics (Deviance) Poisson Model: Goodness of Fit Statistics
  • 19. 19 • The null hypothesis is H0: The model yi ~ Poisson(µi) with log(µi) = α+βi holds. • Returning to our example expected counts (under the model) are … i μˆ
  • 20. 20 Month Count Obs Count Exp Month Count Obs Count Exp 1 15 15.1 10 10 7.1 2 11 13.9 11 7 6.5 3 14 12.8 12 9 6.0 4 17 11.8 13 11 5.5 5 5 10.8 14 3 5.1 6 11 9.9 15 6 4.7 7 10 9.1 16 1 4.3 8 4 8.4 17 1 4.0 9 8 7.7 18 4 3.6 Example 3: Recall of Stressful Events i ˆˆ ˆe x p ( i)m a b= +Expected value calculated using the model:
  • 21. 21 • If H0 is true X2 ~ χ2 df L2 ~ χ2 df where df = no. of cells – no. of model parameters = C – 2 = 18 – 2 = 16 • X2 = 22.71 with 16 df. p-value = 0.1216  do not reject H0. • L2 = 24.57 with 16 df. p-value = 0.0778  do not reject H0.
  • 22. 22 Conclusion • The Poisson time trend model is consistent with the data. • Participants are more likely to report recent events.
  • 23. 23 month adjusted residual month adjusted residual 1 -0.05 10 1.11 2 -0.89 11 0.18 3 0.36 12 1.26 4 1.61 13 2.42 5 -1.86 14 -0.98 6 0.34 15 0.64 7 0.28 16 -1.70 8 -1.58 17 -1.60 9 -0.09 18 0.20 Adjusted Residuals
  • 24. 24 • If the adjusted residuals follow N(0,1), we expect 18 × 0.05 = 0.9 ≈ 1 adjusted residual larger than 1.96 or smaller than -1.96. • So, it is not surprising that we see one residual (month 13: 2.42) exceed 1.96 (i.e. no evidence against H0). • Adjusted residuals show no obvious pattern based on plot by month. Adjusted Residuals
  • 25. 25 • Fitted values help with interpretation • Fitted values are obtained by • The coefficient is interpreted whether the explanatory variable is a categorical or a continuous variable. i ˆˆˆ ˆ= e x p ( i)i y m a b= + Poisson Regression: Model Interpretation ˆb
  • 26. 26 • For a binary explanatory variable, where X=0 means absence and X=1 means presence, the rate ratio (RR) for presence vs. absence • For a continuous explanatory variable a one unit increase in X will result in a multiplicative effect of on μ Poisson Regression: Model Interpretation – cont.         | | 1 e x p ( ) | | 0 i i i i i i E y P r e s e n c e E y x R R E y A b s e n c e E y x       e x p ( )
  • 27. 27 Confidence Interval for the Slope • Estimate of the slope is = -0.0838 with estimated standard error = 0.0168. • Therefore a 95% CI for β is: = -0.0838 ± 1.96 х 0.0168 = (-0.117 ; -0.051 ) (therefore negative, CI does not include 0), the expected count µi decreases as month (i) increases βˆ )βˆse(
  • 28. 28 Estimated Change • To add interpretation, the estimated change (from one month to the next) in proportionate terms is 1)βˆexp( 1 i)βˆαˆexp( 1))(iβˆαˆexp( 1 μˆ μˆ μˆ μˆμˆ i 1i i i1i         i)βˆαˆexp()(YEˆμˆ ii 
  • 29. 29 • For our example “Recall of Stressful Events” this means: i.e. the estimated change is an 8% decrease per month. Estimated Change 1 ˆ ˆ e x p ( 0 .0 8 3 8 ) 1 ˆ = 0 .9 2 0 1 = 0 .0 8 i i i m m m + - = - - - -
  • 30. 30 CI for the Estimated Change Lower Bound Upper Bound β –0.117 –0.051 exp(β) exp(-0.117) = 0.89 exp(-0.051) = 0.95 exp(β) - 1 0.89 - 1 = -0.11 0.95 - 1 = -0.05 -11% -5% • Estimated change is -8% per month with a 95% CI of (-11% , -5%). The number of stressful events decreases.
  • 31. 31 References • Agresti, A (2013) Categorical Data Analysis, 3rd ed, New Jersey, Wiley. • Agresti, A. (2007) An Introduction to Categorical Data Analysis. 2nd ed, Wiley. • Haberman, S. J. (1978) Analysis of Qualitative Data, Volume 1, Academic Press, New York. p. 3 for “Recall of stressful events” example. p. 87 for “Suicides” example.
  • 32. 32 References • Agresti, A (2013) Categorical Data Analysis, 3rd ed, New Jersey, Wiley. • Agresti, A. (2007) An Introduction to Categorical Data Analysis. 2nd ed, Wiley. • Haberman, S. J. (1978) Analysis of Qualitative Data, Volume 1, Academic Press, New York. p. 3 for “Recall of stressful events” example. p. 87 for “Suicides” example.