Hello,
I have an unbalanced longitudinal dataset with a count dependent variable. (it is not zero inflated but is overdispersed)
I'd like to fit three (3) continous predicators that are reported to have curvilinear effect on the predicted variable.
The litterature also reports that the three predicators are interacting with each others.
The model will also include some other control variables.
I try to demonstrate the effect of three way interactions between the predicators and describe the eight (8) cases of high/low values (p1:low, p2:low, p3:low; p1:high, p2:low, p3:low;...)
If I try to code this myself I calculated that I should end up with over a million different regressions since I'd have to test every interaction term and their combinations.
The closest I could find to fit some model with stata is the "bfit" function but it doesnt support panel or negative binomial.
Could someone point me toward a solution to fit the best model ?
Best Regards,
Arman
I have an unbalanced longitudinal dataset with a count dependent variable. (it is not zero inflated but is overdispersed)
I'd like to fit three (3) continous predicators that are reported to have curvilinear effect on the predicted variable.
The litterature also reports that the three predicators are interacting with each others.
The model will also include some other control variables.
I try to demonstrate the effect of three way interactions between the predicators and describe the eight (8) cases of high/low values (p1:low, p2:low, p3:low; p1:high, p2:low, p3:low;...)
If I try to code this myself I calculated that I should end up with over a million different regressions since I'd have to test every interaction term and their combinations.
The closest I could find to fit some model with stata is the "bfit" function but it doesnt support panel or negative binomial.
Could someone point me toward a solution to fit the best model ?
Best Regards,
Arman
Comment