{'fraction_non_alphanumeric': 0.03603268945022288, 'fraction_numerical': 0.018429090308733697, 'mean_word_length': 5.0375031148766505, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 2, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Correlates of the Built Environment and Active Travel: Evidence from 20 US Metropolitan Areas

Background: Walking and bicycling are health-promoting and environmentally friendly alternatives to the automobile. Previous studies that explore correlates of active travel and the built environment are for a single metropolitan statistical area (MSA) and results often vary among MSAs. Objectives: Our goal was to model the relationship between the built environment and active travel for 20 MSAs spanning the continental United States. Methods: We sourced and processed pedestrian and bicycle traffic counts for 20 U.S. MSAs (n=4,593 count locations), with 1–17 y of data available for each count location and the earliest and latest years of data collection being 1999 and 2016, respectively. Then, we tabulated land use, transport, and sociodemographic variables at 12 buffer sizes (100–3,000m) for each count location. We employed stepwise linear regression to develop predictive models for morning and afternoon peak-period bicycle and pedestrian traffic volumes. Results: Built environment features were significant predictors of active travel across all models. Areas with easy access to water and green space, high concentration of jobs, and high rates of active commuting were associated with higher bicycle and pedestrian volumes. Bicycle facilities (e.g., bike lanes, shared lane markings, off-street trails) were correlated with higher bicycle volumes. All models demonstrated reasonable goodness-of-fit for both bicyclists (adj-R2: 0.46–0.61) and pedestrians (adj-R2: 0.42–0.72). Cross-validation results showed that the afternoon peak-period models were more reliable than morning models. Conclusions: To our knowledge, this is the first study to model multi-city trends in bicycling and walking traffic volumes with the goal of developing generalized estimates of the impact of the built environment on active travel. Our models could be used for exposure assessment (e.g., crashes, air pollution) to inform design of health-promoting cities. https://doi.org/10.1289/EHP3389


Introduction
Many jurisdictions in the United States have stated goals to increase physical activity-such as walking and bicycling-to improve public health, reduce emissions, and increase livability (Hankey et al. 2017a;Jackson et al. 2013). The built environment influences rates of total physical activity (Frank et al. 2007;Giles-Corti et al. 2016;Sallis et al. 2006;Smith et al. 2017) and active travel (de Hartog et al. 2010;Götschi et al. 2016;Hankey and Marshall 2017;Oja et al. 2011;Smith et al. 2017). In addition to increasing physical activity (de Nazelle et al. 2011;Mueller et al. 2015Mueller et al. , 2017, promotion of active travel may improve air quality (de Nazelle et al. 2011;Grabow et al. 2012;Macmillan et al. 2014;Rojas-Rueda et al. 2012), reduce crash rates (Buehler and Pucher 2017;Macmillan et al. 2014) and preventable deaths (Andersen et al. 2015;Mueller et al. 2017), and improve mood (Morris and Guerra 2015;Smith 2017).
Evidence of the association between features of the built environment and physical activity is well documented (Christian et al. 2017;Frank et al. 2016;Hankey and Marshall 2017;Ferdinand et al. 2012;Oja et al. 2011;Saelens et al. 2003;Winters et al. 2017). Population and employment density, mixed land use, street network design, and destination accessibility are among the strongest predictors of active travel. Specifically, residents living in denser, highly connected neighborhoods with mixed land use have higher walking and bicycling rates for transport (Frank et al. 2007;Saelens et al. 2003;Saelens and Handy 2008;Sallis et al. 2013). The majority of studies on this topic focus on a single urban area. Providing generalizable information across many cities about the effect of the built environment on walking and bicycling would help cities assess what factors are most effective for planning health-promoting communities.
Direct-demand models are an alternative approach to traditional regional travel demand forecasting tools (e.g., travel demand models) for estimating traffic volumes on transportation networks (Kuzmyak et al. 2014). Developing travel demand models for bicycles and pedestrians has proven challenging due to limitations in availability of the required input data [although some progress is being made, e.g., route choice models (Hood et al. 2011) or specifying impedance factors (Iacono et al. 2010)]. Direct-demand modeling is a statistical-empirical approach (i.e., an analog to land-use regression models of air quality) that allows for the prediction of bicycle and pedestrian traffic volumes based on land-use and transportation network attributes. Therefore, these models are a potentially useful tool for generating high-resolution spatial estimates of pedestrian and bicycle volumes to inform exposure assessment and design of health-promoting cities. Direct-demand models are used widely to estimate demand for bicycle and pedestrian facilities during peak hours (Fagnant and Kockelman 2016;Griswold et al. 2011;Hankey and Lindsey 2016;Miranda-Moreno and Fernandes 2011;Pulugurtha and Repaka 2008;Schneider et al. 2009;Strauss and Miranda-Moreno 2013) and in a few cases for annual average volumes (Hankey et al. 2017b).
Most previous studies to develop direct-demand models have used traffic counts from a single city (Hankey and Lindsey 2016;Miranda-Moreno and Fernandes 2011;Tabeshian and Kattan 2014). The lack of databases that include pedestrian and bicycle traffic counts on a national scale (thus limiting spatial and temporal coverage) have precluded generalizability from these city-level studies. To the best of our knowledge, no study has combined pedestrian and bicycle count data across many metropolitan areas (MSAs) to develop direct-demand models that are able to a) assess correlates of active travel and the built environment across many MSAs and climate regions in the United States, and b) more reliably predict bicycling and walking rates at locations without counts.
We aimed to address this research gap by developing a set of direct-demand models at the national level (i.e., with data from 20 U.S. MSAs) using only land-use and transportation network variables that are available at a national scale as predictors. Our work contributes to the growing literature on the impacts of the built environment on rates of active travel by assessing commonalities across many jurisdictions. An important potential application of our models is the ability to generate estimates of bicycling and walking rates in U.S. MSAs to assess exposure to crashes, air pollution, and other environmental hazards. Our models could also be used to estimate bicycling and walking rates in areas where traffic counts are few or unavailable.

