Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Spatial weight matrix: r(198)


From   Natalie Trapp <natalie.trapp@zmaw.de>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: Spatial weight matrix: r(198)
Date   Mon, 16 Aug 2010 15:28:27 +0200

Dear all,

I am using Stata 11 and would like to do a test on spatial autocorrelation. Unfortunately I had problems with setting matsize, as my data set is too huge (>44.000 obs.). I therefore deleted all the observations that were under a certain monetary value and then could set matsize to 6500. While I was creating the spatial matrix I got the error "obs must be between 4126 and 334910". However, I do have 4126 observations left after the deletion of more than 40.000 observations.
___________________________________
. set matsize 6500

Current memory allocation

                    current                                 memory usage
    settable          value     description                 (1M = 1024k)
    --------------------------------------------------------------------
    set maxvar         5000     max. variables allowed           1.909M
    set memory          550M    max. data space                550.000M
    set matsize        6500     max. RHS vars in models        322.887M
                                                            -----------
                                                               874.796M

. spatwmat, name(borderweights) xcoord(BC) ycoord(EUBC) band(0 13)
obs must be between 4126 and 334910
r(198);
___________________________________

Could someone tell me what this error message exactly means or what mistake I did?
Thank you very much in advance!

Regards,
natalie


*
*   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   |   Site index