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]

RES: st: is there apc_ie predict post-estimation?


From   José Maria Pacheco de Souza <jmpsouza@usp.br>
To   <statalist@hsphsun2.harvard.edu>
Subject   RES: st: is there apc_ie predict post-estimation?
Date   Sun, 1 Aug 2010 19:48:07 -0300

Thank you, Steve.
I will try.
José Maria

-----Mensagem original-----
De: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Em nome de Steve Samuels
Enviada em: domingo, 1 de agosto de 2010 09:25
Para: statalist@hsphsun2.harvard.edu
Assunto: Re: st: is there apc_ie predict post-estimation?

The -help- for -apc_ie-  indicates that it takes -glm- options, and
inspection of the source code reveals that it indeed calls -glm-. So
all -glm- post-estimation command should work. The answer to your
question is "yes", provided you use the agefx(), periodfx() and
cohortfx() options (not mentioned in the -help-) and keep the
generated variables. Run the second example in the accompanying do
file (net describe apc, from(http://fmwww.bc.edu/RePEc/bocode/a) and
do _not_ drop the generated variables _A* _P* and _C*. Then -predict-
should work as expected.

Steve

-- 
Steven Samuels
sjsamuels@gmail.com
18 Cantine's Island
Saugerties NY 12477
USA
Voice: 845-246-0774
Fax:    206-202-4783


2010/7/27 José Maria Pacheco de Souza <jmpsouza@usp.br>:
> Dear Statalisters:
> Is there a post-estimation command alike _predict newvar,xb_ for the user
> written apc_ie program of Sam Schulhofer-Wohl & Yang Yang?
> I would like to plot separately the modeled response (Gaussian family,
> identity) curves for age, for cohort and period.
> Thank you for any help.
> José Maria
>
> José Maria Pacheco de Souza
> Professor Titular, aposentado; Colaborador Sênior
> Departamento de Epidemiologia/Faculdade de Saúde Pública/Universidade de
São
> Paulo
> Av. Dr. Arnaldo, 715 - São Paulo, Capital - cep 01246-904
> Fones: FSP= (11)3061-7747  Res= (11)3714-2403; (11)3768-8612
> www.fsp.usp.br/~jmpsouza
>



*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index