Statalist


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

Re: st: need help with spatwmat


From   Amadou DIALLO <[email protected]>
To   [email protected]
Subject   Re: st: need help with spatwmat
Date   Wed, 15 Jul 2009 16:23:42 +0300

Try to set the trace on and send the lines where the program crashes.
It might have something to do with stata marking sample i.e. the
observations. Do you have missing values?
Bachir.

2009/7/15, [email protected] <[email protected]>:
> Hi
>
> Can anyone help me solve this error please?
>
> I'm trying to create a weight matrix to do the Moran I analysis but I ran
> into an error that says "obs must be between 2442 and 690064".
>
> I don't know what it means but I know that 2442 is the total number of my
> observations.
>
> Thanks
>
> Sorada
>
>
> . set matsize 3000
>
> Current memory allocation
>
>                     current                                 memory usage
>     settable          value     description                 (1M = 1024k)
>     --------------------------------------------------------------------
>     set maxvar         5000     max. variables allowed           1.733M
>     set memory         1024M    max. data space              1,024.000M
>     set matsize        3000     max. RHS vars in models         68.916M
>                                                             -----------
>                                                              1,094.649M
>
> . do "C:\DOCUME~1\tap021\LOCALS~1\Temp\STD00000000.tmp"
>
> . spatwmat, name(w) xcoord(pointx) ycoord(pointy) band(0 360000)
> obs must be between 2442 and 690064
> r(198);
>
> end of do-file
> r(198);
>
>
>
> *
> *   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/
>


-- 
---

Amadou B. DIALLO, PHD
Development Economist
Director, Center for Research and Training on Adult Education
Mayotte, FRANCE
www.aprosasoma.org
+262639693250
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index