SlideShare a Scribd company logo
1 of 8
Types of Poisson Regression
Offset Regression
 A variant of Poisson Regression
 Count data often have an exposure variable, which indicates the number
of times the event could have happened
 This variable should be incorporated into a Poisson model with the use of
the offset option
Offset Regression
 If all the students have same exposure to math (program), the number of
awards are comparable
 But if there is variation in the exposure, it could affect the count
 A count of 5 awards out of 5 years is much bigger than a count of 1 out of
3
 Rate of awards is count/exposure
 In a model for awards count, the exposure is moved to the right side
 Then if the algorithm of count is logged & also the exposure, the final
model contains ln(exposure) as term that is added to the regression
equation
 This logged variable, ln(exposure) or a similarity constructed variable is
called the offset variable
Offset Poisson Regression
 A data frame with 63 observations on the following 4 variables.
(lung.cancer)
 years.smok a factor giving the number of years smoking
 cigarettes a factor giving cigarette consumption
 Time man-years at risk
 y number of deaths
Negative Binomial Regression
 One potential drawback of Poisson regression is that it may not accurately
describe the variability of the counts
 A Poisson distribution is parameterized by λ, which happens to be both its
mean and variance. While convenient to remember, it’s not often realistic.
 A distribution of counts will usually have a variance that’s not equal to its
mean. When we see this happen with data that we assume (or hope) is
Poisson distributed, we say we have under- or over dispersion, depending
on if the variance is smaller or larger than the mean.
 Performing Poisson regression on count data that exhibits this behavior
results in a model that doesn’t fit well.
 One approach that addresses this issue is Negative Binomial
Regression.
 We go for Negative Binomial Regression when Variance > Mean
(over dispersion)
 The negative binomial distribution, like the Poisson
distribution, describes the probabilities of the occurrence of
whole numbers greater than or equal to 0.
 The variance of a negative binomial distribution is a function
of its mean and has an additional parameter, k, called the
dispersion parameter.
 The variance of a negative binomial distribution is a function
of its mean and has an additional parameter, k, called the
dispersion parameter.
var(Y)=μ+μ2/k
Zero Inflated Regression
Data science types_of_poisson_regression

More Related Content

What's hot

Chapter 9 Regression
Chapter 9 RegressionChapter 9 Regression
Chapter 9 Regression
ghalan
 
Chapter 2.3 : Using Scientific Method
Chapter 2.3 : Using Scientific MethodChapter 2.3 : Using Scientific Method
Chapter 2.3 : Using Scientific Method
Chris Foltz
 
Dependance Technique, Regression & Correlation
Dependance Technique, Regression & Correlation Dependance Technique, Regression & Correlation
Dependance Technique, Regression & Correlation
Qasim Raza
 
MultipleLinearRegressionPaper
MultipleLinearRegressionPaperMultipleLinearRegressionPaper
MultipleLinearRegressionPaper
Katie Harvey
 

What's hot (16)

Interpreting Regression Results - Machine Learning
Interpreting Regression Results - Machine LearningInterpreting Regression Results - Machine Learning
Interpreting Regression Results - Machine Learning
 
Chapter 6 Section 4 Fractions Decimals And Percents
Chapter 6 Section 4 Fractions Decimals And PercentsChapter 6 Section 4 Fractions Decimals And Percents
Chapter 6 Section 4 Fractions Decimals And Percents
 
Siva correlation
Siva correlationSiva correlation
Siva correlation
 
Tempest in teapot
Tempest in teapotTempest in teapot
Tempest in teapot
 
Chapter 9 Regression
Chapter 9 RegressionChapter 9 Regression
Chapter 9 Regression
 
Notes Ch8
Notes Ch8Notes Ch8
Notes Ch8
 
Probability decision making
Probability decision makingProbability decision making
Probability decision making
 
Chapter 2.3 : Using Scientific Method
Chapter 2.3 : Using Scientific MethodChapter 2.3 : Using Scientific Method
Chapter 2.3 : Using Scientific Method
 
Representation of Entity relationship diagram in data base managemnet system
Representation of Entity relationship diagram in data base managemnet systemRepresentation of Entity relationship diagram in data base managemnet system
Representation of Entity relationship diagram in data base managemnet system
 
Dependance Technique, Regression & Correlation
Dependance Technique, Regression & Correlation Dependance Technique, Regression & Correlation
Dependance Technique, Regression & Correlation
 
Standardization
StandardizationStandardization
Standardization
 
Dependence Techniques
Dependence Techniques Dependence Techniques
Dependence Techniques
 
Multicollinearity
MulticollinearityMulticollinearity
Multicollinearity
 
Bio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptionsBio-statistics definitions and misconceptions
Bio-statistics definitions and misconceptions
 
MultipleLinearRegressionPaper
MultipleLinearRegressionPaperMultipleLinearRegressionPaper
MultipleLinearRegressionPaper
 
