Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

6 results for “from:Jiawen Ng”

Error in predict.sarlm: non-unique row.names given
Jiawen Ng · Jul 7, 2019 · r-sig-geo

Another question on predict.sarlm! Here is the line of code that is producing the error: pred <- spatialreg::predict.sarlm(model, df, test.listw,zero.policy = T) Here is the error: Error in mat2listw(W, row.names = region.id.mixed...

Error in predict.sarlm (spatial reg package): Not yet able to subset general weights lists
Jiawen Ng · Jun 25, 2019 · r-sig-geo

Dear Roger, I have an inverse distance matrix that has been converted to listw object via mat2listw function. To predict out-of-sample data, I made 2 listw objects -- one that is based upon the training data -- this is used...

Running huge dataset with dnearneigh
Jiawen Ng · Jul 1, 2019 · r-sig-geo

Dear Roger, Thanks for your reply and explanation! I am just exploring the aspect of geodemographics in store locations. There are many factors that can be considered, as you have highlighted! Thank you so much for taking the time to...

Running huge dataset with dnearneigh
Jiawen Ng · Jul 1, 2019 · r-sig-geo

Dear Roger, Thank you so much for your detailed response and pointing out potential pitfalls! It has prompted me to re-evalutate my approach. Here is the context: I have some stores' sales data (this is my training set of...

Error in spatialreg::predict.sarlm: unknown mismatch. please report this bug
Jiawen Ng · Jul 6, 2019 · r-sig-geo

Dear All, I am trying to do a out-of-sample prediction using predict.sarlm but I am getting the 'unknown mismatch' error from predict.sarlm. I have a training and a testing spatial points dataframe (train_spdf and test...

Running huge dataset with dnearneigh
Jiawen Ng · Jun 28, 2019 · r-sig-geo

Dear Roger, How can we deal with a huge dataset when using dnearneigh? Here is my code: d <- dnearneigh(spdf,0, 22000) all_listw <- nb2listw(d, style = "W") where the spdf object is in the british national grid CRS: +init...

Can't find what you're looking for? Try searching with Google .