• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Analysis Factor

The Analysis Factor

Statistical Consulting, Resources, and Statistics Workshops for Researchers

  • Home
  • Our Programs
    • Membership
    • Online Workshops
    • Free Webinars
    • Consulting Services
  • About
    • Our Team
    • Our Core Values
    • Our Privacy Policy
    • Employment
    • Collaborate with Us
  • Statistical Resources
  • Contact
  • Blog
  • Login

Poisson and Negative Binomial Regression Models

What Are Nested Models?

by Karen Grace-Martin Leave a Comment

Pretty much all of the common statistical models we use, with the exception of OLS Linear Models, use Maximum Likelihood estimation.

This includes favorites like:

  • All Generalized Linear Models, including logistic, probit, beta, Poisson, negative binomial regression
  • Linear Mixed Models
  • Generalized Linear Mixed Models
  • Parametric Survival Analysis models, like Weibull models
  • Structural Equation Models

That’s a lot of models.

If you’ve ever learned any of these, you’ve heard that some of the statistics that compare model fit in competing models require [Read more…] about What Are Nested Models?

Tagged With: covariance parameters, deviance, fixed effect, likelihood ratio test, linear mixed model, linear model, Model Building, nested models

Related Posts

  • Member Training: Goodness of Fit Statistics
  • Mixed Models: Can you specify a predictor as both fixed and random?
  • Member Training: Hierarchical Regressions
  • Member Training: Types of Regression Models and When to Use Them

Analyzing Zero-Truncated Count Data: Length of Stay in the ICU for Flu Victims

by Jeff Meyer 3 Comments

by Jeff Meyer

It’s that time of year: flu season.

Let’s imagine you have been asked to determine the factors that will help a hospital determine the length of stay in the intensive care unit (ICU) once a patient is admitted.

The hospital tells you that once the patient is admitted to the ICU, he or she has a day count of one. As soon as they spend 24 hours plus 1 minute, they have stayed an additional day.

Clearly this is count data. There are no fractions, only whole numbers.

To help us explore this analysis, let’s look at real data from the State of Illinois. We know the patients’ ages, gender, race and type of hospital (state vs. private).

A partial frequency distribution looks like this: [Read more…] about Analyzing Zero-Truncated Count Data: Length of Stay in the ICU for Flu Victims

Tagged With: Count data, linear regression, negative binomial, poisson, predictors, Truncated

Related Posts

  • The Problem with Linear Regression for Count Data
  • The Importance of Including an Exposure Variable in Count Models
  • Poisson or Negative Binomial? Using Count Model Diagnostics to Select a Model
  • Getting Accurate Predicted Counts When There Are No Zeros in the Data

Two-Way Tables and Count Models: Expected and Predicted Counts

by Jeff Meyer 1 Comment

by Jeff Meyer

In a previous article, we discussed how incidence rate ratios calculated in a Poisson regression can be determined from a two-way table of categorical variables.

Statistical software can also calculate the expected (aka predicted) count for each group. Below is the actual and expected count of the number of boys and girls participating and not participating in organized sports.

cm-twowaytables-1

 

 

 

 

 

 

 

The value in the top of each cell is the actual count (40 boys do not play organized sports) and the bottom value is the expected/predicted count (36 boys are predicted to not play organized sports).

The Poisson model that we ran in the previous article generated the following table: [Read more…] about Two-Way Tables and Count Models: Expected and Predicted Counts

Tagged With: categorical variable, expected count, poisson, predicted count, two-way table

Related Posts

  • Poisson or Negative Binomial? Using Count Model Diagnostics to Select a Model
  • Getting Accurate Predicted Counts When There Are No Zeros in the Data
  • The Problem with Linear Regression for Count Data
  • Analyzing Zero-Truncated Count Data: Length of Stay in the ICU for Flu Victims

Understanding Incidence Rate Ratios through the Eyes of a Two-Way Table

by Jeff Meyer 2 Comments

by Jeff Meyer

The coefficients of count model regression tables are shown in either logged form or as incidence rate ratios. Trying to explain the coefficients in logged form can be a difficult process.

Incidence rate ratios are much easier to explain. You probably didn’t realize you’ve seen incidence rate ratios before, expressed differently.

Let’s look at an example.

A school district was interested in how many children in their sixth grade classes played on organized sports teams. So they did a count and also noted the gender of the child. The results were put into a table: [Read more…] about Understanding Incidence Rate Ratios through the Eyes of a Two-Way Table

Tagged With: count model, incidence rate ratio, regression coefficients, two-way table

Related Posts

  • The Importance of Including an Exposure Variable in Count Models
  • Member Training: Count Models
  • Count Models: Understanding the Log Link Function
  • Poisson or Negative Binomial? Using Count Model Diagnostics to Select a Model

Differences Between the Normal and Poisson Distributions

by Karen Grace-Martin 4 Comments

The normal distribution is so ubiquitous in statistics that those of us who use a lot of statistics tend to forget it’s not always so common in actual data.

And since the normal distribution is continuous, many people describe all numerical variables as continuous. I get it: I’m guilty of using those terms interchangeably, too, but they’re not exactly the same.

Numerical variables can be either continuous or discrete.

The difference? Continuous variables can take any number within a range. Discrete variables can only be whole numbers.

So 3.04873658 is a possible value of a continuous variable, but not discrete.

Count variables, as the name implies, are frequencies of some event or state. Number of arrests, fish [Read more…] about Differences Between the Normal and Poisson Distributions

Tagged With: continuous variable, discrete, negative binomial, normal distribution, normality, numeric variable, Poisson Regression

Related Posts

  • The Importance of Including an Exposure Variable in Count Models
  • Count Models: Understanding the Log Link Function
  • Count vs. Continuous Variables: Differences Under the Hood
  • The Problem with Linear Regression for Count Data

Overdispersion in Count Models: Fit the Model to the Data, Don’t Fit the Data to the Model

by Jeff Meyer 2 Comments

by Jeff Meyer

If you have count data you use a Poisson model for the analysis, right?

The key criterion for using a Poisson model is after accounting for the effect of predictors, the mean must equal the variance. If the mean doesn’t equal the variance then all we have to do is transform the data or tweak the model, correct?

Let’s see how we can do this with some real data. A survey was done in Australia during the peak of the flu season. The outcome variable is the total number of times people asked for medical advice from any source over a two-week period.

We are trying to determine what influences people with flu symptoms to seek medical advice. The mean number of times was 0.516 times and the variance 1.79.

The mean does not equal the variance even after accounting for the model’s predictors.

Here are the results for this model: [Read more…] about Overdispersion in Count Models: Fit the Model to the Data, Don’t Fit the Data to the Model

Tagged With: count model, negative binomial, overdispersion, poisson

Related Posts

  • Poisson or Negative Binomial? Using Count Model Diagnostics to Select a Model
  • The Importance of Including an Exposure Variable in Count Models
  • The Problem with Linear Regression for Count Data
  • Analyzing Zero-Truncated Count Data: Length of Stay in the ICU for Flu Victims

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Interim pages omitted …
  • Go to page 7
  • Go to Next Page »

Primary Sidebar

This Month’s Statistically Speaking Live Training

  • Member Training: A Gentle Introduction to Bootstrapping

Upcoming Free Webinars

Getting Started with R
3 Overlooked Strengths of Structural Equation Modeling
4 Critical Steps in Building Linear Regression Models

Upcoming Workshops

    No Events

Copyright © 2008–2022 The Analysis Factor, LLC. All rights reserved.
877-272-8096   Contact Us

The Analysis Factor uses cookies to ensure that we give you the best experience of our website. If you continue we assume that you consent to receive cookies on all websites from The Analysis Factor.
Continue Privacy Policy
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT