Dear,
Thank you for the help.
1. distance threshold
It is 9. (Roger, you are right and sorry to confuse you)
9 is the cutting point for avoiding empty neighbour sets.
(If the distance threshold is 8, there will be empty ones.)
2. dataset
length(nb10)=4873.
sum(card(nb10)=885478)
3. memory size
On Fri, 16 Jul 2010, elaine kuo wrote:
Dear List,
I encountered an error message when trying to use Chebyshev as method for
SAR.
Please kindly help and thanks.
Beyond what Danlin said, I am very unsure where to start. Please provide
adequate information about your input data, specifically th
Elaine:
Based on the error message (cannot allocate vector of size 121.8 Mb), it
is very possibly you have way too many cases in your data set. A
potential solution would be randomly sample your dataset to get a
representative sample set and run the spatial regression, or you can
always try a
Dear List,
I encountered an error message when trying to use Chebyshev as method for
SAR.
Please kindly help and thanks.
package spdep was updated on 07162010
system: windows vista home 32-bit
R version 2.10.0 (20091026)
Elaine
Code
> library(ncf)
> library(spdep)
>
> # Define coordinates, neig