Statalist


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

st: AW: Estimating a model where the dependent variale is a ratio


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: Estimating a model where the dependent variale is a ratio
Date   Thu, 3 Sep 2009 23:16:11 +0200

<>

http://www.stata.com/support/faqs/stat/logit.html


HTH
Martin

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Johannes
Schoder
Gesendet: Donnerstag, 3. September 2009 21:04
An: [email protected]
Betreff: st: Estimating a model where the dependent variale is a ratio

Hi all,

I am struggling for a while with the following issue:
I should estimate a  model of the following form:
(Number of people diagnosed with cancer type i in county c who survived 
5 years or more)/ (Total number of people diagnosed with cancer type  i 
in county c)=beta_ln_Number of people diagnosed with cancer type i in 
county c

In my dataset I have information on the survival time in months for each 
individual, the county where he was diagnosed, and the cancer type he 
was diagnosed with.
My advisor is using SAS and used the command:
 PROC GENMOD; class type county MODEL N_SURV/N_DIAG=ln_DIAG type 
REPEATED SUBJECT=county
However, in Stata I don't know how to estimate a model where the 
dependent variable is a ratio (see the lhs variable above). Does anyone 
know how to estimate this kind of model in Stata?
Thanks a lot for your help!!
Best,
Johannes

*
*   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/



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