Hello all, I am attempting to run a 2-step hurdle model using count data. My basic model is simply
xi: hplogit nonzerodzbtw_dx_inptcmo_max365 majorshrt moderateshrt, exposure(expintrvl365d) irr robust. My dependent variable is coded as zero if a patient did not receive treatment and 1 to 365 days if a patient did receive treatment, based upon days elapsed between diagnosis and treatment. Just over 1/2 of the sample did not receive treatment. When I run this model, I am getting negative values for my IRRs in the second stage Poisson component. When I add additional covariates, some are positive and some negative. My understanding is an IRR cannot be negative. Does anyone know why this might be happening? I have tried running with and without the exposure expression and same scenario replicates. Also, while the output on the screen states IRR for both logit and Poisson components, is the macro actually reporting odds ratios for the logit first step?
Thanks an advance to anyone who might be able to support. Nancy
xi: hplogit nonzerodzbtw_dx_inptcmo_max365 majorshrt moderateshrt, exposure(expintrvl365d) irr robust. My dependent variable is coded as zero if a patient did not receive treatment and 1 to 365 days if a patient did receive treatment, based upon days elapsed between diagnosis and treatment. Just over 1/2 of the sample did not receive treatment. When I run this model, I am getting negative values for my IRRs in the second stage Poisson component. When I add additional covariates, some are positive and some negative. My understanding is an IRR cannot be negative. Does anyone know why this might be happening? I have tried running with and without the exposure expression and same scenario replicates. Also, while the output on the screen states IRR for both logit and Poisson components, is the macro actually reporting odds ratios for the logit first step?
Thanks an advance to anyone who might be able to support. Nancy
Comment