Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: using apc_ie with survey data
From
Stas Kolenikov <[email protected]>
To
[email protected]
Subject
Re: st: using apc_ie with survey data
Date
Wed, 24 Nov 2010 09:55:48 -0600
On Wed, Nov 24, 2010 at 9:22 AM, Alman, Amy Christine
<[email protected]> wrote:
> I am interested in using the user written apc_ie command of Sam Schulhofer-Wohl & Yang Yang for some age-period-cohort analyses of adolescent smoking. The data are from a stratified random sample survey. The apc_ie command does not accept the svy prefix in order to accurately estimate variance. Does anyone know of a possible workaround to be able to use this command with survey data?
As far as I understand, the -apc- commands are wrappers around -glm-
commands with some equality constraints. The easiest way might be to
"unwrap" them and run the bare -svy : glm- with the necessary
constraints.
--
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.
*
* 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/