Regularization why you should avoid them
Regularization why you should avoid themRegularization why you should avoid them
Regularization why you should avoid them
 

Similar to Data science types_of_poisson_regression

Recep maz msb 701 quantitative analysis for managers
Recep maz msb 701 quantitative analysis for managersRecep maz msb 701 quantitative analysis for managers
Recep maz msb 701 quantitative analysis for managers
recepmaz
 
Recep maz msb 701 quantitative analysis for managers
Recep maz msb 701 quantitative analysis for managersRecep maz msb 701 quantitative analysis for managers
Recep maz msb 701 quantitative analysis for managers
recepmaz
 
Multinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdfMultinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdf
AlemAyahu
 

Similar to Data science types_of_poisson_regression (20)

7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares
 
Count data analysis
Count data analysisCount data analysis
Count data analysis
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Descriptive Statistics
Descriptive StatisticsDescriptive Statistics
Descriptive Statistics
 
2-20-04.ppt
2-20-04.ppt2-20-04.ppt
2-20-04.ppt
 
ders 8 Quantile-Regression.ppt
ders 8 Quantile-Regression.pptders 8 Quantile-Regression.ppt
ders 8 Quantile-Regression.ppt
 
Recep maz msb 701 quantitative analysis for managers
Recep maz msb 701 quantitative analysis for managersRecep maz msb 701 quantitative analysis for managers
Recep maz msb 701 quantitative analysis for managers
 
Recep maz msb 701 quantitative analysis for managers
Recep maz msb 701 quantitative analysis for managersRecep maz msb 701 quantitative analysis for managers
Recep maz msb 701 quantitative analysis for managers
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Eviews forecasting
Eviews forecastingEviews forecasting
Eviews forecasting
 
Assumptions of Linear Regression - Machine Learning
Assumptions of Linear Regression - Machine LearningAssumptions of Linear Regression - Machine Learning
Assumptions of Linear Regression - Machine Learning
 
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsData Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
 
CH3.pdf
CH3.pdfCH3.pdf
CH3.pdf
 
Geert van Kollenburg-masterthesis
Geert van Kollenburg-masterthesisGeert van Kollenburg-masterthesis
Geert van Kollenburg-masterthesis
 
Statistics excellent
Statistics excellentStatistics excellent
Statistics excellent
 
MF Presentation.pptx
MF Presentation.pptxMF Presentation.pptx
MF Presentation.pptx
 
M8.logreg.ppt
M8.logreg.pptM8.logreg.ppt
M8.logreg.ppt
 
M8.logreg.ppt
M8.logreg.pptM8.logreg.ppt
M8.logreg.ppt
 
Multinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdfMultinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdf
 
5_lectureslides.pptx
5_lectureslides.pptx5_lectureslides.pptx
5_lectureslides.pptx
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
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
kauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Data science types_of_poisson_regression

  • 1. Types of Poisson Regression
  • 2. Offset Regression  A variant of Poisson Regression  Count data often have an exposure variable, which indicates the number of times the event could have happened  This variable should be incorporated into a Poisson model with the use of the offset option
  • 3. Offset Regression  If all the students have same exposure to math (program), the number of awards are comparable  But if there is variation in the exposure, it could affect the count  A count of 5 awards out of 5 years is much bigger than a count of 1 out of 3  Rate of awards is count/exposure  In a model for awards count, the exposure is moved to the right side  Then if the algorithm of count is logged & also the exposure, the final model contains ln(exposure) as term that is added to the regression equation  This logged variable, ln(exposure) or a similarity constructed variable is called the offset variable
  • 4. Offset Poisson Regression  A data frame with 63 observations on the following 4 variables. (lung.cancer)  years.smok a factor giving the number of years smoking  cigarettes a factor giving cigarette consumption  Time man-years at risk  y number of deaths
  • 5. Negative Binomial Regression  One potential drawback of Poisson regression is that it may not accurately describe the variability of the counts  A Poisson distribution is parameterized by λ, which happens to be both its mean and variance. While convenient to remember, it’s not often realistic.  A distribution of counts will usually have a variance that’s not equal to its mean. When we see this happen with data that we assume (or hope) is Poisson distributed, we say we have under- or over dispersion, depending on if the variance is smaller or larger than the mean.  Performing Poisson regression on count data that exhibits this behavior results in a model that doesn’t fit well.
  • 6.  One approach that addresses this issue is Negative Binomial Regression.  We go for Negative Binomial Regression when Variance > Mean (over dispersion)  The negative binomial distribution, like the Poisson distribution, describes the probabilities of the occurrence of whole numbers greater than or equal to 0.  The variance of a negative binomial distribution is a function of its mean and has an additional parameter, k, called the dispersion parameter.  The variance of a negative binomial distribution is a function of its mean and has an additional parameter, k, called the dispersion parameter. var(Y)=μ+μ2/k