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]

Re: st: SQ - problem with sqom command


From   [email protected]
To   [email protected]
Subject   Re: st: SQ - problem with sqom command
Date   Fri, 13 May 2011 14:52:51 +0200

Assuming that your Stata is up-to-date, I guess that you need to
re-compile the Mata library lsq.mlib with Stata 10. I used Stata 11 for
the compilation and as far as I know, Mata programs compiled with Stata 11
do not work with Stata 10 -- even under version control.

To re-compile the Mata library lsq.mlib cd with Stata into the directory
where the file lsq.mata is installed. On Windows this is most likely
c:/ado/plus/l. If this is the case type

. cd c:/ado/plus/l
. do lsq.mata

If you installed you user written ado-files somewhere else change the
first command accordingly.

Hope this helps
Uli


> Dear Statalisters,
>
> I've installed the SQ ado files (Kohler,  Luniak and Brzinsky-Fay) on
> a pc of our computer lab (Stata 10.1 IC on win xp 32 bit) without any
> problem:
> ssc install sq
>
> I've then tested whether the command  sqom is working properly (one of
> our lab users informed me about a problem with sqom), by following a
> test proposed by Ulrich Kohler on a previous thread in Statalist
> (http://www.stata.com/statalist/archive/2011-02/msg01316.html)
>
> .discard
> .mata: mata mlib index
>
> . use http://www2000.wzb.eu/~kohler/ado/youthemp, clear
> . reshape long st, i(id) j(order)
> . sqset st id order
> . sqom,  subcost(meanprobdistance)
>
>
> and I have been returned the following error message:
>
>                  <istmt>:  3499  sqomref() not found
> r(3499);
>
> Any ideas on what's going on? Any help would be appreciated.
> Kind regards,
>
> Teresio
> *
> *   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index