Statalist


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

st: AW: need help with spatwmat


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: need help with spatwmat
Date   Wed, 15 Jul 2009 14:46:38 +0200

<> 

As always:

*************
set trace on
*************

and observe where the thing gets stuck...

HTH
Martin

-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von
Sorada.Tapsuwan@csiro.au
Gesendet: Mittwoch, 15. Juli 2009 08:21
An: statalist@hsphsun2.harvard.edu
Betreff: st: need help with spatwmat

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/


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index