Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Memory problems when creating a spatial weight matrix


From   "Michael Blasnik" <michael.blasnik@verizon.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Memory problems when creating a spatial weight matrix
Date   Fri, 21 Sep 2007 08:49:15 -0400

You need to give us more information about your dataset, operating system, etc. The 940m should be plenty of room for a 500 observation dataset and an 800x800 matrix. Can you describe your dataset in more detail? Do you have hundreds of long string variables? Is there a way for you to encode any long strings and compress other variables? In terms of accessing more memory -- what OS are you using? If MS Windows XP, have you tried the memory hotfix described here http://www.stata.com/support/faqs/win/winmemory.html?

Michael Blasnik

----- Original Message ----- From: "Lina Jonsson" <lina.jonsson@vti.se>
To: <statalist@hsphsun2.harvard.edu>
Sent: Friday, September 21, 2007 5:25 AM
Subject: st: Memory problems when creating a spatial weight matrix



Dear statalisters.

I am working with a hedonic price study where I whould like to check for
and correct for spatial autocorrelation. For this I whould like to
create a spatial weight matrix based on the x- and y-coordinates for
each house using the spatwmat-command in spdep. Since I have Intercooled
Stata the maximum matsize that I can set is 800, which means that I can
use no more than 800 observations. But since I cannot set memory to more
than 940m, the actual numbers of observations that I can use is less
than 500. This is to few.

After reading some old questions concerning memory problems I realize
that this might be a problem that is hard to solve.
Does any of you have any suggestions on how I can increase the memory in
Stata. Can increasing the RAM-memory on my computer help? Or is it
unrealistic to think that it will be possible to create a matrix whith
the spatwmat-command that will be almost 8000x800 on a "standard"
computer? Should I change to some other software and what in that case?

I am greatful for any suggestions!

/Lina Jonsson
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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