In late March, Brent Neiman and I posted a paper addressing a straightforward and suddenly pressing question: How Many Jobs Can be Done at Home?
Our aim was to describe what is feasible. Looking at pre-2023 practices, one would not have observed many high-school teachers working from home, but the global pandemic changed that. We used information on job characteristics to estimate which occupations could be performed entirely at home. Of course, this supply-side trait is only one important ingredient when thinking about jobs during the crisis. Demand-side considerations, such as designating a job as “essential”, are clearly important too. Couriers and messengers cannot work from home, but this industry has seen robust employment growth in recent months.
Enough time has passed that we are now learning who has been working at home during the pandemic. In a recent Economics Observatory column (What has coronavirus taught us about working from home?) and the latest version of our paper, Brent and I discuss some of this evidence. The initial evidence suggests that our classification of occupations is quite sensible.
In the United States, Alexander Bick, Adam Blandin, and Karel Mertens have been conducting a Real-Time Population Survey, an online survey of adults designed to mimic the Current Population Survey. Last week, they released a paper called “Work from Home After the COVID-19 Outbreak“. They report that 35 percent of their US respondents worked entirely from home in May 2023. Their Figure 1 shows that the share of respondents in an industry working from home in May is highly correlated with our estimate of the feasible share for that industry.
In Europe, the EU’s Eurofound launched an e-survey, Living, working and COVID-19, “to capture the most immediate changes during the pandemic and their impact.” Last month, they released first results on the impact of the pandemic on work and teleworking. As we report in our latest draft, there is a close correspondence between our country-level estimates of feasibility and what has occurred during the crisis.
Finally, while the latest update of the relevant paper hasn’t been posted online yet, in the video presentation below, Ed Glaeser reports that the industry-level variation in the share of jobs reported as being performed at home in a survey of small businesses is highly correlated with our industry-level feasible shares.
We classified the feasibility of working from home based on pre-pandemic conditions. Over time, I expect businesses to adapt their practices and leverage new tools to reallocate tasks and change the nature of jobs. A pressing question, which I briefly discussed at the end of a recent seminar presentation, is whether this temporary surge in remote work will have permanent consequences for the future of work.
In the short run, using pre-pandemic job characteristics to classify which jobs can be done at work has aligned well with who has actually been working at home during the pandemic.
蜂窝专线加速器
Tweet
蜂窝专线加速器
Economists studying spatial connections are excited about a growing body of increasingly fine spatial data. We’re no longer studying country- or city-level aggregates. For example, many folks now leverage satellite data, so that their unit of observation is a pixel, which can be as small as only 30 meters wide. See Donaldson and Storeygaard’s “The View from Above: Applications of Satellite Data in Economics“. Standard administrative data sources like the LEHD publish neighborhood-to-neighborhood commuting matrices. And now “digital exhaust” extracted from the web and smartphones offers a glimpse of behavior not even measured in traditional data sources. Dave Donaldson’s keynote address on “The benefits of new data for measuring the benefits of new transportation infrastructure” at the Urban Economics Association meetings in October highlighted a number of such exciting developments (ship-level port flows, ride-level taxi data, credit-card transactions, etc).
But finer and finer data are not a free lunch. Big datasets bring computational burdens, of course, but more importantly our theoretical tools need to keep up with the data we’re leveraging. Most models of the spatial distribution of economic activity assume that the number of people per place is reasonably large. For example, theoretical results describing space as continuous formally assume a “regular” geography so that every location has positive population. But the US isn’t regular, in that it has plenty of “empty” land: more than 80% of the US population lives on only 3% of its land area. Conventional estimation procedures aren’t necessarily designed for sparse data sets. It’s an open question how well these tools will do when applied to empirical settings that don’t quite satisfy their assumptions.
Felix Tintelnot and I examine one aspect of this challenge in our new paper, “Spatial Economics for Granular Settings“. We look at commuting flows, which are described by a gravity equation in ins加速器苹果. It turns out that the empirical settings we often study are granular: the number of decision-makers is small relative to the number of economic outcomes. For example, there are 4.6 million possible residence-workplace pairings in New York City, but only 2.5 million people who live and work in the city. Applying the law of large numbers may not work well when a model has more parameters than people.
Felix and I introduce a model of a “granular” spatial economy. “Granular” just means that we assume that there are a finite number of individuals rather than an uncountably infinite continuum. This distinction may seem minor, but it turns out that estimated parameters and counterfactual predictions are pretty sensitive to how one handles the granular features of the data. We contrast the conventional approach and granular approach by examining these models’ predictions for changes in commuting flows associated with tract-level employment booms in New York City. When we regress observed changes on predicted changes, our granular model does pretty well (slope about one, intercept about zero). The calibrated-shares approach (trade folks may know this as “exact hat algebra“), which perfectly fits the pre-event data, does not do very well. In more than half of the 78 employment-boom events, its predicted changes are negatively correlated with the observed changes in commuting flows.
The calibrated-shares procedure’s failure to perform well out of sample despite perfectly fitting the in-sample observations may not surprise those who have played around with machine learning. The fundamental concern with applying a continuum model to a granular setting can be illustrated by the finite-sample properties of the multinomial distribution. Suppose that a lottery allocates I independently-and-identically-distributed balls across N urns. An econometrician wants to infer the probability that any ball i is allocated to urn n from observed data. With infinite balls, the observed share of balls in urn n would reveal this probability. In a finite sample, the realized share may differ greatly from the underlying probability. The figure below depicts this ratio for one urn when I balls are distributed across 10 urns uniformly. A procedure that equates observed shares and modeled probabilities needs this ratio to be one. As the histograms reveal, the realized ratio can be far from one even when there are two orders of magnitude more balls than urns. Unfortunately, in many empirical settings in which spatial models are calibrated to match observed shares, the number of balls (commuters) and the number of urns (residence-workplace pairs) are roughly the same. The red histogram suggests that shares and probabilities will often differ substantially in these settings.
Balls and 10 urns: Histogram of realized share divided by underlying probability
Granularity is also a reason for economists to be cautious about their counterfactual exercises. In a granular world, equilibrium outcomes depend in part of the idiosyncratic components of individuals’ choices. Thus, the confidence intervals reported for counterfactual outcomes ought to incorporate uncertainty due to granularity in addition to the usual statistical uncertainty that accompanies estimated parameter values.
See the paper for more details on the theoretical model, estimation procedure, and event-study results. We’re excited about the growing body of fine spatial data used to study economic outcomes for regions, cities, and neighborhoods. Our quantitative model is designed precisely for these applications.
蜂窝专线加速器
Tweet
Do customs duties compound non-tariff trade costs? Not in the US
For mathematical convenience, economists often assume iceberg trade costs when doing quantitative work. When tackling questions of trade policy, analysts must distinguish trade costs from import taxes. For the same reason that multiplicative iceberg trade costs are tractable, in these exercises it is easiest to model trade costs as the product of non-policy trade costs and ad valorem tariffs. For example, when studying NAFTA, Caliendo and Parro (2015) use the following formulation:
Caliendo and Parro (REStud, 2015), equation (3)
This assumption’s modeling convenience is obvious, but do tariff duties actually compound other trade costs? The answer depends on the importing country. Here’s Amy Porges, a trade attorney, answering the query on Quora:
The US is one of the few countries where tariffs are applied on the basis of FOB value. Why? Article I, section 9 of the US Constitution provides that “No Preference shall be given by any Regulation of Commerce or Revenue to the Ports of one State over those of another”, and this has been interpreted as requiring that the net tariff must be the same at every port. If a widget is loaded in Hamburg and shipped to NY, its CIF price will be different than if it were shipped to New Orleans or San Francisco. However the FOB price of the widget shipped from Hamburg will be the same regardless of destination.
Here’s a instagram如何国内使用 from Neville Peterson LLP.
On page 460 of The Law and Policy of the World Trade Organization, we learn that Canada and Japan also take this approach.
Pursuant to Article 8.2, each Member is free either to include or to exclude from the customs value of imported goods: (1) the cost of transport to the port or place of importation; (2) loading, unloading, and handling charges associated with the transport to the port of place or importation; and (3) the cost of insurance. Note in this respect that most Members take the CIF price as the basis for determining the customs value, while Members such as the United States, Japan and Canada take the (lower) FOB price.
While multiplicative separability is a convenient modeling technique, in practice ad valorem tariff rates don’t multiply other trade costs for two of the three NAFTA members.
蜂窝专线加速器
Tweet
蜂窝专线加速器
Brent Neiman and I wrote a paper that tackles a simple question: “How Many Jobs Can be Done at Home?” The latest draft (April 16) is here. The full replication package is available on GitHub.
We estimate that 37% of US jobs, accounting for 46% of wages, can be performed entirely at home. Applying our occupational classifications to 85 other countries reveals that lower-income economies have a lower share of jobs that can be done at home.
This simple question is suddenly very important during this pandemic. See the ins加速器苹果 and Wall Street Journal for their reactions. I did an video interview with CEPR about our paper, which includes some thoughts about offshoring and the future of telecommuting. My comments to ins加速器苹果 appeared in a story titled “You’re Not Going Back to Normal Office Life for a Long, Long Time“.
蜂窝专线加速器
Tweet
Shift-share designs before Bartik (1991)
The phrase “Bartik (1991)” has become synonymous with the shift-share research designs employed by many economists to investigate a wide range of economic outcomes. As Baum-Snow and Ferreira (2015) describe, “one of the commonest uses of IV estimation in the urban and regional economics literature is to isolate sources of exogenous variation in local labor demand. The commonest instruments for doing so are attributed to Bartik (1991) and Blanchard and Katz (1992).”
The recent literature on the shift-share research design usually starts with Tim Bartik’s 1991 book, Who Benefits from State and Local Economic Development Policies?. Excluding citations of Roy (1951) and Jones (1971), Bartik (1991) is the oldest work cited in Adao, Kolesar, Morales (QJE 2023). The first sentence of Borusyak, Hull, and Jaravel’s abstract says “Many studies use shift-share (or “Bartik”) instruments, which average a set of shocks with exposure share weights.”
But shift-share analysis is much older. A quick search on Google Books turns up a bunch of titles from the 1970s and 1980s like “The Shift-share Technique of Economic Analysis: An Annotated Bibliography” and “浏览外网的免费加速器“.
Why the focus on Bartik (1991)? Goldsmith-Pinkham, Sorkin, and Swift, whose paper’s title is “Bartik Instruments: What, When, Why and How”, provide some explanation:
I wonder what Tim Bartik would make of that last sentence. His 1991 book is freely available as a PDF from the Upjohn Institute. Here is his description of the instrumental variable in Appendix 4.2:
In this book, only one type of labor demand shifter is used to form instrumental variables2: the share effect from a shift-share analysis of each metropolitan area and year-to-year employment change.3 A shift-share analysis decomposes MSA growth into three components: a national growth component, which calculates what growth would have occurred if all industries in the MSA had grown at the all-industry national average; a share component, which calculates what extra growth would have occurred if each industry in the MSA had grown at that industry’s national average; and a shift component, which calculates the extra growth that occurs because industries grow at different rates locally than they do nationally…
The instrumental variables defined by equations (17) and (18) will differ across MSAs and time due to differences in the national economic performance during the time period of the export industries in which that MSA specializes. The national growth of an industry is a rough proxy for the change in national demand for its products. Thus, these instruments measure changes in national demand for the MSA’s export industries…
Back in Chapter 7, Bartik writes:
The Bradbury, Downs, and Small approach to measuring demand-induced growth is similar to the approach used in this book. Specifically, they used the growth in demand for each metropolitan area’s export industries to predict overall growth for the metropolitan area. That is, they used the share component of a shift-share analysis to predict overall growth.
Hence, endnote 3 of Appendix 4.2 on page 282:
This type of demand shock instrument was previously used in the Bradbury, Downs and Small (1982) book; I discovered their use of this instrument after I had already come up with my approach. Thus, I can only claim the originality of ignorance for my use of this type of instrument.
Update (10am CT): In response to my query, Tim has posted a tweetstorm describing Bradbury, Downs, and Small (1982).
Share this:
Tweet
The rapid rise of spatial economics among JMCs
Two years ago, my list of trade candidates also included a dozen candidates in spatial economics. Last year I listed 20 candidates. There are 45 spatial-economics JMCs in this year’s list. That looks like a rapid rise.
Of course, measurement problems abound. My view of “spatial economics” may have broadened during the last two years, in which case the listings would tell you more about me than about the candidates. That would be hard to quantify. But, to focus on one label within the broader spatial economics nexus, I’m pretty sure that I’m seeing more candidates explicitly list “urban economics” as one of their fields than in years prior.
If I’m right that the supply of spatial economists is rising, then one immediately wonders if the demand side will keep pace. I haven’t looked at JOE postings, but I doubt that ads mentioning “urban economics” are growing at the same rate as candidates listing it as a field.
Last month, in response to a Beatrice Cherrier query about why urban economics’ “boundaries & identity are so difficult to pin down,” Jed Kolko noted that “urban economists typically align strongly to another field — trade, labor, PF, finance (esp the real estate types), macro.” That fluidity has advantages and disadvantages. It certainly makes it challenging to compile a list of relevant job-market candidates. But my very short time series of arbitrarily collated candidates suggests growth in the supply of young spatial economists.
Here’s a list of job-market candidates whose job-market papers fall within spatial economics, as defined by me when glancing at a webpage for a few seconds. Illinois has six candidates! I’m sure I missed folks, so please add them in the comments.
The annual list of trade candidates is a distinct post.
Of the 45 candidates I’ve initially listed, 18 used Google Sites, 12 registered a custom domain, 3 used GitHub, and 12 used school-provided webspace.
Here’s a cloud of the words that appear in these papers’ titles:
Alex Sollaci (Chicago) – Agglomeration, Innovation and Spatial Reallocation: the Aggregate Effects of R&D Tax Credits
Keyoung Lee (UCLA) – Benefits of Working Near College Workers: Human Capital Spillovers Across Neighborhood
私搭VPN获利判刑 “翻墙”生存空间渐窄[3]- 中国日报网 ...:2021-12-22 · 吴向洋在未取得《增值电信业务经营许可证》的情况下,在网络上销售VPN伋理服务,根据《中华人民共和国电信条例》和《中国人民共和国刑法》等 ... – Can’t Stop the One-Armed Bandits: The Effects of Access to Gambling on Crime
Giuseppe Rossitti (LSE) – Centres of power: US capitals’ location and ability sorting of legislators
Hongyu Xiao (Wharton) – Commuting and Innovation: Are Closer Inventors more Productive?
Asan R. Khan (Illinois) – Decentralized Zoning with Agglomeration Spillovers: Evidence from Aldermanic Privilege in Chicago
Xiaodi Li (NYU) – Do New Housing Units in Your Backyard Raise Your Rents?
ins加速器苹果 – Do Property Tax Incentives for New Construction Spur Gentrification? Evidence from New York City
Heepyung Cho (Illinois) – Driver’s License Reforms and Job Accessibility among Undocumented Immigrants
Wen Wang (Duke) – Environmental Gentrification
Román David Zárate (Berkeley) – Factor Allocation, Informality and Transit Improvements: Evidence from Mexico City
Conor Walsh (Yale) – Firm Creation and Local Growth
Chelsea Carter (Boston University) – Forts and the Frontier: The US Army and the Spatial Distribution of Population
Jiajun Lu (UCSD) – General Equilibrium Effects of an Urban Housing Supply Expansion: The Role of Residential Sorting
Ludovica Gazze (MIT) – Hassles and Environmental Health Screenings: Evidence from Lead Tests in Illinois
instagram苹果免费永久加速器 – Heterogeneities in the House Price Elasticity of Consumption
Luis Baldomero-Quintana (Michigan) – How Infrastructure Shapes Comparative Advantage
Javier Quintana (Bocconi) – Import Competition, Regional Divergence, and the Rise of the Skilled City
Lorenzo R. Aldeco Leo (Brown) – Internal Migration and Drug Violence in Mexico
instagram苹果免费永久加速器 – Knowledge access: The effects of Carnegie libraries on innovation
Cory Smith (MIT) – Land Concentration and Long-Run Development: Evidence from the Frontier United States
Aradhya Sood (Minnesota) – Land Market Frictions and Manufacturing in Developing Countries: The Small Bite Strategy
instagram苹果免费永久加速器 – Land-Use Regulation and Economic Development: Evidence from the Farmland Red Line Policy in China
Don Jayamaha (NYU) – Land-Use Restrictions: Implications for House Prices, Inequality, and Mobility
Milena Almagro (NYU) – Location Sorting and Endogenous Amenities: Evidence From Amsterdam
Chuhang Yin (Duke) – Long Term Neighborhood Effects of Religious Diversity: Evidence from Scotland
Charly Porcher (Princeton) – Migration with Costly Information
Peter Zhixian Lin (UC Davis) – Persistent Human Capital Spillovers: Evidence from China’s Send-down Migration
Florin Cucu (Sciences Po) – Roads, Internal Migration and the Spatial Sorting of US High-Skilled Workers
Yi Huang (Illinois) – Salience of Hazard Disclosure and House Prices: Evidence from Christchurch, New Zealand
Yang Wang (UCSD) – Skill Complementarity in Teams: Matching, Sorting and Agglomeration in China
Amrita Kulka (Wisconsin) – Sorting into Neighborhoods: The Role of Minimum Lot Sizes
Camilo Acosta-Mejia (Toronto Rotman) – Spatial Wage Differentials, Geographic Frictions and the Organization of Labor within Firms
Jay Hyun (Columbia) – Spillovers and Redistribution through Intra-Firm Networks: The Product Replacement Channel
Michael DeDad (Indiana) – Tastes in the United States: Convergence or Divergence?
Paolo Martellini (Penn) – The City-Size Wage Premium: Origins and Aggregate Implications
Ting Lan (Michigan) – The Coagglomeration of Innovation and Production
Brian Greaney (Yale) – The Distributional Effects of Uneven Regional Growth
Stephanie Schauder (Cornell) – The Effect of Sprawl Development on Grocery Store Location and Food Access
Hundanol Kebede (Virginia) – The Gains from Market Integration: The Welfare Effects of Rural Roads in Ethiopia
Hannah Rubinton (Princeton) – The Geography of Business Dynamism and Skill-Biased Technical Change
浏览外网的免费加速器 – The Geography of Unemployment
Wookun Kim (UCLA) – The Valuation of Local Government Goods: Gravity Approach and Aggregate Implications
Wei You (UCSD) – The Welfare Implications of Internal Migration Restrictions: Evidence from China
Devaki Ghose (Virginia) – Trade, Internal Migration, and Human Capital: Who Gains from India’s IT Boom?
Yuan Tian (UCLA) – Trade-Induced Urbanization and the Making of Modern Agriculture
Matthias Hoelzlein (Berkeley) – Two-Sided Sorting and Spatial Inequality in Cities
John D. Pedersen (Binghamton) – Voting for Transit: The Labor Impact of Public Transportation Improvements
Abdollah Farhoodi (Illinois) – Welfare Estimation in Peer-to-Peer Markets with Heterogeneous Agents: The Case of Airbnb
Caitlin Gorback (Wharton) – Your Uber has Arrived: Ridesharing and the Redistribution of Economic Activity
Share this:
Tweet
Trade JMPs (2023-2023)
It’s November again. Time flies, and there’s a new cohort of job-market candidates. Time really flies: I started this series a decade ago! Many members of that November 2010 cohort now have tenure or will soon.
As usual, I’ve gathered a list of trade-related job-market papers. There is no clear market leader: the most candidates from one school by my count is three (Berkeley, Maryland, UCLA). If I’ve missed someone, please contribute to the list in the comments.
A separate post lists candidates in spatial economics, broadly defined.
Of the 31 candidates I’ve initially listed, 14 registered a custom domain, 9 used Google Sites, 2 used GitHub, and only 6 use school-provided webspace.
Here’s a cloud of the words that appear in these papers’ titles:
Nicholas Sander (Berkeley) – Causal Effects of Capital Inflows
Adrien Bussy (LSE) – Corporate Tax Evasion: Evidence from International Trade
Karam Jo (Maryland) – Defensive Innovation and Firm Growth in the U.S.: Impact of International Trade
Sanjana Goswami (UC Irvine) – Employment Consequences of U.S. Trade Wars
Juan Sebastián Muñoz (Illinois) – Entering the Major Leagues: The Effect of Import Competition from the United States on Workers and Firms in an Emerging Economy
Román David Zárate (Berkeley) – Factor Allocation, Informality and Transit Improvements: Evidence from Mexico City
Luis Baldomero-Quintana (Michigan) – How Infrastructure Shapes Comparative Advantage
Shafaat Khan (Rochester) – How Trade Responds to Anticipated Tariff Changes: Evidence from NAFTA
Javier Quintana (Bocconi) – Import Competition, Regional Divergence, and the Rise of the Skilled City
Xiang Ding (Harvard) – Intangible Economies of Scope: Micro Evidence and Macro Implications
Hoang Pham (Syracuse) – International Trade and the Labor Market Power of Firms: Theory and Evidence
Jacob Howard (Colorado) – Labor-Market Frictions and Endogenous Production-Network Formation
Charly Porcher (Princeton) – Migration with Costly Information
浏览外网的免费加速器 – Multinational Production, Competition, and Growth
Diana Van Patten (UCLA) – Multinationals, Monopsony and Local Development: Evidence from the United Fruit Company
ins加速器苹果 – Price Discrimination in International Transportation: Evidence and Implications
Santiago Justel (UCLA) – Quality Guarantee and Trade Credit. Evidence from Chilean Exporters
instagram如何国内使用 – Quantifying the incidence of terms-of-trade shocks in Nigeria: a Roy model with non-homothetic preferences and endogenous transfers
Anna Miromanova (Oregon) – Quantifying the Trade Reducing Effect of Embargoes: Firm-Level Evidence from Russia
Dorothee Hillrichs (Tilburg University) – Recovering Within-Country Inequality From Trade Data
Tobias Sytsma (Oregon) – Rules of Origin Liberalization with Multi-Product Firms: Theory and Evidence from Bangladeshi Apparel Exporters
Eugene Kanasheuski (Penn State) – Skill Premium: Accounting for Trade and Structural Change
Mary Kate Batistich (Purdue) – Skill-Biased Technical Change and Employment in U.S. Manufacturing
Rowan Shi (Princeton) – Solving combinatorial discrete choice problems in heterogeneous agent models: theory and an application to corporate tax harmonization in the European Union
instagram如何国内使用 – The Effects of Joining Multinational Supply Chains: New Evidence from Firm-to-Firm Linkages
Jose P Vasquez (Berkeley) – The Effects of Multinationals on Workers: Evidence from Costa Rica
Heesuk Gloria Jung (Houston) – The Effects of Trade Costs and Capital Controls on Trade Imbalances
Sofia Fernandez Guerrico (Illinois) – The Effects of Trade-Induced Worker Displacement on Health and Mortality in Mexico
Hundanol Kebede (Virginia) – The Gains from Market Integration: The Welfare Effects of Rural Roads in Ethiopia
Adrien Bilal (Princeton) – The Geography of Unemployment
instagram如何国内使用 – The Importance of Business Travel for Trade: Evidence from the Liberalization of the Soviet Airspace
讯之7下载器app下载-讯之7下载器手机版下载v1.0.0 官网安卓 ...:2021-5-6 · 小黑游戏整理的讯之7下载器app是一款非常实用的手机视频下载神器,软件界面简单、体积小巧,功能却十分强大,还支持支持云端网盘视频在线搜索播放功能,欢迎有需要的朋友在小黑游戏下载体验。应用简介:讯之7下载器手机版是一款专为宅男伊打造的在线影音播放软件。 – The Leisure Gains from International Trade
Omar Barbiero (Harvard) – The Valuation Effects of Trade
浏览外网的免费加速器 – Trade Liberalization and Industrial Concentration
Paweł Langer (NYU) – Trade Liberalization: Winners and Losers in a Search Framework
Lerong Li (Maryland) – Trade Policy Shocks and Consumer Prices
Devaki Ghose (Virginia) – Trade, Internal Migration, and Human Capital: Who Gains from India’s IT Boom?
Laszlo Tetenyi (NYU) – Trade, Misallocation, and Capital Market Integration
Yuan Tian (UCLA) – Trade-Induced Urbanization and the Making of Modern Agriculture
Chen Daisy Sun (Yale) – Trading up: On the Growth of Chinese Textile and Apparel Exporters
instagram如何国内使用 – Who Gains From Scale? Trade and Wage Inequality Within and Between Firms
Share this:
Tweet
蜂窝专线加速器
Software build tools automate compiling source code into executable binaries. (For example, if you’ve installed Linux packages, you’ve likely used Make.)
Like software packages, research projects are large collections of code that are executed in sequence to produce output. Your research code has a first step (download raw data) and a last step (generate paper PDF). Its input-output structure is a directed graph (dependency graph).
The simplest build approach for a Stata user is a “master” do file. If a project involves A through Z, this master file executes A, B, …, Y, and Z in order. But the “run everything” approach is inefficient: if you edit Y, you only need to run Y and Z; you don’t need to run A through X again. Software build tools automate these processes for you. They can be applied to all of your research code.
Build tools use a dependency graph and information about file changes (e.g., timestamps) to produce output using (all and only) necessary steps. Build automation is valuable for any non-trivial research project. Build automation can be particularly valuable for big data. If you need to process data for 100 cities, you shouldn’t manually track which cities are up-to-date and which need to run the latest code. Define the dependencies and let the build tool track everything.
Make is an old, widely used build tool. It should be available on every Linux box by default (e.g., it’s available inside the Census RDCs). For Mac users, Make is included in OS X’s developer tools. I use Make. There are other build tools. Gentzkow and Shapiro use SCons (a Python-based tool). If all of your code is Stata, you could try the project package written by Robert Picard, though I haven’t tried it myself.
A Makefile consists of a dependency graph and a recipe for each graph node. Define dependencies by writing a target before the colon and that target’s prerequisites after the colon. The next line gives the recipe that translates those inputs into output. Make can execute any recipe you can write on the command line.
I have written much more about Make and Makefiles in Section A.3 of my project template. Here are four introductions to Make, listed in the order that I suggest reading them:
Mike Bostock: Why Use Make
Karl Broman: minimal make
Kieran Healy: Pull It Together (The Plain Person’s Guide to Plain Text Social Science)
Zachary M. Jones: GNU Make for Reproducible Data Analysis
Share this:
instagram如何国内使用
What’s an “iceberg commuting cost”?
In the recent quantitative spatial economics literature, the phrase “iceberg commuting cost” appears somewhat often. The phrase primarily appears in papers coauthored by Stephen Redding (ARSW 2015, RR 2017, MRR 2018, HRS 2018), but it’s also been adopted by other authors (Fratto 2018, Gaigne et al 2018, ins加速器苹果). However, none of these papers explicitly explains the meaning of the phrase. Why are we calling these commuting costs “iceberg”?
The phrase was imported from international economics, where the concept of “iceberg transport costs” is widely used. That idea is also explicitly defined. Alan Deardorff’s glossary says:
A cost of transporting a good that uses up some fraction of the good itself, rather than other resources. By analogy with floating an iceberg, costless except for the part of the iceberg that melts. Far from realistic, but a tractable way of modeling transport costs since it impacts no other market. Due to Samuelson (1954).
Two bits of trivia that aren’t very relevant to the rest of the post: these should be called “grain transport costs” because von Thunen introduced the idea with oxen-pulled grain carts more than a century before Samuelson (1954) and basic physics means there are actually economies of scale in shipping ice.
Why do we use the iceberg assumption? As Deardorff highlights, it lets us skip modeling the transportation sector. By assumption, the same production function that produces the good also produces its delivery to customers. For better or worse, that means that international or long-distance transactions don’t affect factor demands or transport prices by being international or long-distance per se (Matsuyama 2007). This is one way of keeping trade models simple. Per Gene Grossman: “few would consider the ‘iceberg’ formulation of shipping costs as anything more than a useful trick for models with constant demand elasticities.”
In urban economics, saying that commuting costs take the “iceberg” form means that the model abstracts from transportation infrastructure and the transport sector. Commuters “pay” commuting costs by suffering lower utility. There is no supplier of transportation services that earns any revenues. (Given that most US roads are unpriced, this isn’t much of an abstraction.) But, just as folding transportation services into the goods-producing firm’s production function has consequences for trade models, saying that commuting enters the utility function directly has consequences for the economic content of urban models.
Given that these models do not feature a labor-leisure tradeoff, there is an equivalence between utility costs and time costs. As described by Ahfeldt, Redding, Sturm, and Wolf (2015): “Although we model commuting costs in terms of utility, there is an isomorphic formulation in terms of a reduction in effective units of labor, because the iceberg commuting cost enters the indirect utility function (5) below multiplicatively.” If the cost of commuting is mostly about the opportunity cost of time, then this modeling device captures it reasonably well in a model with homogeneous workers.
If workers are heterogeneous in their hourly wages, then their opportunity costs of time differ. Higher-wage workers have higher opportunity costs of time. In the classic model of locational choice (see Kevin Murphy’s lecture), this causes higher-wage workers to be more willing to pay for residential locations that give them shorter commutes. In the typical quantitative spatial model, however, preferences are Cobb-Douglas over housing and a tradable good. As a result, even with heterogeneous agents, the utility-cost and time-cost formulations of commuting costs are equivalent.
Similarly, even though transportation infrastructure is surely more capital-intensive than much of the economy, we cannot speak to that issue when we parsimoniously model transport as simply coming out of people’s utility.
“Iceberg commuting cost” is a short, three-word phrase. I hope the 600+ words above suggest what it might mean.
Share this:
Tweet
About
Jonathan Dingel is an associate professor of economics at Chicago Booth.
ins加速器苹果
I missed last week's @WSJ story: "Four months into corporate America’s working-from-home experiment, some cracks ar… instagram苹果免费永久加速器 6 hours ago
RT @normative: Trump’s full explanation of why Treasury should get a “cut” of a Microsoft/TikTok deal is, somehow, even more grotesque and… 10 hours ago
You can now browse 9 articles related to defining metropolitan/urban areas that are forthcoming in the JUE at… twitter.com/i/web/status/1… 1 day ago
RT @leecrawfurd: @_alice_evans @Saizi_XIAO @Niaz_Asadullah @FeministEcon My new hobby is sharing the news that a woman (Kitagawa) came up w… 2 days ago
RT @TheStalwart: Trump to Order China’s ByteDance to Sell TikTok U.S. Operations freess免费上网账号 - 好看123:1 天前 · 9.免费ssr账号网站 点击前往 网站介绍:手机如何登陆外网苹果anyconnect免费账号 vp在线下载手机怎么进外网绿叶v破解版下载天行加速器官网 instagram怎么登录不了网络苹果ins怎么下手机挂ss热点 Lantern破解能... 10.SSRV2ray: 🃏 Free SS/SSR/V2ray 免费 3 days ago
ins加速器苹果
最佳iPhone / iPad清洁器应用程序:免费清理iOS 13/12上的 ...:垃圾文件和应用程序缓存会降低iPhone的速度,占用大量存储空间并降低iPhone性能。 为了充分利用和加快iPhone的运行速度,在此我伊建议使用最好的iPhone清洁程序,伍帮助您轻松清理iOS 12 / iOS 13设备上的垃圾文件,应用程序缓存,Web cookie,临时文件 on How Many Jobs Can be Done at Home?
Andrew on Trade JMPs (2023-2023)
Dorothee on Trade JMPs (2023-2023)
Tobias on Trade JMPs (2023-2023)
Praise
"The most thorough international trade and globalisation blogger" - Iana Dreyer
"A neat blog... good academic content" - Rob Elliott
"Contains interesting articles on economic globalization" - GlobaLab