SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Poisson Regression Models
for Count Data
2
Outline
• Review
• Introduction to Poisson regression
• A simple model: equiprobable model
• Pearson and likelihood-ratio test statistics
• Residual analysis
• Poisson regression with a covariate (Poisson time trend
model)
3
Review of Regression
You may have come across:
Dependent Variable Regression Model
Continuous Linear
Binary Logistic
Multicategory (unordered)
(nominal variable)
Multinomial Logit
Multicategory (ordered)
(ordinal variable)
Cumulative Logit
4
Regression
In this session:
Dependent Variable Regression Model
Continuous Linear
Binary Logistic
Multicategory (unordered)
(nominal variable)
Multinomial Logit
Multicategory (ordered)
(ordinal variable)
Cumulative Logit
Count variable Poisson Regression
(Log-linear model)
Data
Data for this session are assumed to be:
• A count variable Y (e.g. number of accidents,
number of suicides)
• One categorical variable (X) with C possible
categories (e.g. days of week, months)
• Hence Y has C possible outcomes y1, y2, …, yC
5
6
Introduction: Poisson regression
• Poisson regression is a form of regression
analysis model count data (if all explanatory
variables are categorical then we model
contingency tables (cell counts)).
• The model models expected frequencies
• The model specifies how the count variable
depends on the explanatory variables (e.g.
level of the categorical variable)
7
Introduction: Poisson regression
• Poisson regression models are generalized linear
models with the logarithm as the (canonical) link
function.
• Assumes response variable Y has a Poisson
distribution, and the logarithm of its expected
value can be modelled by a linear combination of
unknown parameters.
• Sometimes known as a log-linear model, in
particular when used to model contingency
tables (i.e. only categorical variables).
8
Example: Suicides (count variable) by Weekday
(categorical variable) in France
Mon 1001 15.2%
Tues 1035 15.7%
Wed 982 14.9%
Thur 1033 15.7%
Fri 905 13.7%
Sat 737 11.2%
Sun 894 13.6%
Total 6587 100.0%
9
Introduction: Poisson regression
• Let us first look at a simple case: the
equiprobable model (here for a 1-way
contingency table)
10
Equiprobable Model
• An equiprobable model means that:
– All outcomes are equally probable (equally likely).
– That is, for our example, we assume a uniform
distribution for the outcomes across days of week (Y
does not vary with days of week X).
• The equiprobable model is given by:
P(Y=y1) = P(Y=y2) = … = P(Y=yC) = 1/C
i.e. we expect an equal distribution across days
of week.
• Given the data we can test if the assumption of
the equiprobable model (H0) holds
11
Equiprobable Model
12
Example 1: Suicides by Weekday in France
Mon 1001 15.2%
Tues 1035 15.7%
Wed 982 14.9%
Thur 1033 15.7%
Fri 905 13.7%
Sat 737 11.2%
Sun 894 13.6%
Total 6587 100.0%
H0: Each day is
equally likely for
suicides (i.e. the
expected
proportion of
suicides is 100/7
= 14.3%
each day)
13
Example 2: Traffic Accidents by Weekday
H0: Each day is
equally likely for
an accident (i.e.
the expected
proportion of
accidents is 100/7
= 14.3%
each day)
Mon 11 11.8%
Tues 9 9.7%
Wed 7 7.5%
Thur 10 10.8%
Fri 15 16.1%
Sat 18 19.4%
Sun 23 24.7%
Total 93 100.0%
14
• H0: Each day is equally likely for an accident.
• Alternative null hypotheses are:
– H0: Each working day equally likely for an accident.
– H0: Saturday and Sunday are equally likely for an
accident.
• Omitted variables? For example, distance
driven each day of the week.
Hypothesis Testing
15
• We can express this equiprobable model more formally as a Poisson regression
model (without a covariate), which models the expected frequency
Poisson regression – without a covariate
16
• We assume a Poisson distribution with parameter μ for the random component, i.e. yi ~ Poisson(µ), i.e.
• Y is a random variable that takes only positive integer values
• Poisson distribution has a single parameter (μ) which is both its mean and its variance. y
i i
i
e
P(Y y ) where y 1,2, 3
y !
i i
i
i
m
m-
= = =
Poisson regression
• We aim to model the expected value of Y. It can be
shown that this is the parameter μ, hence we aim to
model μ.
• We can write the equiprobable model defined earlier as
a simple Poisson model (no explanatory variables), i.e.
mean of Y does not change with month:
where is a constant.
17
Poisson regression: Simple Model (No Covariate)
i i
i
E(y ) 1/
log( ) i 1, ,C
Cm
m a
= =
= = L
log(1/ )Ca =

Weitere ähnliche Inhalte

Was ist angesagt?

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
 
