Goal: Use the Rate Stabilizing Toolbox (RSToolbox) to produce easily mapped age-standardize, smoothed county estimates.
- Gain experience installing the tool and managing the user interface
- Develop an understanding of the required data inputs; and
- Interpret and map the output
- Download the latest release
a. Save the zipped file to your workspace b. Extract the zipped file to your workspace - Create a new ArcGIS Pro Map Project
- Within the main ribbon, select View and open the Catalog Pane
- Right click on the Toolboxes folder and select Add Toolbox
- Navigate to the location where you extracted the toolbox and select
RST_v2.pyt
- The Rate Stabilizing Toolbox will now appear; expand the toolbox to reveal the Individual Data Processing and Rate Stabilizing tools
- Within the Catalog Pane, right click on the Databases folder and select Add Database
- Navigate the tutorial folder of the extracted zip file and select
tutorial.gdb
; expand the toolbox to reveal the example datasets - Right click on the
MI_mort_indiv
table and Add to New -> Map; repeat for MI_pop_grouped and MI_carto, but this time select Add to Current Map
- Within the Contents pane, right click on each of the tables and click Open
- Notice that individual data table has only two fields
- GEOID - An unique identifier for the region in which a single event occured
- Age (Optional) - The age of the individual that the event occured to
- Notice that the population data table has three fields
- GEOID - An unique identifier for the region
- AgeGroup (Optional) - A specifier for the age group that the population count refers to
- PopulationCount - The population count for the region age group pairing
Important
Age groups are restricted to the following: [“0-4”, “5-14”, “15-24”, “25-34”, “35-44”, “45-54”, “55-64”, “65-74”, “75-84”, “85up”] and must be spelled within the population data table EXACTLY as listed. The Individual Data Processing tool and Rate Stabilizing Tool will not run if provided invalid or mispelled groups.
Note
The age of individuals or the population are not necessary for generating crude rates with the Rate Stabilizing Tool. For an example of how population data without age groups should be formated, see tutorial.gdb/MI_pop
- Open up the Individual Data Processing tool within the Catalog pane Toolboxes folder
- Notice the By Age checkbox; this checkbox determines whether the output dataset will be stratified by age group
- Fill in the Input Individual Data and Input Individual Data Fields with their respective values:
- Input Individual Data -
MI_mort_indiv
- Input Individual Data Fields
- Region ID - GEOID
- Age - Age
- Input Individual Data -
- Fill in the Input Population Data and Input Population Data Fields with their respective values:
- Input Population Data -
MI_pop_grouped
- Input Population Data Fields
- Region ID - GEOID
- Population Count - PopulationCount
- Age Group - AgeGroup
- Input Population Data -
- A feature is required as a check on the individual and population data. Any regions within the individual and population data MUST be within the feature. Fill in the Input Feature and Input Feature Fields with their respective values:
- Input Feature -
MI_carto
- Input Feature Fields
- Region ID - GEOID
- Input Feature -
- Name your Output Table
MI_county_mort_ageGrouped
and note its location; if your output table does not appear in the standalone tables automatically you may have to navigate to its location and add it in manually
- Run the tool
Important
Both the Individual Data Processing and Rate Stabilizing tools were built to be noisy, which means they will warn frequently when they detect potential problems with the input data. Heed these warnings. It is often better to address the warnings than allow the tools to operate on assumptions of the data.
The following are warnings you may encounter
- Repeated Input Population Data Region IDs were detected when By Age is unchecked - The IDP will assume that these repeated regions were Age Groups referring to the same region and will sum them to get a total population for the region.
- Input Feature contains at least one region not present in the Input Population Data - The IDP will assume that these regions have a population of 0.
- Event Count is greater than the Population Count for at least one row - The IDP will not do anything
- Open up the Rate Stabilizing Tool script within the Catalog pane Toolboxes folder
- Fill in the Input Table and Input Table Fields with the table generated from the Individual Data Processing tool:
- Input Table -
MI_county_mort_ageGrouped
- Input Table Fields
- Region ID - GEOID
- Event Count - EventCount
- Population Count - PopCount
- Input Table -
- Fill in the Input Table and Input Table Fields with their respective values:
- Input Feature -
MI_county_mort_ageGrouped
- Input Feature Fields
- Region ID - GEOID
- Input Feature -
- Fill in the Input Feature and Input Feature Field with the respective values:
- Input Feature -
MI_carto
- Input Feature Field
- Region ID - GEOID
- Input Feature -
- The Rate paramter will determine the denominator of rates generated; we wil leave this at per 100,000
- Open the Age Standardization drop-down. This menu allows for the optional generation of age standardized rates. Fill the following fields with the following values:
- Age Group Field - AgeGroup
- Standard Population Year - 2010
- Standard Age Groups
Lower Age Value Upper Age Value 35 64 65 up 35 up
- Name your Output Table
MI_county_ageStd_RST
and note its location; if your output table does not appear in the standalone tables automatically you may have to navigate to its location and add it in manually
- Run the tool
- Within the Contents pane, right click on
MI_county_ageStd_RST
and click Open - Notice that each age group has three columns:
- median_{ageGroup} - the estimated rate
- maxCI_{ageGroup} - the maximum confidence interval able to be generated for the estimate rate
- reliable_{ageGroup} - 1 = maximum confidence interval is greater than or equal to 0.95, 0 = maximum confidence interval is less than 0.95
- At this point you are all set! Simply join your table to your feature and symbolize those areas with reliable estimates.