<>
*************
clear*
vers 9.2
set obs 1000
gen x= invnormal(uniform())
gen weight=uniform()*10
svyset _n [pweight=weight], vce(linearized) singleunit(missing)
svy, vce(linearized): total x
estat effects
mat A=r(deff)
di in r "DEFF: " %20.19fc A[1,1]
*************
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von CONTRERAS
GONZALEZ JOSE ANTONIO
Gesendet: Donnerstag, 12. November 2009 16:17
An: [email protected]
Betreff: st: svy: total
Hello everyone!
I'm still a newbi in stata, then I beg for your help in this case:
I need to know how to make that the next command, svy,
vce(linearized): total PO
Display DEFF, and display the results with more digits than it does
actually.
I'am using stata 9 SE
Thanks in advance!!
-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Solorzano
Mosquera, Jenniffer
Enviado el: miércoles, 11 de noviembre de 2009 05:36 p.m.
Para: '[email protected]'
Asunto: st: Levpet, program error
Actually I found it in :
www.stata-journal.com/software/sj4-2/st0060/levpet.ado
But when I try to run it an error pop up:
. levpet lnUSY if panel==3, free(lnUSL) proxy (lnUSM) capital(lnUSK) revenue
no observations
error #2000 occurred in program nllp_bs_gmm
r(196);
Any ideas about the program nllp_bs_gmm?
Jenniffer Solorzano Mosquera
Labor Markets Division - Inter-American Development Bank
Washington, DC - USA
(202) 623-3659
*
* 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/
*
* 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/