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: ldecomp question


From   Alberto R Osella <arosella@irccsdebellis.it>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: ldecomp question
Date   Mon, 27 May 2013 15:45:55 +0200

Thanks Maarten. I hope you enjoyed it!!
There was a typo in the code. I'v e tried it in many ways.
These are the real names and the the error is the same.
ldecomp caco, direct(Pattern1_Tercil) indirect(estudcat) at(metscat400 0; lm 1; hij 1)

Alberto R. Osella, MD, PhD
Laboratorio di Epidemiologia e Biostatistica
IRCCS Saverio de Bellis
Via Turi, 27
70013 Castellana Grotte (BA)
Italia
Tel:    +39 0804994655
Fax:    +39 0804994650
e-mail: arosella@irccsdebellis.it

Il 27/05/2013 15:22, Maarten Buis ha scritto:
On 27 May 2013 12:40, Alberto R Osella wrote:
I'm using -ldecomp- from ssc (updated yesterday) on W7 (Stata 12.1) and I
get an error when I use the option at().
My code is as follow:
ldecomp dep_var, direct(Var_1) indirect(Var_2) at (Var_3 1; Var_4 2;
Var_5_3)
and the error is the following:
each element in the at() option must contain of two elements
the first element is one of the control variables and the second element its
value
an error occurred when bootstrap executed _ldecomp
r(198);
-at(Var_3 1; Var_4 2; Var_5_3)- should probably be -at(Var_3 1; Var_4
2; Var_5 3)-

On Mon, May 27, 2013 at 2:16 PM, Nick Cox wrote:
I guess you didn't get a reply because people were surprised that you
were puzzled.
I wrote -ldecomp- so I tend to pay attention to these questions. In
this case I did not respond as I was in beautiful Abbots Bromley
(which has 4 pubs, a pretty church, some cows, but no ATM) to attend a
wedding.

-- Maarten

---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

http://www.maartenbuis.nl
---------------------------------
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/



____________
Controllo virus eseguito da G Data AntiVirus
Versione: AVA 22.9910 del 26.05.2013
Info nuovi virus: www.antiviruslab.com

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index