Logistic regression
Logistic regressionLogistic regression
Logistic regressionDrZahid Khan
 
Multinomial logisticregression basicrelationships
Multinomial logisticregression basicrelationshipsMultinomial logisticregression basicrelationships
Multinomial logisticregression basicrelationshipsAnirudha si
 
Chapter8
Chapter8Chapter8
Chapter8Vu Vo
 
Introduction to Maximum Likelihood Estimator
Introduction to Maximum Likelihood EstimatorIntroduction to Maximum Likelihood Estimator
Introduction to Maximum Likelihood EstimatorAmir Al-Ansary
 
Logistic regression with SPSS examples
Logistic regression with SPSS examplesLogistic regression with SPSS examples
Logistic regression with SPSS examplesGaurav Kamboj
 
Logistic Regression.pptx
Logistic Regression.pptxLogistic Regression.pptx
Logistic Regression.pptxMuskaan194530
 
What is Binary Logistic Regression Classification and How is it Used in Analy...
What is Binary Logistic Regression Classification and How is it Used in Analy...What is Binary Logistic Regression Classification and How is it Used in Analy...
What is Binary Logistic Regression Classification and How is it Used in Analy...Smarten Augmented Analytics
 
Survival Data Analysis for Sekolah Tinggi Ilmu Statistik Jakarta
Survival Data Analysis for Sekolah Tinggi Ilmu Statistik JakartaSurvival Data Analysis for Sekolah Tinggi Ilmu Statistik Jakarta
Survival Data Analysis for Sekolah Tinggi Ilmu Statistik JakartaSetia Pramana
 
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
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability DistributionsCIToolkit
 

Was ist angesagt? (20)

Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Multinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisMultinomial Logistic Regression Analysis
Multinomial Logistic Regression Analysis
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Multinomial logisticregression basicrelationships
Multinomial logisticregression basicrelationshipsMultinomial logisticregression basicrelationships
Multinomial logisticregression basicrelationships
 
Bernoulli distribution
Bernoulli distributionBernoulli distribution
Bernoulli distribution
 
Difference-in-Difference Methods
Difference-in-Difference MethodsDifference-in-Difference Methods
Difference-in-Difference Methods
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
 
Stat 3203 -pps sampling
Stat 3203 -pps samplingStat 3203 -pps sampling
Stat 3203 -pps sampling
 
Chapter8
Chapter8Chapter8
Chapter8
 
Introduction to Maximum Likelihood Estimator
Introduction to Maximum Likelihood EstimatorIntroduction to Maximum Likelihood Estimator
Introduction to Maximum Likelihood Estimator
 
Sampling Distributions and Estimators
Sampling Distributions and Estimators Sampling Distributions and Estimators
Sampling Distributions and Estimators
 
Autocorrelation (1)
Autocorrelation (1)Autocorrelation (1)
Autocorrelation (1)
 
Logistic regression with SPSS examples
Logistic regression with SPSS examplesLogistic regression with SPSS examples
Logistic regression with SPSS examples
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Logistic Regression.pptx
Logistic Regression.pptxLogistic Regression.pptx
Logistic Regression.pptx
 
What is Binary Logistic Regression Classification and How is it Used in Analy...
What is Binary Logistic Regression Classification and How is it Used in Analy...What is Binary Logistic Regression Classification and How is it Used in Analy...
What is Binary Logistic Regression Classification and How is it Used in Analy...
 
Survival Data Analysis for Sekolah Tinggi Ilmu Statistik Jakarta
Survival Data Analysis for Sekolah Tinggi Ilmu Statistik JakartaSurvival Data Analysis for Sekolah Tinggi Ilmu Statistik Jakarta
Survival Data Analysis for Sekolah Tinggi Ilmu Statistik Jakarta
 
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
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
 

Andere mochten auch

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
 
5.7 poisson regression in the analysis of cohort data
5.7 poisson regression in the analysis of  cohort data5.7 poisson regression in the analysis of  cohort data
5.7 poisson regression in the analysis of cohort dataA M
 
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
 
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗ
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗ
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗ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
 
Presentation on Probability Genrating Function
Presentation on Probability Genrating FunctionPresentation on Probability Genrating Function
Presentation on Probability Genrating FunctionMd Riaz Ahmed Khan
 
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
 
Examples of automated_zone_design_in_practice
Examples of automated_zone_design_in_practiceExamples of automated_zone_design_in_practice
Examples of automated_zone_design_in_practiceUniversity of Southampton
 

