Bookmark and Share

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]

Re: st: running rcpoisson command


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: running rcpoisson command
Date   Mon, 12 Nov 2012 19:33:08 +0100

Looks like -rcpoisson- does not estimate the model you want. It is
related, but not related enough. You could try to program such a model
yourself, or you can see if you can "trick" a program like -streg- to
fit the model you want. This is not a complete answer, I am just
telling you where I would start looking for an answer based on my
intuition.

-- Maarten

On Mon, Nov 12, 2012 at 6:25 PM, Fatma Romeh <fromeh1@student.gsu.edu> wrote:
> Thank you so much Aaron Kirkman, Billy, and Dr. Muhammad  for your reply. I really sent the question twice by mistake. This is my fist time to post in statalist, and surely the mistake will not be repeated.
>
> I installed the rcpoisson command by using these commands:
>
> . net sj 11-1 st0219
> . net install st0219
> . net get st0219
>
>
>  I did read the FAQ questions before submitting mine and I didn't find an answer for my question in the posting. Also I tried a lot with the rcpoisson command before posting.
>
> My problem was with the right-censoring limit:  ul[(#|varname)]. If I put ul(44), Stata will treat women with a number of children >= 44 as censored, which is not what I want. If I put ul(age), Stata will treat a woman i with number of children_i >= age_i  as censored, again is not what I want.
>
> As I mentioned in my original posting, I want Stata to treat the number of children for a woman who are aged below 44 as right censored? I appreciate any help with my question.
>
> Regards,
>
> Fatma,
>
>
>
>
> *
> *   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/



-- 
---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

http://www.maartenbuis.nl
---------------------------------

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


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index