hat matrix in gwr
From my experience, 3055 observations should not make anything crash or
freeze, although it may take a while to complete the run. A few thoughts: I would make sure you are running the most up-to-date version of spgwr (and dependent packages) and R. Also, I am not an R expert, but it may be that storing the hat matrix is taking up a lot of memory and causing R to freeze. It is a long-shot, but start a clean workspace and try the gwr run again. Roger, though, is the one that is more likely to know what is wrong than anyone else. In addition, make sure you aren't over-fitting your models. Too many variables in gwr can cause many problems, not the least of which is the time it takes to complete the run. -----Original Message----- From: r-sig-geo-bounces at stat.math.ethz.ch [mailto:r-sig-geo-bounces at stat.math.ethz.ch] On Behalf Of Eda Laze Sent: Thursday, November 05, 2009 8:27 AM To: r-sig-geo at stat.math.ethz.ch Subject: [R-sig-Geo] hat matrix in gwr Hello, I am currently using *gwr to make a spatial analysis. Dataset has 3055 observations. As read, this is a considerable number for gwr R to run. However, so far, I have suceeded to get local R2 (SDF), etc. The problem is to get "hatmatrix". When I add "hatmatrix=TRUE" to the code (which I get localR2 with), R freezes. I must get hat matrix to calculate Moran'I and AICc to compare models. Could be this a case of large number of observations, or do I miss anything else. Furthermore, I could get once AICc with the same dataset and code, but not anylonger. Any feedback is more than welcome. Thank you. _______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo