Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Problems that seem to be the result of a "long command line" in a do file


From   "Hoogendoorn, Adriaan" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Problems that seem to be the result of a "long command line" in a do file
Date   Tue, 15 Jun 2010 23:31:20 +0200

Dear Statalist,

I encounter some problems that seem to be the result of a "long command line" in a do file, even though I broke the long command line up into several parts over several lines (see below).
The problem may be the result of my bad knowledge of Stata on this point.
I encounter the problem in a call to the 'confa' command in Stanislav Kolenikov's package that does Confirmatory Factor Analysis (package st0169 from http://www.stata-journal.com/software/sj9-3).

The call:

confa (list_ae: ru001ae01 ru002ae02 ru003ae03 da001ae01 da002ae02    ///
                da003ae03 vo001ae01 vo002ae02 vo003ae03 vo004ae04 )  ///
      (list_ep: ru005ep01 ru006ep02 ru007ep03 ru008ep04 ru009ep05    ///
                da005ep01 da006ep02 da007ep03 vo005ep01 vo007ep03 )  ///
      (list_et: ru011et01 ru012et02 ru013et03 ru014et04 da011et01    ///
                da013et03 da014et04 vo011et01 vo012et02 vo013et03 )  ///
      , from(smart) iterate(50)

results into the error message "da0 ambigous abbreviation", while the call:

confa (list_ae: ru001ae01 ru002ae02 ru003ae03 da001ae01 da002ae02     ///
                da003ae03 vo001ae01 vo002ae02 vo003ae03 vo004ae04 )   ///
      (list_ep: ru005ep01 ru006ep02 ru007ep03 ru008ep04 ru009ep05     ///
             da005ep01 da006ep02 da007ep03 vo005ep01 vo007ep03 )   ///
   (list_et: ru011et01 ru012et02 ru013et03 ru014et04 ), from(smart) iterate(50)

- which is identical to the first call, except that 'list_et' consists of four instead of
ten variables - works fine.

Do you know of a way I can run the first command?
I could use shorter variable names, but I am hoping for a more elegant solution.

Your help is very welcome.

Kind regards,

Adriaan W. Hoogendoorn
GGZ inGeest, Amsterdam

Dit e-mailbericht is uitsluitend bestemd voor de geadresseerde. Als dit bericht niet voor u bestemd is, wordt u verzocht dit aan de afzender te melden en het bericht te vernietigen. Het is niet toegestaan de inhoud van dit bericht verder te verspreiden of te gebruiken. Voor meer informatie over GGZ inGeest: www.ggzingeest.nl.


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index