BookmarkSubscribeRSS Feed
adcc5460
Calcite | Level 5

Purpose: How to calculate the ZCTA radius within a ZCTA?

Background: I have two groups of nodes: from and to. The two groups may locate in the same ZCTA (25%) but most of them had different ZCTAs (75%). I managed to calculate the ZCTAs distance for the 75%, centroid to centroid. But I don't know how to assign a distance to the other 25%. I expect to use ZCTA radius as a proxy for that purpose. Can anyone help me with it? Thank you in advance!

BTW, 5-digit zip code is the only available geographic info.

3 REPLIES 3
LeonidBatkhan
Lapis Lazuli | Level 10

Hi adcc5460,

You can find a ZCTA table with square mileage A (area) for each ZCTA, see this website http://proximityone.com/cen2010_zcta_dp.htm.

Based on this table you can calculate a ZCTA radius R from A=πR2, then R=(A/π)1/2.

 

You can also look into getting an average distance between two points within a circle, see

https://math.stackexchange.com/questions/135766/average-distance-between-two-points-in-a-circular-di...

 

Hope this helps.

 

P.S. For some reason superscripted 2 and 1/2 came out as subscripted 2 and 1/2.

adcc5460
Calcite | Level 5

Leonid,

Thank you!

Is there any supporting evidence to treat a ZCTA as a circle to do that?

 

Kevin

LeonidBatkhan
Lapis Lazuli | Level 10

Hi Kevin, I was just answering your question "How to calculate ZCTA radius?" - What other than circle has a radius? 🙂

 

Lacking information about the ZCTA shape, circle seems as a reasonable approximation.

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1124 views
  • 0 likes
  • 2 in conversation