BookmarkSubscribeRSS Feed
Sandahl
Calcite | Level 5

Hello,

I am modeling hospital visits (from a household survey where zero visits was an option and accounts for about 70%).

This is a longitudinal study (3 time points).

A zero inflated Poisson did not fit the data well.

Is there a way to calculate a two part model for longitudinal data in SAS?

Thank yo

1 REPLY 1
SteveDenham
Jade | Level 19

I think NLMIXED may be your only option, and even that will be messy.  I would start by doing a very careful search of the SAS-L archives (https://listserv.uga.edu/cgi-bin/wa?A0=SAS-L) for posts by David Cassell on the topic of zero-inflated and hurdle models using NLMIXED.

Steve Denham

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2091 views
  • 0 likes
  • 2 in conversation