Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Camila Mendes <cacamendes85@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: Workaround to implement apc_ie for a multinomial family problem |

Date |
Tue, 19 Mar 2013 11:23:41 -0300 |

Hi everyone, I want a help with my model. If Y ~ Multinomial(n,p1,p2,p3,p4) and: n is the total of individuals. p1 is the probability of falling into the 1st category. p2 is the probability of falling into the 2nd category. p3 is the probability of falling into the 3rd category. y1 is the amount of people in the 1st category. y2 is the amount of people in the 2nd category. y3 is the amont of people in the 3rd category. It can be demonstrated that: P(Y) = Bin[n,p1] x Bin[n-y1;p2/(1-p1)] x Bin[n-y1-y2;p3/(1-p1-p2)]. Using apc_ie ado algoritm, I want to run separately each of the conditional models: A: Bin[n,p1] B: Bin[n-y1;p2/(1-p1)] C: Bin[n-y1-y2;p3/(1-p1-p2)] as a function of the same covariates (age, period and cohort parameters). I though of this as a workaround to implement apc_ie in the context of the multinomial family. Would this work at all? If so, it is clear to me that it would be necessary to restrict the samples in each step. However, how to restrict the probabilities as well? Many thanks, Camilla. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

- Prev by Date:
**Re: st: STATA command equivalent to SPSS "aggregate"?** - Next by Date:
**RE: st: STATA command equivalent to SPSS "aggregate"?** - Previous by thread:
**st: outreg2** - Next by thread:
**st: Multinomial regression with repeated measures** - Index(es):