| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: ssm , sample selection and pweights
Apologies. Here's the exact command:
ssm mastorg3 age18_24 age25_34 age35_44 healthd happyd vhappy
Black Hispanic AsianNatAm ktouch pacol2 [pweight=rweight] if
xf==1, s(masturbd=age18_24 age25_34 age35_44 healthd happyd
vhappy Black Hispanic AsianNatAm ktouch pacol2 part12_3d
kidnone leroral2 partnera2) q(16) adapt family(binom)
link(ologit) selection
And this is the error message:
; invalid name
r(198);
To repeat, the same command works fine if I remove pweights.
Thanks.
-Aniruddha Das.
---- Original message ----
>Date: Sun, 3 Sep 2006 15:55:11 +0200
>From: "Svend Juul" <[email protected]>
>Subject: Re: st: ssm , sample selection and pweights
>To: <[email protected]>
>
>Aniruddha Das wrote:
>
>When I use the new ssm command (gllamm) for the sample
>selection model along with pweights, this is what happens:
> ; invalid name
> r(198);
>Runs fine without pweights. Any thoughts?
>-----------------------------------------------------------
>
>To get an informative response you should show EXACTLY
>what command you wrote to elicit the error message.
>
>Svend
>________________________________________________________
>
>Svend Juul
>Institut for Folkesundhed, Afdeling for Epidemiologi
>(Institute of Public Health, Department of Epidemiology)
>Vennelyst Boulevard 6
>DK-8000 Aarhus C, Denmark
>Phone, work: +45 8942 6090
>Phone, home: +45 8693 7796
>Fax: +45 8613 1580
>E-mail: [email protected]
>_________________________________________________________
>
>*
>* For searches and help try:
>* http://www.stata.com/support/faqs/res/findit.html
>* http://www.stata.com/support/statalist/faq
>* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/