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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Analyzing multiple mediators


From   Steve Samuels <sjsamuels@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Analyzing multiple mediators
Date   Thu, 29 Nov 2012 12:23:11 -0500

Isok:

"touse" is a local macro, a fundamental construct in Stata, which you must
become familiar with. When referred to, local macros, are enclosed by 
left single-quotes and right single-quotes; for example, see the -help- for
-forvalues-.   

http://www.stata.com/support/faqs/programming/correct-delimiter-for-local-macros/

Steve

On Nov 29, 2012, at 11:59 AM, Kim, Isok wrote:

Steve,

That was it!  Thanks so much for lending your expertise on this matter!!! Now I'm just curious what "`" does...

isok

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Steve Samuels
Sent: Thursday, November 29, 2012 11:36 AM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Analyzing multiple mediators




Maarten's advice is excellent, but a likely reason that you're getting the same error is that 'touse' should be  `touse'.

Steve


On Nov 29, 2012, at 11:18 AM, Maarten Buis wrote:

The trick is always to simplify the program till it works, and than move up again. So I would start with creating a program like that to compute bca confidence intervals for just a regular regression coefficient in a linear regression, no sureg, no indirect effects.
That way you can focus on what -bootstrap- needs to create bca confidence intervals. Get that program to work. Than start with a two equation -sureg- and just a simple regression coefficient. That way you can see if -sureg- is a problem. Get that program to work. Than a two equation sureg and a single indirect effect. etc. etc.

Hope this helps,
Maarten

On Thu, Nov 29, 2012 at 5:07 PM, Kim, Isok <isokkim@buffalo.edu> wrote:



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



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

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



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