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

From |
Johannes Schoder <johannes.schoder@soi.uzh.ch> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Re: Re: Estimating a model where the dependent variale is a ratio - Folllow up |

Date |
Fri, 04 Sep 2009 14:28:53 -0400 |

Thanks Martin, Thanks Joseph, Thanks Carlo, your comments helped a lot!! Just two things: A. Concerning Josephs reply: I tried the following for one year (e.g. year 2000): glm A C, i (count) family (binomial B) and I get the result my supervisor wanted me to get. However, why are you suggesting xtgee? I assume that you meant that I perform my estimation for several years. I might try that later, too. B. Concerning Carlos comment:

So I think I have to group the data in the following way:

Or is this not necessary and I am loosing important information? Again thanks a lot for your comments! Best, Johannes Joseph Coveney schrieb:

I wrote: >From the SAS code that you've shown, your major professor seems to be fitting alinear model.-------------------------------------------------------------------------------- I mistook, if I remember correctly now. The PROC GENMOD syntax (MODEL A / B = C;) that you showed *is* for a logistic model for which the corresponding Stata command is (as was shown): xtgee A C, i(country) family(binomial B) Joseph Coveney * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

* * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**R: st: Re: Re: Estimating a model where the dependent variale is a ratio - Folllow up***From:*"Carlo Lazzaro" <carlo.lazzaro@tin.it>

**References**:**st: Estimating a model where the dependent variale is a ratio***From:*Johannes Schoder <johannes.schoder@soi.uzh.ch>

**st: Re: Estimating a model where the dependent variale is a ratio***From:*"Joseph Coveney" <jcoveney@bigplanet.com>

**st: Re: Re: Estimating a model where the dependent variale is a ratio***From:*"Joseph Coveney" <jcoveney@bigplanet.com>

- Prev by Date:
**st: SSC Archive** - Next by Date:
**Re: st: 3D surface plot of joint density** - Previous by thread:
**st: Re: Re: Estimating a model where the dependent variale is a ratio** - Next by thread:
**R: st: Re: Re: Estimating a model where the dependent variale is a ratio - Folllow up** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |