Creating Weights Matrix

115 views
Skip to first unread message

morg...@appstate.edu

unread,
Jun 2, 2018, 12:13:50 PM6/2/18
to Openspace List
Hello,

I am trying to create a weights matrix in GeoDa. The data are housing sales and each property has an ID. However, some properties have multiple sales so appear more than once. When I try to create a weights matrix I'm told that there are duplicate values. How can I get around this? Thank you.

Frank Howell

unread,
Jun 2, 2018, 2:28:54 PM6/2/18
to openspa...@googlegroups.com
Hi,

This is more of a data conceptualization issue than a spatial weights issue. Effectively, you have a time-embedded element in that multiple sales occur over time, right? What theoretical issue are you trying to understand better with the housing sales data? If the sales range over time, the multi-sales properties could be restricted to the "latest" sale which is the same temporal slice as the other, "single-sales," data elements. Just select the "latest sale" record for the same ID. That is one approach. If I do not understand your issue, please elaborate.

Frank Howell
Editor-in-Chief
Spatial Demography
Springer Media

On Sat, Jun 2, 2018 at 10:40 AM, <morg...@appstate.edu> wrote:
Hello,

I am trying to create a weights matrix in GeoDa. The data are housing sales and each property has an ID. However, some properties have multiple sales so appear more than once. When I try to create a weights matrix I'm told that there are duplicate values. How can I get around this? Thank you.

--
You received this message because you are subscribed to the Google Groups "Openspace List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openspace-list+unsubscribe@googlegroups.com.
To post to this group, send email to openspace-list@googlegroups.com.
Visit this group at https://groups.google.com/group/openspace-list.
For more options, visit https://groups.google.com/d/optout.

Ash Morgan

unread,
Jun 2, 2018, 10:46:40 PM6/2/18
to openspa...@googlegroups.com
Thanks for the response. That should work. Can that be done directly in GeoDa or I could do it in Exel before joining it with the shapefile?

Thanks again for your input. 

On Sat, Jun 2, 2018 at 2:28 PM Frank Howell <frankm...@gmail.com> wrote:
Hi,

This is more of a data conceptualization issue than a spatial weights issue. Effectively, you have a time-embedded element in that multiple sales occur over time, right? What theoretical issue are you trying to understand better with the housing sales data? If the sales range over time, the multi-sales properties could be restricted to the "latest" sale which is the same temporal slice as the other, "single-sales," data elements. Just select the "latest sale" record for the same ID. That is one approach. If I do not understand your issue, please elaborate.

Frank Howell
Editor-in-Chief
Spatial Demography
Springer Media
On Sat, Jun 2, 2018 at 10:40 AM, <morg...@appstate.edu> wrote:
Hello,

I am trying to create a weights matrix in GeoDa. The data are housing sales and each property has an ID. However, some properties have multiple sales so appear more than once. When I try to create a weights matrix I'm told that there are duplicate values. How can I get around this? Thank you.

--
You received this message because you are subscribed to the Google Groups "Openspace List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openspace-lis...@googlegroups.com.
To post to this group, send email to openspa...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Openspace List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openspace-lis...@googlegroups.com.
To post to this group, send email to openspa...@googlegroups.com.
--
Ash Morgan
Professor, Department of Economics
Director, Center for Economic Research and Policy Analysis
Appalachian State University
3094 Peacock Hall
416 Howard Street
Boone, NC 28608
Office: 828-262-2927
Website: http://www.appstate.edu/~morganoa/

Frank Howell

unread,
Jun 2, 2018, 10:46:40 PM6/2/18
to openspa...@googlegroups.com
I’m writing from my iPad without geoda available. If you have the sale date as a field, sort by ID and sale date so you can determine the duplicate IDs by sale date. Just delete the duplicate ID records except for the latest sale date. Save the file under a new name.

You can do this in Excel but you may be able to do similar sorting in Geoda as well. 

Hope this helps!

Frank

On Sat, Jun 2, 2018 at 12:01 PM Frank Howell <frankm...@gmail.com> wrote:
Hi,

This is more of a data conceptualization issue than a spatial weights issue. Effectively, you have a time-embedded element in that multiple sales occur over time, right? What theoretical issue are you trying to understand better with the housing sales data? If the sales range over time, the multi-sales properties could be restricted to the "latest" sale which is the same temporal slice as the other, "single-sales," data elements. Just select the "latest sale" record for the same ID. That is one approach. If I do not understand your issue, please elaborate.

Frank Howell
Editor-in-Chief
Spatial Demography
Springer Media
On Sat, Jun 2, 2018 at 10:40 AM, <morg...@appstate.edu> wrote:
Hello,

I am trying to create a weights matrix in GeoDa. The data are housing sales and each property has an ID. However, some properties have multiple sales so appear more than once. When I try to create a weights matrix I'm told that there are duplicate values. How can I get around this? Thank you.

--
You received this message because you are subscribed to the Google Groups "Openspace List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openspace-lis...@googlegroups.com.
To post to this group, send email to openspa...@googlegroups.com.

Frank M. Howell

unread,
Jun 2, 2018, 11:05:14 PM6/2/18
to openspa...@googlegroups.com
Ash,

You’ll have to rejoin the shapefile with the new attribute data...unless Geoda will allow you to sort/edit the table in this manner. Sorry, I’m on an iPad and can’t verify.

Frank
Reply all
Reply to author
Forward
0 new messages