I have a dependent count variable that measures the number of days spent in a hospital (LOS) for a group of patients who received two different medical interventions upon hospitalization. I'm trying to examine the effect of the treatment on the dependent variable, LOS while controlling for other variables. Would it be appropriate to use a negative binomial model here? Normally, I'd think yes, but I'm a bit confused since everything I've read on Poisson and Negative Binomial regression says that I need to be using counts that have the same time period (or use an offset). But in my case, the time, or days spent in the hospital, is my dependent variable. Given this, would it still be appropriate to use negative binomial regression? If it helps in providing an answer, I'm using the following SAS code (but am not sure if it's appropriate):
proc genmod data=work.hosp;
class trt gender;
model los = trt admissiondept age severity_index gender injscore / dist=negbin link=log type3;
run;