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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Estimation selection model with selmlog/svyselmlog using sample weights


From   "Joao Ricardo F. Lima" <jricardofl@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Estimation selection model with selmlog/svyselmlog using sample weights
Date   Wed, 23 Nov 2011 23:43:45 -0300

David,

selmlog and svyselmlog are user written programs. If you have sample
weights, use -svyselmlog-. You must -svyset- your dataset how version
8 of Stata, to run.

version 8: svyset [pweight = weight_name], psu(psu_name) strata(strat_name)

The sintax you can see in the -h svyselmlog-

HTH,

Joao Lima


2011/11/23 Steve Samuels <sjsamuels@gmail.com>:
> Please specify the source of contributed commands. If you have sampling weights, use -svyselmlog-; you must first  -svyset- your dataset to specify the sampling (probability) weights, primary sampling units, and other aspects of the design.
>
> Steve
>
> On Nov 23, 2011, at 9:30 AM, David Wiesinger wrote:
>
> Dear statlisters,
>
> i have a problem with the estimation of a selection model using svyselmlog/selmlog. Actually, i would like to add sample weights, but i don't really known, how to do this. Any comments and ideas are welcome.
>
> Best wishes (and thanks in advance),
>
> David Wiesinger
> --
> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
> Jetzt informieren: http://www.gmx.net/de/go/freephone
> *
> *   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/
>



-- 
---------------------------------------------------------
João Ricardo F. de Lima
Pesquisador A - Economia Aplicada
Embrapa Semiárido
e-mail: joao.ricardo@cpatsa.embrapa.br
fone: +55 (87) 3866-3667
home-page: www.cpatsa.embrapa.br
----------------------------------------------------------

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