Andere mochten auch (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
 
5.7 poisson regression in the analysis of cohort data
5.7 poisson regression in the analysis of  cohort data5.7 poisson regression in the analysis of  cohort data
5.7 poisson regression in the analysis of cohort data
 
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.
 
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗ
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗ
ΟΙΚΟΝΟΜΕΤΡΙΑ-ΠΑΡΟΥΣΙΑΣΗ
 
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
 
Presentation on Probability Genrating Function
Presentation on Probability Genrating FunctionPresentation on Probability Genrating Function
Presentation on Probability Genrating Function
 
Economics ch 4
Economics ch 4Economics ch 4
Economics ch 4
 
Statistical discolosure control
Statistical discolosure controlStatistical discolosure control
Statistical discolosure control
 
Principles of automated_zone_design_methods
Principles of automated_zone_design_methodsPrinciples of automated_zone_design_methods
Principles of automated_zone_design_methods
 
Introduction to az_tool_software
Introduction to az_tool_softwareIntroduction to az_tool_software
Introduction to az_tool_software
 
Creative research methods: Transformative research frameworks
Creative research methods: Transformative research frameworksCreative research methods: Transformative research frameworks
Creative research methods: Transformative research frameworks
 
Anonymisation theory and practice
Anonymisation theory and practiceAnonymisation theory and practice
Anonymisation theory and practice
 
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
 
Anonymisation decision making framework
Anonymisation decision making frameworkAnonymisation decision making framework
Anonymisation decision making framework
 
Introduction automated zone design
Introduction automated zone designIntroduction automated zone design
Introduction automated zone design
 
Examples of automated_zone_design_in_practice
Examples of automated_zone_design_in_practiceExamples of automated_zone_design_in_practice
Examples of automated_zone_design_in_practice
 

Ähnlich wie Poisson regression models for count data

Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help HelpWithAssignment.com
 
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
 
Chapter 2 Simple Linear Regression Model.pptx
Chapter 2 Simple Linear Regression Model.pptxChapter 2 Simple Linear Regression Model.pptx
Chapter 2 Simple Linear Regression Model.pptxaschalew shiferaw
 
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)마이캠퍼스
 
Lec12-Probability.ppt
Lec12-Probability.pptLec12-Probability.ppt
Lec12-Probability.pptakashok1v
 
Lec12-Probability.ppt
Lec12-Probability.pptLec12-Probability.ppt
Lec12-Probability.pptssuserc7c104
 
Lec1.regression
Lec1.regressionLec1.regression
Lec1.regressionAftab Alam
 
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
 
Probability distribution
Probability distributionProbability distribution
Probability distributionRanjan Kumar
 
MEM and SEM in the GME framework: Modelling Perception and Satisfaction - Car...
MEM and SEM in the GME framework: Modelling Perception and Satisfaction - Car...MEM and SEM in the GME framework: Modelling Perception and Satisfaction - Car...
MEM and SEM in the GME framework: Modelling Perception and Satisfaction - Car...SYRTO Project
 
CORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxCORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxVitalis Adongo
 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.pptRufesh
 

Ähnlich wie Poisson regression models for count data (20)

Machine learning mathematicals.pdf
Machine learning mathematicals.pdfMachine learning mathematicals.pdf
Machine learning mathematicals.pdf
 
Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help
 
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
 
Chapter 2 Simple Linear Regression Model.pptx
Chapter 2 Simple Linear Regression Model.pptxChapter 2 Simple Linear Regression Model.pptx
Chapter 2 Simple Linear Regression Model.pptx
 
R meetup lm
R meetup lmR meetup lm
R meetup lm
 
Statistics-2 : Elements of Inference
Statistics-2 : Elements of InferenceStatistics-2 : Elements of Inference
Statistics-2 : Elements of Inference
 
Logistical Regression.pptx
Logistical Regression.pptxLogistical Regression.pptx
Logistical Regression.pptx
 
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
 
Lec12-Probability (1).ppt
Lec12-Probability (1).pptLec12-Probability (1).ppt
Lec12-Probability (1).ppt
 
Lec12-Probability.ppt
Lec12-Probability.pptLec12-Probability.ppt
Lec12-Probability.ppt
 
Lec12-Probability.ppt
Lec12-Probability.pptLec12-Probability.ppt
Lec12-Probability.ppt
 
Lec12-Probability.ppt
Lec12-Probability.pptLec12-Probability.ppt
Lec12-Probability.ppt
 
Lec1.regression
Lec1.regressionLec1.regression
Lec1.regression
 
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...
 
Ders 2 ols .ppt
Ders 2 ols .pptDers 2 ols .ppt
Ders 2 ols .ppt
 
Glm
GlmGlm
Glm
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
MEM and SEM in the GME framework: Modelling Perception and Satisfaction - Car...
MEM and SEM in the GME framework: Modelling Perception and Satisfaction - Car...MEM and SEM in the GME framework: Modelling Perception and Satisfaction - Car...
MEM and SEM in the GME framework: Modelling Perception and Satisfaction - Car...
 
CORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxCORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptx
 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.ppt
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

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
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
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
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 

Kürzlich hochgeladen (20)

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
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
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
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 

Poisson regression models for count data

  • 2. 2 Outline • Review • Introduction to Poisson regression • A simple model: equiprobable model • Pearson and likelihood-ratio test statistics • Residual analysis • Poisson regression with a covariate (Poisson time trend model)
  • 3. 3 Review of Regression You may have come across: Dependent Variable Regression Model Continuous Linear Binary Logistic Multicategory (unordered) (nominal variable) Multinomial Logit Multicategory (ordered) (ordinal variable) Cumulative Logit
  • 4. 4 Regression In this session: Dependent Variable Regression Model Continuous Linear Binary Logistic Multicategory (unordered) (nominal variable) Multinomial Logit Multicategory (ordered) (ordinal variable) Cumulative Logit Count variable Poisson Regression (Log-linear model)
  • 5. Data Data for this session are assumed to be: • A count variable Y (e.g. number of accidents, number of suicides) • One categorical variable (X) with C possible categories (e.g. days of week, months) • Hence Y has C possible outcomes y1, y2, …, yC 5
  • 6. 6 Introduction: Poisson regression • Poisson regression is a form of regression analysis model count data (if all explanatory variables are categorical then we model contingency tables (cell counts)). • The model models expected frequencies • The model specifies how the count variable depends on the explanatory variables (e.g. level of the categorical variable)
  • 7. 7 Introduction: Poisson regression • Poisson regression models are generalized linear models with the logarithm as the (canonical) link function. • Assumes response variable Y has a Poisson distribution, and the logarithm of its expected value can be modelled by a linear combination of unknown parameters. • Sometimes known as a log-linear model, in particular when used to model contingency tables (i.e. only categorical variables).
  • 8. 8 Example: Suicides (count variable) by Weekday (categorical variable) in France Mon 1001 15.2% Tues 1035 15.7% Wed 982 14.9% Thur 1033 15.7% Fri 905 13.7% Sat 737 11.2% Sun 894 13.6% Total 6587 100.0%
  • 9. 9 Introduction: Poisson regression • Let us first look at a simple case: the equiprobable model (here for a 1-way contingency table)
  • 10. 10 Equiprobable Model • An equiprobable model means that: – All outcomes are equally probable (equally likely). – That is, for our example, we assume a uniform distribution for the outcomes across days of week (Y does not vary with days of week X).
  • 11. • The equiprobable model is given by: P(Y=y1) = P(Y=y2) = … = P(Y=yC) = 1/C i.e. we expect an equal distribution across days of week. • Given the data we can test if the assumption of the equiprobable model (H0) holds 11 Equiprobable Model
  • 12. 12 Example 1: Suicides by Weekday in France Mon 1001 15.2% Tues 1035 15.7% Wed 982 14.9% Thur 1033 15.7% Fri 905 13.7% Sat 737 11.2% Sun 894 13.6% Total 6587 100.0% H0: Each day is equally likely for suicides (i.e. the expected proportion of suicides is 100/7 = 14.3% each day)
  • 13. 13 Example 2: Traffic Accidents by Weekday H0: Each day is equally likely for an accident (i.e. the expected proportion of accidents is 100/7 = 14.3% each day) Mon 11 11.8% Tues 9 9.7% Wed 7 7.5% Thur 10 10.8% Fri 15 16.1% Sat 18 19.4% Sun 23 24.7% Total 93 100.0%
  • 14. 14 • H0: Each day is equally likely for an accident. • Alternative null hypotheses are: – H0: Each working day equally likely for an accident. – H0: Saturday and Sunday are equally likely for an accident. • Omitted variables? For example, distance driven each day of the week. Hypothesis Testing
  • 15. 15 • We can express this equiprobable model more formally as a Poisson regression model (without a covariate), which models the expected frequency Poisson regression – without a covariate
  • 16. 16 • We assume a Poisson distribution with parameter μ for the random component, i.e. yi ~ Poisson(µ), i.e. • Y is a random variable that takes only positive integer values • Poisson distribution has a single parameter (μ) which is both its mean and its variance. y i i i e P(Y y ) where y 1,2, 3 y ! i i i i m m- = = = Poisson regression
  • 17. • We aim to model the expected value of Y. It can be shown that this is the parameter μ, hence we aim to model μ. • We can write the equiprobable model defined earlier as a simple Poisson model (no explanatory variables), i.e. mean of Y does not change with month: where is a constant. 17 Poisson regression: Simple Model (No Covariate) i i i E(y ) 1/ log( ) i 1, ,C Cm m a = = = = L log(1/ )Ca =