Methods
We sourced, cleaned, and aggregated bicycle and pedestrian count data from 20 U.S. MSAs ( Figure 1). The number of available years of data varied among MSAs (see Table S1). MSAs in our data set belong to eight of nine U.S. climate regions [based on categories by the National Oceanic and Atmospheric Administration (NOAA; Data Tools: Daily Weather Records; https://www.ncdc.noaa.gov/ cdo-web/datatools/records)]. We compiled a corresponding database of land-use features to develop the direct-demand models; given that a key goal of this study was to develop a tool that may allow for prediction in other jurisdictions in the continental United States, we focused on using comparable land-use data that is available at a national level. More detail on each component of this effort is described below.

Data Sources
We collected data from various publicly available sources (Table 1). First, we acquired all bicycle and pedestrian counts from the National Bicycle and Pedestrian Documentation Project (NBPDP) database (http://bikepeddocumentation.org/); then, we expanded this database by directly contacting additional jurisdictions to acquire available counts. We performed a Google search to identify jurisdictions that may have count data using the key words "bicycle count," "bike count," "pedestrian count," and "ped count" among other count-related search terms. We downloaded count data when they were available online and sent additional requests to city staff to ensure we had complete data for that jurisdiction. The count data may not be exhaustive for all MSAs in our sample (i.e., additional count data might be available for each MSA); however, we were only able to obtain data that each jurisdiction was willing to share at the time of our request.
We performed a preliminary screening to eliminate jurisdictions that had a small number of count locations (i.e., fewer than 30 locations). Additionally, we grouped counts for jurisdictions in the same MSA (e.g., suburbs of central cities), resulting in 20 MSAs for inclusion in our analysis ( Figure 1). The number of years available for analysis varied among the MSAs, with 1-17 y of data available for each count location and with the earliest and latest years of data collection being 1999 and 2016, respectively. The inclusion of suburban count locations diversifies the built environment factors included in our database. However, many suburbs did not have bicycle and pedestrian counts; thus, our count database is skewed toward urban locations. Table S1 shows MSAs included in our analysis, types of jurisdictions (central city and/or suburbs) in each MSA, years, hour-of-day, and methods used for collecting counts.
We downloaded nationally available built environment variables (e.g., land-use and transportation-network characteristics) from the American Community Survey (ACS) 5-y averages (U.S. Census Bureau 2014), U.S. EPA's Smart Location Database (SLD) (U.S. EPA 2017), and TIGER (U.S. Census Bureau 2017). We also collected weather variables (i.e., temperature and precipitation) from the National Oceanic and Atmospheric Administration (NOAA Data Tools: Daily Weather Records database).
Because spatial data on bicycle facilities were not available for many MSAs, we used Google Earth (Pro version 7.3) imagery (which has a historical view option to track bicycle infrastructure changes over time) to assess whether bicycle facilities existed at each count location (see access dates in Table S1). If Google Earth views were blocked by cloud cover, or simply unavailable, we consulted other sources including Google Maps, Google Street View, and the MSA bicycle network shapefile (if available) to classify each count location.

Data Processing
A core task of our study was to assemble a national-scale database of bicycle and pedestrian traffic counts and to match those counts with corresponding land-use and transportation network variables. Below we describe our approach for data cleaning and aggregation and give descriptive statistics of the database.
Bicycle and pedestrian count data. As described above, we obtained traffic count data at 6,342 locations (12,231 bicycle count observations and 10,827 pedestrian count observations) by contacting individual jurisdictions and from the NBPDP database. Count methods varied by jurisdiction (see Table S1). For example, 13 MSAs employed manual counts (i.e., volunteerbased paper counts), two jurisdictions employed automated counters (e.g., loop detectors, pneumatic tubes, video counts, infrared, or radio beam counters), and five jurisdictions used a combination of both methods to collect traffic counts.
Because traffic counts are collected in different ways among jurisdictions, we developed a protocol for ensuring counts were comparable for all count locations. Our count database included both bidirectional (i.e., separate counts for each direction of traffic) and screenline (i.e., total volume including both directions) counts. For consistency, we converted all bidirectional counts to screenline counts that represent a total traffic volume (regardless of direction) for the street segment or intersection. Because our data set includes counts at street segments and intersections, we separated the two types of count locations for eventual use in  Bicycle facilities included off-street facilities (e.g., trails), on-street facilities (e.g., bike lanes, buffered bike lanes), and minor facilities (e.g., sharrows and bike boulevards).
separate models (see below for details on model building) due to the difference in absolute volumes expected at these network locations. For example, multiple segments converge into each intersection; therefore, the traffic volume at each segment is smaller than at an intersection if all else is equal. For intersection counts with turning movements, we separated the counts into segment counts for each leg of the intersection for use in the segment models.
Depending on the jurisdiction, either raw (i.e., 15-min intervals) or aggregated (e.g., 2-h peak period) count data were available (see Table S1). We aggregated all 15-min counts into 2-h counts to allow for comparison across geographies. Most MSAs collect counts during morning (AM; 0700-0900 hours) and/or afternoon (PM; 1600-1800 hours or 1700-1900 hours) peak periods on weekdays. As such, we cleaned and aggregated the raw count data for weekday, peak-period counts only and excluded other hours and weekends from our analysis. Finally, we aggregated counts by season (see Table S1). Specifically, we averaged all counts at each individual count location, during the same time of day, in the same year, for each season. The fall season (August to November) accounted for the majority of the data set [i.e., 81% (9,901) of bicycle counts and 71% (7,664) of pedestrian counts]. Counts in other months accounted for a relatively smaller portion of the data set; thus, to increase the homogeneity among the MSAs and season for the purpose of developing the models, we removed nonfall counts from our database. We also excluded count locations where the location type (i.e., intersection or segment) was not clear [3.1% (309) of bicycle counts and 1.5% (117) of pedestrian counts].
The procedure described above resulted in our final data set for model-building, that is, separate counts of bicycles and pedestrians during two peak periods (morning and afternoon) and a single season (fall) for two types of network locations (intersections and segments). The resulting database allowed for developing four models (two network location types and two times of day) for each transportation mode at 4,593 count locations and including 9,592 counts of bicycle and 7,547 counts of pedestrian traffic. Table 2 provides the number of traffic counts by peak period and network location type (see Table S2 for a summary of unique count locations by time period and location type). The number of count locations is smaller than the number of counts given that a count location may be counted in one or multiple years. In total, 9,592 traffic counts were retained for bicycle traffic, of which the afternoon peak period accounted for 64% of the sample. Pedestrian traffic counts totaled 7,547 observations −60% for the afternoon peak periods. Most jurisdictions collected traffic counts during the afternoon; seven MSAs did not count bicyclists and pedestrians during the morning peak period. Traffic counts collected at intersections account for 49% and 46% of the total sample for bicycle and pedestrian traffic, respectively. Some MSAs did not have both bicycle and pedestrian counts, for example, Denver and Los Angeles (no pedestrian counts), and New York City (no bicycle counts). Thus, our models only reflect data that were available for each MSA, which might reduce the generalizability of our models.
Land-use and transportation network data. For each count location within an MSA, land-use and transportation network data were tabulated using the land use regression (LUR) tools for ArcGIS (Akita 2014). The tools allow for the measurement of areas of polygons, number of points, or distance of lines that fall inside a buffer. We tabulated land use, sociodemographic, and most transport-related variables (e.g., area of land-use types, weighted average income, percentage of population by age group, commute mode share) listed in Table 1 at 12 different buffer sizes (i.e., 100, 200, 300, 400, 500, 750, 1,000, 1,250, 1,500, 2000, 2,500, and 3,000 m) following Hankey and Lindsey (2016). Presence and type of bicycle facility were obtained only at the count location itself using Google Earth (as described above) (see Table S1). We categorized bicycle facilities as follows: (a) on-street facilities including bike lanes, buffered bike lanes, and protected bike lanes/cycle tracks; (b) minor facilities including sharrows (shared lane markings) and bike boulevards; and (c) off-street facilities including trails and shared-use paths that are completely separated from vehicular traffic.
For the segment models, on-and off-street facility types were introduced as dummy variables, with the value 1 indicating that a facility is present in at least one travel direction. For the intersection models, we assigned a value of 1 for each facility present in  Note: Data were derived from raw traffic count data obtained from each jurisdiction or from the National Bicycle and Pedestrian Documentation Project (NBPDP) during 1999-2016. Only traffic counts in fall (August to November) and weekday peak periods were included. AM Int., morning count at intersections; AM Seg., morning count at street segment; PM Int., afternoon count at street intersection; PM Seg., afternoon count at street segment; -, data not collected. each travel direction on a leg of the intersection; the values were then summed for each facility type at each intersection. For example, if a four-leg intersection has eight travel directions, and bike lanes are present for two travel directions and sharrows are present for three travel directions, the intersection will receive a value of 2 for on-street facility and 3 for minor facility. As such, bicycle facilities at a four-leg intersection (e.g., on-street facility, off-street facility, minor facility) could receive values from 0 to 8 (no fiveor six-leg intersections had facilities in all directions in our sample) and were treated as continuous variables.
Weather data. We obtained weather data from the NOAA Data Tools: Daily Weather Records database for each count date and each city. For each day a count was collected, we assigned the lowest temperature of the day for morning counts, the highest temperature for afternoon counts, and daily total precipitation for morning and afternoon counts in each MSA. We aggregated temperature and precipitation data along with the count data from August to November. We created dummy variables representing climate regions based on the NOAA designation (NOAA Data Tools: Daily Weather Records database; Karl and Koss 1984) (Figure 1) with the goal of capturing regional differences among MSAs in the data set. MSAs in our data set belong to eight of nine climate regions, with no count data from the West North Central region.

Direct-Demand Model Development
Once the data were cleaned and aggregated, we developed a set of direct-demand models for bicycle and pedestrian traffic during morning and afternoon peak periods. We modeled bicycle and pedestrian traffic (dependent variables) using land use, transportation network, weather, and sociodemographic variables as predictors (independent variables). The dependent variables (bicycle and pedestrian counts) followed a log-normal distribution and were log-transformed for model building. Zero-count values of the dependent variables were dropped from the data set with this procedure (2.9% of the total bicycle counts and 5.0% of the pedestrian counts used for modeling).
Core models. We applied a forward stepwise regression approach to select the variables most correlated with active travel among the potential predictor variables (Table 1) following the procedure used in a previous study (Hankey and Lindsey 2016). In this process, the independent variable with the highest correlation with the dependent variable (log of bicycle or pedestrian count) was selected first. Then, the independent variable with the highest correlation with the model residuals was added to the model. To avoid multicollinearity, our procedure did not select variables that were highly correlated with one of the previously chosen independent variables (based on variance inflation factor, i.e., VIF ≤ 5). The process continued until the coefficient of the last variable included in the model was statistically insignificant (had a p > 0:05) or violated criteria for multicollinearity (VIF > 5). This variable was then removed and the model was considered complete. Each variable was measured at 12 buffer sizes and included for selection in the model building process. However, each variable was allowed to be selected only once among all buffer sizes (i.e., the buffer size that had the highest correlation with the residuals, among all buffers for each variable, was selected).
All coefficients were standardized to facilitate comparison across models and mode of transportation. Specifically, we calculated the 5th-95th percentile range for each variable. The standardized coefficients were then calculated by multiplying the regression coefficient by this factor: 5th-95th percentile range of the independent variable divided by the 5th-95th range of the dependent variable.
Sensitivity analysis. To test the sensitivity of our models to the input data, we developed two separate sensitivity analyses. First, we attempted to eliminate the year-to-year temporal variation in the bicycle and pedestrian count data set by averaging bicycle and pedestrian counts among all years at each count location. Count locations within MSAs with fewer than 3 y of counts were censored from the data set for this analysis and new models were developed to compare to the core models.
Second, we developed models using disaggregate employment (i.e., separate estimates of industry, retail, service, entertainment, office jobs) and open space data (i.e., separating park and water) rather than using aggregate predictor data (i.e., total employment, aggregate open space). All other independent variables from the core models were included in these disaggregate models. This analysis aimed to assess whether the disaggregate employment data can better approximate variation in land use in an urban area than total employment. Cross validation. We performed cross validation using three methods: Monte Carlo-based random hold-out, systematic holdout of individual MSAs, and a revised systematic hold-out that gradually introduces increments of data from the hold-out MSA to the model training data set.
Monte Carlo-based random hold-out. We randomly separated the data set into (a) a training data set (containing a random selection of 90% of the original sample used for the core models), and (b) a test data set (containing the remaining 10% of the original sample) to validate the results of the training models. The process was repeated 100 times for each model. This validation procedure assesses the performance of the models when used to predict bicycle and pedestrian volumes at locations without counts within the same jurisdictions in the model database.
Systematic hold-out. To further test the ability of our models to predict traffic volumes in MSAs outside of our sample, we performed a systematic hold-out of individual MSAs by sequentially holding out each MSA (n = 20) in our data set. In this procedure, the training model includes data from 19 MSAs and is tested using count data from the 20th MSA (this process was repeated iteratively for all MSAs). This validation procedure assesses model performance for MSAs that do not have any historical counts to include in model building.
Revised systematic hold-out. We also tested the improvement of model predictions when small amounts of count data are available for a jurisdiction. Specifically, to build on the systematic hold-out, we sequentially added increments of the count data from the 20th MSA to the training data set to assess whether a small amount of data from a given jurisdiction improves model predictions for that jurisdiction. Specifically, we incrementally included data from the 20th MSA (10%, 25%, 50%, 75%, 90%, and 100%) in the training data sets (in addition to all data from the other 19 MSAs), then tested model performance on the remaining data from that MSA. This analysis assesses (a) the prediction performance MSAs could expect by adding a small amount of data to our models, and (b) how each incremental increase in input data affects the prediction power of the models.
Predicting spatial patterns of bicycle and pedestrian traffic. An important application of our models is the ability to predict traffic volumes at spatial locations that do not have counts. The resulting spatial predictions could be used as an input to exposure assessment, for example, converting crash numbers to crash rates or assessing exposure to air pollution. We demonstrate this potential application by estimating spatial predictions of bicycle and pedestrian traffic volumes in Washington, DC, and Minneapolis, Minnesota, for every street segment. We used ArcGIS to create midpoints of all road segments for Washington, DC, and Minneapolis. We then applied models from the systematic hold-out cross validation to predict traffic volumes at these MSAs. Using the models from the systematic hold-out simulates model performance for an MSA without any counts (i.e., out-of-sample prediction); therefore, the resulting maps illustrate the quality of results a jurisdiction could expect if they used our models without any local counts. In our example, we made predictions for afternoon peak-period counts in 2016 (the last year of count data) on a typical fall day [25°C (77°F) with no rain].

Results
We developed direct-demand models that included count data from 20 MSAs and predictor variables that are available at a national scale. All models showed relatively good model fit with adjusted R 2 ranging from 0.46 to 0.61 for bicycle traffic and 0.42 to 0.72 for pedestrian traffic. The full models are shown in Table 3 (unstandardized coefficients are in Table S3; correlations of all variables in the models are in Table S4). Because the dependent variables (bicycle and pedestrian counts) were log-transformed, the standardized coefficients are interpreted as percent change in the 5th-95th percentile range of pedestrian or bicycle volume. When referring to a percent increase in the discussion of model results below, we are referring to this relationship. Because the origins and destinations of bicycle and walk trips were unknown, we included socioeconomic characteristics of the neighborhoods around the count locations as control variables, but did not interpret them as main variables of interest.

Bicycle Models
Bicycle model fit (adj-R 2 ) ranged from 0.46 to 0.61 (Table 3). Transportation-network variables and land-use variables were selected in most bicycle models. Weather, climate region, and year were selected in the models as control variables.
Water and green space showed a positive correlation with bicycle traffic (Table 3). Each 5th-95th percentile change in water and green space (within a 200-500 m buffer) was associated with a 4-8% increase in the 5th-95th percentile range of bicycle traffic. Number of jobs was also correlated with higher bicycle traffic volumes in three of the models (5-29% increase). Count locations in close proximity to university or college campuses were positively associated with bicycle volume (12-14% increase); however, this variable was only selected in the intersection models.
Variables describing characteristics of the transportation network were selected in all models (Table 3). Off-street facilities (i.e., bike trails, shared-use paths) were correlated with higher bicycle volumes. For the segment models, count locations with off-street facilities had higher bicycle volumes (25-31%) as compared with count locations without such facilities. At intersections, each additional off-street facility (for each direction of traffic flow) was associated with a 13-18% increase in bicycle traffic. We found similar positive effects among models for onstreet facilities, although the magnitude of effect was reduced (10% increase at segments, 12-15% increase at intersections). Minor facilities, such as bicycle boulevards or sharrows (shared lane markings), also had a small but positive correlation with bicycle traffic (3-6% increase at intersections).
Multimodal network density, measured as miles of streets that accommodate various modes of transport per mile squared, was a strong positive predictor for bicycle traffic, with a stronger relationship in the segment models as compared with the intersection models (7-43% increase on segments; 5-11% at intersections). Intersection density was selected in the two afternoon peakperiod models (6-22% increase in bicycle volume). Fewer bicycles were found on local roads (5-25% decrease in bicycle volume at street segments).
The models also showed that neighborhoods with greater bicycle commute mode share (as reported by the ACS) were associated with higher bicycle traffic counts. Higher bicycling volumes were correlated with neighborhoods with lower car ownership rates, although this effect was only detected in two of four models.

Pedestrian Models
Model fit (adj-R 2 ) for the pedestrian models ranged from 0.42 to 0.72 (Table 3). Similar to the bicycle models, the pedestrian models selected various land-use variables as major predictors of pedestrian traffic. The effect of water and green space, however, was mixed and not as pronounced as was the case in the bicycle models (e.g., the effect size was between −15% and + 9% change in pedestrian volume for the morning segment and afternoon intersection models, respectively). Household density was positively correlated with pedestrian volume at intersections during the afternoon peak period and segments during the morning peak period, with a wide range in magnitude among models (e.g., 42% increase in the morning segment model and 4% increase in the afternoon intersection model) partly owing to the different nature of these two types of count locations. Number of jobs (4-17% increase in all models except the afternoon segment model) and proximity to a university or college campus (4-20% increase in the afternoon models) were correlated with higher pedestrian volumes.
As with the bicycle models, multimodal network density was a strong positive predictor for pedestrian traffic in three models (8% for the afternoon intersection model, 3% increase for the segment models) (Table 3). Intersection density was positively associated with pedestrian volume during afternoon peak period (24% increase in pedestrian traffic). However, intersection density was not selected in the morning peak-period models. Unlike the bicycle models, local roads were positively associated with pedestrian traffic in three models (13-28% at intersections; 15% at segments during afternoon peak period).
Three pedestrian models also showed that neighborhoods with greater walking commute mode share were associated with higher pedestrian volumes (Table 3). Neighborhoods with a higher density of transit stops were positively correlated with pedestrian volumes (except for the afternoon segment model where it was inversely correlated). Conversely, areas with high public transit commute mode share were negatively correlated with pedestrian volumes in two models. This contradictory finding could potentially be a result of confounding effects among transitrelated variables and walking commute mode share. For example, areas with higher levels of transit service could also be areas with high rates of walking. As expected, neighborhoods with a high number of zero-car households were correlated with higher pedestrian traffic (afternoon models only).

Sensitivity Analyses
We explored two sensitivity analyses: (a) temporally averaging pedestrian and bicycle counts across years as an alternate input to model-building (see Tables S5 and S6 and Figure S1), and (b) disaggregating employment data (from total employment to sectorbased employment) as a proxy for land use types (see Tables S7 and S8 and Figure S2). Overall, results from our sensitivity analyses show that the signs of coefficients for all land-use and transportation-network variables are consistent across models (although the magnitude of coefficients varies). Bicycle facilities remained an important predictor of bicycle traffic in all bicycle models, suggesting that developing robust networks of facilities is important to attract bicyclists. Similarly, network variables such as intersection density and multimodal network density Table 3. were found to be strongly and positively associated with bicyclist and pedestrian activity. The temporally averaged models were more parsimonious (i.e., fewer predictor variables were selected) as compared with the full models, potentially owing to the significant reduction in number of observations and variability by averaging counts in the temporally averaged models (see Tables S5 and S6). Model fit (adj-R 2 ) was similar to the core models (i.e., 0.39-0.61 for the bicycle models; 0.44-0.71 for the pedestrian models). When more consistent bicycle and pedestrian traffic count campaigns become available in the future (i.e., with repeated counts at locations over time), this method may be more appropriate for modeling the spatial patterns of bicycle and pedestrian activity by removing temporal effects.
Results from the models using disaggregate employment type (as a proxy for land-use type) were mixed (see Tables S7 and  S8). Model fit (adj-R 2 ) was similar to the core models (0.48-0.61 for bicycle models; 0.46-0.73 for pedestrian models). Effects of the nonemployment variables on bicycle and pedestrian traffic were similar to the core models (Table 3). The disaggregate employment variables had mixed correlations with bicycle and pedestrian volumes, possibly owing to high correlations among the employment types (see Table S9). Because model results among employment types were sometimes counterintuitive, we suggest using the core models that use aggregate employment data for prediction (Table 3).

Model Validation Results
Based on model fit, the afternoon peak-period models generally performed better than the morning peak-period models (except for the bicycle morning peak-period segment model). To further test model performance, we conducted a series of random and systematic hold-out procedures to validate the models. We calculated adjusted R 2 and mean square error (MSE) as indicators of predictive power.
For the random hold-out validation, the average adjusted R 2 from the training models were similar to the values displayed in Table 3 for the full models. The training models were used to estimate traffic counts at locations in the test data set for comparison. In general, the validation results were robust with only modest changes in adjusted R 2 of 0.02-0.06 for the bicycle models and 0.00-0.02 for the pedestrian models. The average MSE ranges from 0.80 to 1.17 for the bicycle models and 1.16 to 1.49 for the pedestrian models (Table 4). Variables selected in the training models were mostly consistent with the variables in the full models indicating that our models have reasonable out-ofsample prediction. Cross-validation results for afternoon (PM) models are shown in Figure 2; results for morning (AM) models are shown in the Supplemental Material (see Figure S3).
As a more rigorous test of each model's predictive power, we used a systematic hold-out procedure. We sequentially held out each MSA (i.e., the training data set becomes the remaining 19 MSAs) and predicted bicyclist and pedestrian volumes at each count location in the hold-out MSA (this process was repeated for each MSA). Drops in adjusted R 2 for the systematic hold-out (i.e., 0.05 to 0.23 for the bicycle models and −0:18 to 0:28 for the pedestrian models) are higher than those in the random hold-out procedure. The average mean square error of all models for individual MSAs is higher compared with that of the random holdout approach, increasing from 1.28 to 2.95 for the bicycle models and from 2.43 to 5.24 for the pedestrian models (Table 4). The poor performance of the pedestrian models is likely attributable to outlier MSAs, for example, pedestrian counts in New York City. Figure S4 shows the cross validation results from the random hold-out and systematic hold-out approaches.
Last, we modified the systematic hold-out procedure to allow for incrementally adding data from the 20th MSA to the training data set to test whether a small amount of data from the 20th MSA has the ability to improve model predictions (similar to the systematic hold-out, this procedure was applied to all MSAs). We performed this validation for the afternoon peak-period models only given that the analyses reported above suggested that the morning peak-period models would likely require more count data to be reliable for prediction. Figure 3 shows an improvement in predictive power of the model, as suggested by the reductions in MSE, as more data from the 20th MSA is added to the training data set. This finding suggests that the predictive power of the models improves when adding a small portion of the count data from a given MSA rather than making predictions in that MSA with no count data. The practical implication of this finding is that a city or MSA with limited resources (and thus limited count data that is not sufficient to build a city-specific model) could potentially leverage our database to make reasonable predictions.

Example Application: Predicting Bicycle and Pedestrian Volumes in Two MSAs
Based on prediction results from the systematic hold-out cross validation, we generated spatial estimates of bicycle and pedestrian volumes for all roads and off-street trails in Washington, DC, and Minneapolis based on the afternoon peak-period segment models (Figure 4).
The maps show a pattern of high levels of active travel along main corridors and city centers with high density and mixed-use developments (Figure 4). The predictions are for afternoon peakperiod bicycling and walking volumes that are mainly driven by local commuters and exercise-related trips. As such, tourist attractions in these MSAs may show lower than expected traffic in these maps.

Discussion
This study supports findings from previous research on the impact of the built environment on active travel (Fagnant and Kockelman 2016;Hankey and Lindsey 2016;Heesch et al. 2015;Saelens et al. 2003;Saelens and Handy 2008;Sallis et al. 2013;Smith et al. 2017;Winters et al. 2017). Our study expands on previous work by modeling this relationship across 20 MSAs rather than focusing on a single urban area or region. Consistent with findings from the single-city studies, we found that various land-use features and transportation network variables (e.g., job density, water and parks, network and intersection density) were positively correlated with pedestrian and bicycle traffic. An important finding is that bicycle infrastructure was highly correlated with bicycle volumes and that this relationship held across many MSAs and climate zones. For example, off-street facilities (e.g., trails, shared-use paths) had the strongest association with bicycle traffic ( ∼ 18 to 31% increase in bicycle traffic) likely owing to the fact that users perceive these facilities as the safest type of infrastructure and they may therefore attract lessexperienced bicyclists (Buehler and Dill 2016;Buehler and Pucher 2012). Major on-street (10-15% increase) and minor (3-6% increase) facilities were also correlated with bicycle traffic. Although many planning efforts are focused on high quality off-street and on-street facilities, minor facilities (e.g., sharrows) may play a useful role in completing the bicycle network. Our model results suggest that minor facilities have a positive correlation with bicycle traffic and may be a useful alternative when street width does not allow room for other bicycle facilities and traffic volumes and speeds are low enough for cyclists to share the roadway (as recommended in AASHTO [2012] or NACTO [2014]). In total, the effects from off-street (18-31%), and onstreet (10-15%) facilities were greater than the average land-use impact (mean land-use effect: 11%). We did not separate different types of on-street facilities (e.g., protected bike lanes vs. conventional bike lanes) because very few count locations (i.e., only 11 count locations had protected bike lanes) had higher level onstreet facilities. Future work to address this limitation would be useful.
Our models have several limitations pertaining to data availability and modeling approach. For example, our goal was to develop a model that was capable of predicting bicycle and pedestrian volumes in all jurisdictions in the United States. However, many important predictors of bicycle and pedestrian traffic identified in single-city studies (e.g., road functional class, vehicular traffic, speed limit) were unavailable on a national scale and thus were not included in our models. We found few MSAs with bicycle and pedestrian count data in some regions of the United States (i.e., the Southeast and West North Central). This may reduce the generalizability of our study to MSAs in those regions. Additionally, most MSA-wide bicycle and pedestrian counts (as well as the counts used in this study) focus on the fall season (August-November) due to constraints in city-or MSAlevel funding for count efforts. Methods for counting bicycles and pedestrians vary across the country. Site selection criteria differ across MSAs, and count sites are not randomly selected. Therefore, work to make bicycle and pedestrian traffic counts more consistent across jurisdictions would be useful for spatial modeling. In general, increased attention to developing robust traffic count campaigns for bicycles and pedestrians (similar to those for vehicular traffic) would greatly improve the performance of future modeling efforts.
A challenge when developing national-scale models is that land-use data vary across jurisdictions. Thus, models developed at the national scale use crude measures of land use (e.g., housing density, network density, total employment) rather than refined land-use information (e.g., retail area, commercial area). We attempted to create a proxy for land use by splitting employment data by sector. However, this effort did not seem to fully capture the nuances of land-use patterns. Future efforts to develop more specific land-use patterns in a consistent format across the country would benefit the modeling approach described here.
Our modeling approach followed previous direct-demand models in an attempt to compare results among our multi-MSA models to previous single-city models. Our modeling approach does not account for spatial dependence (i.e., autocorrelation), which is an issue that should be addressed in future work. Furthermore, more work to expand our database and replicate this study would be useful. Specifically, adding additional MSAs, assessing how count sites were chosen, and adding counts during additional times-of-day and seasons would be useful. As cities grow their bicycle and pedestrian count campaigns, additional data (collected on a yearly basis) would allow for developing time-averaged models that focus exclusively on the spatial dimension of bicycle and pedestrian traffic.
Despite these limitations, our work has implications for designing health-promoting cities. For example, our models suggest that investing in compact development with supporting infrastructure (e.g., bicycle facilities) would help to promote active travel, which in turn could potentially increase total physical activity, reduce air and noise pollution, and gain public space for uses other than motorized traffic (Donaire-Gonzalez et al. 2015;Frank et al. 2005;Sallis et al. 2009). To our knowledge, our work provides the first set of direct-demand models that offer the potential for predicting bicycle and pedestrian volumes at a national scale (i.e., using count data from 20 MSAs). Previous direct-demand models, which were developed using data from a single city, are not able to make reliable predictions in other jurisdictions (Fagnant and Kockelman 2016;Griswold et al. 2011;Hankey and Lindsey 2016;Miranda-Moreno and Fernandes 2011). This limitation of previous models does not allow for practitioners or researchers outside of the study area to apply results of the single-city models. In our study, the large spatial and temporal coverage of the count data combined with the use of predictor variables that are available at a national scale allows for estimating active travel in areas where counts are inadequate or unavailable. Such models could aid the site selection process for bicycle and pedestrian facilities in order to increase active travel and physical activity levels.
We demonstrated how our models could be used to generate predictions of bicycle and pedestrian traffic volumes for MSAs outside of our sample more reliably than previous modeling efforts (i.e., spatial estimates of active travel in Washington, DC, and Minneapolis). By providing a model that can estimate bicycle and pedestrian traffic with high spatial resolution (i.e., street segment) across many MSAs, future studies could explore how those spatial estimates could be used for exposure assessment to improve health. For example, single-city studies of the spatial patterns of cyclists' and pedestrians' exposure to air quality (Hankey et al. 2017a) could be expanded to a national scale; similarly, future work could explore patterns of crash rates using the same exposure surface across many cities or MSAs rather than relying on findings from a single city (Chen 2015;Toran Pour et al. 2017). In sum, creating generalizable guidance (via models that span many cities) may help planners and policy makers to assess strategies that simultaneously promote active travel (and thus physical activity) while reducing exposure to hazards (e.g., air pollution, crashes). Our work thus advances the development of models to estimate exposure to air pollution and crashes with larger spatial coverage (i.e., across MSAs) than previous studies.

Conclusions
We examined the relationship between the built environment and active travel in 20 U.S. MSAs (based on 4,593 bicycle and pedestrian count locations across all MSAs). Our models had reasonable goodness-of-fit for both bicycle traffic (adj-R 2 : 0.46-0.61) and pedestrian traffic (adj-R 2 : 0.42-0.72). Land-use and transportationnetwork variables are correlated with bicycle and pedestrian traffic; for example, water and green space, job density, proximity to university and college campuses, multimodal network and intersection density, as well as bicycle and walking commute mode shares are all consistently selected as predictor variables across models. Household density is also a strong predictor for pedestrian volume. One of the strongest predictors of bicycle volume is the presence of a bicycle facility (off-street: 13-31% increase; onstreet: 10-15% increase compared with count locations without a facility) indicating the importance of providing supporting infrastructure to promote active travel.
Despite limitations regarding available input data, our models produced robust outcomes using a variety of cross-validation procedures; this finding is promising for efforts to develop more accurate estimates of bicycle and pedestrian traffic with high spatial precision across many cities and regions. We demonstrated an application of our models for out-of-sample prediction and for building city-wide spatial predictions of bicycle and pedestrian traffic. Outputs from our models could be used to assess exposure to air pollution, accidents with motor vehicles, or other environmental hazards. Furthermore, our models could be used to inform decisions on where to locate active travel facilities to promote bicycling and walking toward the goal of realizing health benefits from increased physical activity.