Statalist


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

st: need help with spatwmat


From   [email protected]
To   [email protected]
Subject   st: need help with spatwmat
Date   Wed, 15 Jul 2009 14:21:16 +0800

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index