Flying on the Delta Shuttle with Bill Gates 12 years ago, I asked, “ What Microsoft competitor worries you most?”

“Goldman Sachs.” I gave Gates a startled look. Was Microsoft about to try the investment banking business? “ Software,” he said, “ is an IQ business. Microsoft must win the IQ war, or we won’t have a future. I don’t worry about Lotus or IBM, because the smartest guys would rather come to work for Microsoft. Our competitors for IQ are investment banks such as Goldman Sachs and Morgan Stanley.”Footnote 1

1 Introduction

Understanding fundamental linkages between firms is central to economic and financial analyses. Most of this effort has focused on defining industries for benchmarking and on identifying groups of peers. Standard industry groupings are primarily based on product-market relations and measure output market linkages but not necessarily input market linkages. Labor inputs play an increasingly important role in driving firm performance and economic growth (Becker 1962). Although such firms as Microsoft and Goldman Sachs hire similar types of labor and face common input risks, their linkages may be overlooked because they are not in the same product market. This paper proposes a new approach for identifying labor market peer firms by analyzing “also viewed” firms on online labor markets Glassdoor and LinkedIn. The results suggest that labor market peers capture economic linkages that are not captured by traditional industry groupings and have incremental power in explaining stock returns and accounting-based performance variable comovements. This suggests that labor market connections are economically significant in transmitting risks and shocks to firm performance and stock returns. Additionally, labor market peers are found to help explain the selection of peers for CEO compensation benchmarking, highlighting the importance of considering labor market connections in economic and financial analyses.

Why do labor market peers offer incremental power over standard industry groupings in identifying firms’ economic linkages? First, these peers represent common human-capital risk and can help identify demand and supply shocks to a firm’s talent pool that standard industry groupings cannot.Footnote 2 Limits on labor can raise wages and impede a firm’s production of goods. For example, technology shocks to new firms likely increase the demand for certain types of employees, leading to a labor demand shock (Bresnahan et al. 2002). Therefore shareholders require a risk premium for the threat of losing key talent (Eisfeldt and Papanikolaou 2013). Changes in immigration policy (Bernstein et al. 2022) and increased occupational licensing requirements (Barrios 2022) can also reduce the supply of labor and increase wage premiums. Examining labor market peers can help identify these common shocks, even when the affected firms do not operate in the same product market.

Second, labor market peers can help capture shared production risks and shocks, as firms that hire similar types of employees may have similar production processes and inputs. For example, chemical manufacturers and oil-and-gas companies both use chemical processes to transform raw materials into products for intermediate or final consumption. These firms are exposed to common input price volatilities and technological advancements that may affect production costs. They may also face common regulatory and capital market risks, due to their environmental impacts. Identifying this type of commonality can be challenging because these companies operate in different product markets.Footnote 3 However, overlaps in their labor markets can illuminate commonalities because both types of firms may hire chemical and mechanical engineers to develop new products, material scientists to optimize production, and financial analysts to help hedge the price fluctuations of raw materials.

Third, labor market peers can also capture output market shocks, as firms in the same product market may hire similar kinds of workers. Thus it is natural for a firm’s labor market and product market peers to overlap. I don’t focus on labor market peers’ ability to capture output market shocks and use traditional industry peers to control for product market shocks.

To examine the incremental explanatory power of labor market peers over traditional industry groupings in identifying firms’ economic linkages, I analyze the comovement of stock returns and earnings-based measures. Firms in the same product market are exposed to similar output market shocks that affect their revenues, while firms using the same inputs, including labor, experience similar input market shocks that affect expenses. These shocks, which can include exogenous one-time shocks, changes in risk factors, or a combination of these, can significantly impact firms’ stock prices. When firms are exposed to common shocks, their stock prices and earnings are likely to comove. In a stylized model, I show that, when labor market peers hire similar types of employees and are subject to similar labor shocks, their earnings are more likely to comove. The strength of this comovement increases as the peers share more types of labor. While it is difficult to directly identify or observe shocks, I use tests of stock return and earnings comovement to infer the channels through which shocks affect firm value. The incremental explanatory power of labor market peers over standard industry groupings suggests that the labor markets capture important input shocks.

Identifying connections between firms in the labor market can be difficult, due to the limited information that firms disclose about their labor. Data on employment histories from sources such as the Census are not publicly available, and this limits the types of questions that can be answered using these data. However, the emergence of online labor markets has provided a new opportunity to study labor market activities (Horton and Tambe 2015). These sites offer a wealth of data that can be used to better understand the linkages between firms in the labor market.

This paper proposes a novel approach to identify labor market peers by examining “also viewed” firms on LinkedIn and Glassdoor. LinkedIn is the world’s largest professional network, with more than 700 million members and 50 million companies worldwide as of 2020. Its members create online profiles and build professional networks on this platform. They use LinkedIn to research companies and explore career opportunities. They can also access job postings, information about corporate culture, and insights about firms’ business prospects. At the time of data collection, for each firm on LinkedIn, the site shows six other firms that members “also viewed.” For example, members who “viewed” Tesla “also viewed” BMW, Ford, Solar City, Space Exploration Technologies, Google, and Apple on LinkedIn. While the Standard Industrial Classification (SIC) code would identify BMW and Ford as Tesla’s peers, it would not consider Google and Apple, even though they are important peers for Tesla, due to their hiring of similar types of labor. The “also viewed” firms are based on LinkedIn’s item-to-item collaborative filtering platform, where a variety of factors are considered and the top-N peer firms are presented.

To further validate the concept of identifying labor market peers based on employee “also viewed” patterns, I apply this approach to Glassdoor.com, an employee review and recruitment website. For each company, Glassdoor lists the top 12 firms “job seekers also viewed.” For example, those interested in Amazon “also viewed” Walmart; tech companies such as Apple, Facebook, Google, IBM; the financial services company American Express; and the delivery service company UPS.

I classify the “also viewed” firms on LinkedIn and Glassdoor as the base firm’s labor market peers. Considering that the display of “also viewed” companies aims to enhance user engagement and recommend content, and given the career-oriented nature of both LinkedIn and Glassdoor platforms, I expect the “also viewed” firms to reflect firms’ labor market connections. Further details on the “also viewed” algorithm and measurement errors are discussed in Section 3.1.

Labor market peers identified from LinkedIn and Glassdoor both capture a firm’s connections in the labor market. Approximately 72% of the base firms in my sample have overlapping LinkedIn and Glassdoor peers. Among these base firms, on average, 49% of a base firm’s LinkedIn labor market peers are also identified as peers by Glassdoor. In addition to analyzing the LinkedIn and Glassdoor peers, I form a more comprehensive set of labor market peers based on the union of the LinkedIn and Glassdoor peers and a core set of peers based on the intersection of the LinkedIn and Glassdoor peers. This approach allows me to cross-validate the results obtained from the two platforms and provide a more comprehensive understanding of firms’ labor market connections.

In this paper, I name the labor market peer measure the LMP and host the data for download on an external website. The LMP measure can identify commonalities between firms that traditional industry groupings cannot. For the union of the LinkedIn and Glassdoor labor market peers, 53% of the peers for S &P 1500 firms come from firms in different six-digit GICS industries and 70% come from firms in different four-digit SIC industries. The intersection sample exhibits less but still significant differences: 29% of S &P 1500 firms’ labor market peers are from firms in different six-digit GICS industries, and 54% are from firms in different four-digit SIC industries. This illustrates that labor market peers capture commonalities beyond the traditional output market.

I find that the LMP measure has economically significant and meaningful incremental power in explaining stock return comovements over standard industry groupings (SIC, NAICS, GICS) and text-based product market industry groupings (TNIC, Hoberg and Phillips 2010, 2016). While traditional industry groupings can explain an average of 18.1% of the cross-sectional variation in returns, labor market peers on average increases this explanatory power to 20.8%, a 14.9% increase. Evidence from accounting-based comovement tests suggests that the LMP measure also has incremental power over standard industry groupings in explaining contemporaneous correlations in accounting-based performance measures, including valuation multiples, profitability, and expense ratios.

I also investigate whether there is a relationship between the strength of the LMP measure and the degree of a base firm’s labor market connections. I sort the base firms into terciles based on their percentage of shared labor skills with their peers. My analysis shows that the LMP measure offers a higher explanatory power for stock returns when the base firm shares more labor skills with its peers. On average, it explains 22.5% of the cross-sectional variation in returns for the group of firms that share the highest proportion of labor skills, while it only explains 4.7% for the group that shares the least. My analysis also shows that the LMP measure has higher explanatory power for employee wages when the base firm has greater labor market connections with peers. On average, it explains 57.9% of the cross-sectional variation in wages for the group of firms that share the most labor skills, while it only explains 22.3% for the group that shares the fewest skills. Moreover, the measure significantly outperforms traditional industry classifications only when firms share a higher proportion of labor skills, suggesting that labor market peers do better than traditional industry measures at capturing firms’ labor market connections.

Next, to demonstrate the practical implications of the LMP measure, beyond identifying labor market links that drive stock return comovements, I examine, in online appendix, whether the measure helps explain the selection of compensation benchmarking peers. I find that a firm’s labor market peers are more likely to be chosen as compensation peers, even when controlling for such factors as industry, size, talent flow, peer pay level, and other factors that have been shown to influence the selection of compensation peers. CEO pay at labor market peers also helps explain the median CEO pay of a firm’s compensation benchmarking peers and, as a result, the pay of the base firm’s CEO. This suggests that the LMP measure can provide valuable insights into factors that influence compensation benchmarking.

Although traditional industry classifications, such as SIC or GICS, are convenient for research, they have limitations. First, traditional industry classifications impose transitivity, requiring that, if firms B and C are in firm A’s industry, then B and C are also in the same industry. Thus traditional industry classifications tend to mix closely and remotely related firms. The LMP measure relaxes the transitivity requirement and likely identifies firms’ most relevant peers and crucial linkages from a potentially noisy large sample of industry peers. Second, traditional industry groupings are relatively static. Labor market peers, however, are the outcome of real-time employee searches and are more likely to reflect firms’ changing economic conditions. Third, no standard industry grouping easily incorporates employees’ perspectives, though employees are industry and corporate insiders.

In sum, this study presents initial evidence that labor market peers, identified through “also viewed” firms on Glassdoor and LinkedIn, capture important labor market connections not captured by traditional industry groupings.

My approach also has limitations. First, the algorithm used to identify labor market peers is proprietary to the online platforms. Second, the peers identified through this approach may be influenced by LinkedIn and Glassdoor user demographics and firm activities on the platforms. As such, the LMP measure should be used cautiously for policy making. Third, labor market peers based on LinkedIn and Glassdoor “also viewed” firms likely capture a firm’s most relevant peers but may miss other less related firms. Despite these limitations, the concept of extracting labor market connections between firms using employees’ online browsing histories can be extended to various online labor markets, offering an alternative to traditional industry peers.

This paper makes several contributions. First, the primary contribution is to the peer selection and industry classification literature (see Section 2). To my knowledge, this paper is among the first to group firms based on labor market similarities and to provide a measure of labor market peers. The economic significance of the input market linkages to firms is not well understood, due to lack of good measure of these linkages. However, the issue is important, given that labor is a critical and scarce resource for many modern firms, especially as the world shifts to a talent economy (Martin 2014). I show that these relations transmit shocks to stock returns and firm performance and represent an important human capital risk. The LMP measure has potential applications in diverse areas, such as benchmarking in performance evaluation and human capital management.

Second, this paper contributes to the budding area of accounting, finance, and labor. Recent studies examine the impact of accounting and financial policies, such as financial distress (Brown and Matsa 2016) and financial misreporting (Choi and Gipper 2019; Teoh et al. 2023), on the labor market. It is challenging to use traditional industry peers to measure the scope of impact, as product and labor markets do not always overlap. This study should help future studies that examine specific labor-market impacts of corporate events and policies.

Third, this paper contributes to the growing body of literature that underscores the latent intelligence found in internet users’ online activities, an area that has garnered considerable attention from academics and practitioners. Studies have used aggregate search trends and browsing histories to predict house prices (Wu and Brynjolfsson 2009), stock prices (Da et al. 2011), stock comovement (Lee et al. 2015; Leung et al. 2017), and employee turnover (Dehaan et al. 2023). This paper shows how the online activities of a specific group-employees-reveal firms’ fundamental connections. It also contributes to the growing body of research on how information technology reshapes a firm’s information environment (Blankespoor et al. 2013; Miller and Skinner 2015; Lee et al. 2015; Jung et al. 2018; Teoh 2018; Chiu et al. 2023).

Section 2 discusses related literature. Section 3 describes the data and provides summary statistics for the LMP measure. Section 4 presents the main results. Section 5 performs additional analyses and robustness tests. Section 6 concludes.

2 Related literature on industry and peer firm groupings

Practitioners and academic researchers identify industry classifications and peer firms for many purposes, including equity valuation (Brown and Ball 1967; King 1966; Fama and French 1997; Bhojraj et al. 2003; De Franco et al. 2015), executive compensation (Albuquerque 2009), corporate financial policy (Rauh and Sufi 2012; Leary and Roberts 2014), information transfers (Foster 1981; Ramnath 2002; Cohen and Frazzini 2008), and risk management. Industry groupings are also essential for understanding vertical and horizontal integration in industrial organizations (Fan and Lang 2000; Hoberg and Phillips 2010; Lee et al. 2019).

Three industry classifications-the SIC, NAICS, and GICS-are widely used by academics and practitioners in accounting, finance, and economics. The Standard Industry Classification (SIC) System was developed by the Central Statistical Board in the 1930s and last updated in 1987. It uses a demand-based conceptual framework, where establishments are grouped into industries based on the similarity of their product markets. The North American Industry Classification System (NAICS) replaced the SIC method in 1997 and uses a supply-based framework, where establishments are grouped into industries according to similarities in production processes. Although NAICS considers firms’ input commonalities, NAICS and SIC use similar data sources, and research shows that they have similar power to explain firms’ stock return comovement and financial multiples (Bhojraj et al. 2003). The Global Industry Classification Standard (GICS), developed by Standard & Poor’s and MSCI in 1999, offers a market-oriented industry classification. Companies are classified based on their principal businesses and by the market perceptions revealed by investment research reports. Bhojraj et al. (2003) compare the different industry classifications and find that GICS outperforms SIC, NAICS, and the Fama and French 49-industry groupings (Fama and French 1997) in explaining contemporaneous correlations in stock returns.

Text Network Industry Classification (TNIC) is a recent industry classification based on firm pairwise similarity scores from textual analysis of 10K product descriptions. TNIC is updated annually and offers more research flexibility than traditional industry classifications. Research shows that it improves upon SIC and NAICS codes in explaining firm characteristics, such as profitability (Hoberg and Phillips 2010, 2016). However, TNIC is still primarily based on product market similarities. I compare the incremental power of the LMP measure with the four existing industry classifications.

This paper also relates to recent papers that identify peer firms through internet search patterns. Lee et al. (2015) identify peer firms using internet traffic on the EDGAR website, while Leung et al. (2017) identify peers using the online searches of individuals who visit Yahoo! Finance. These measures are based on investor perceptions and most likely work through a mix of fundamental and investor-sentiment channels. In contrast, labor market peers based on LinkedIn and Glassdoor data are less subject to investor sentiment and can capture new dimensions of production functions in the labor market.

Lastly, this paper complements two recent studies that also examine firms’ labor market connections. All three papers construct novel measures of labor market peers, and all show that firms’ labor market connections differ from their product market connections. However, the three methods are distinct. Liu and Wu (2022) construct their peers based on a database of job postings and link firms based on the job postings’ Occupational Information Network (O*NET) codes. Their approach likely offers a comprehensive set of labor market peers but may classify remotely related or unrelated jobs as related because O*NET codes may classify different jobs as related if they have the same job titles.Footnote 4 Bae et al. (2022) build their measure based on data from the Bureau of Labor Statistics’ Occupational Employment Statistics (OES) survey and O*NET’s classification of occupational knowledge. This approach, while likely also offers a thorough analysis of labor market connections, but is constrained to an industry-level measure due to the nature of the OES data.

In contrast, my approach is based on employees’ “also viewed” patterns when they are researching companies on online labor market platforms. These patterns likely not only reflect labor demand information, such as job postings, but may also reflect information that affects labor supply and may incorporate employees’ private information (Hales et al. 2018; Huang et al. 2020; Li et al. 2019). These sources of information are considered by employees but are likely unobservable to outsiders or researchers grouping firms. Thus Liu and Wu (2022) and Bae et al. (2022) likely capture a more comprehensive set of labor market peers, while the LMP measure in this paper likely captures a firm’s most relevant labor market peers.

3 Data and measures

3.1 Data from online labor market “also viewed” firms

I assume that people primarily use online labor market platforms for career-related purposes. When company A is listed as company B’s “also viewed” firm on LinkedIn or Glassdoor, it is likely that both companies attract a similar pool of talents. As such, I classify these “also viewed” firms as labor market peers.Footnote 5 To construct the LMP measure, I use data from LinkedIn and Glassdoor, respectively. To ensure robustness and gain a deeper understanding of the measure, I create two additional samples: one based on the union of the LinkedIn and Glassdoor labor market peers, which likely captures a broader set of peers, and another based on the intersection of the LinkedIn and Glassdoor peers, which likely captures a core set of peers. I describe the data below.

3.1.1 LinkedIn company page “people also viewed” data

LinkedIn is the world’s largest online professional networking and recruiting site. Members, recruiters, and companies comprise of its users. There were more than 700 million members and 50 million companies listed on the site as of 2020. Members use LinkedIn to build their professional profiles and networks, allowing them to interact with other users and discover new career opportunities. Companies use their LinkedIn pages for recruiting and branding. LinkedIn company homepages have subpages such as “jobs,” “life,” “people,” and “insights,” which provide members not only access to job postings but also information about a company’s culture, professional development opportunities, employee distribution, and headcount growth based on LinkedIn data. Members can also learn whether any alumni or anyone in their network works at a company and connect with them for information or referrals. Recruiters on LinkedIn, for their part, can use filters to find candidates who have viewed their company page, indicating that recruiters consider these members to be potential employees.

LinkedIn features “People Also Viewed” companies, based on its item-to-item collaborative filtering program known as “browsemaps.” This system uses members’ browsing histories to build a latent graph of co-occurrences of entities, showcasing relationships between pairs of companies based on the aggregated behavior of many LinkedIn users. Browsemap powers many navigational aids on LinkedIn and contributes a significant portion of traffic and engagement on the platform. The system uses techniques such as damping entities that are overly popular (e.g., preventing Google from being overly correlated throughout the ecosystem) and incorporating a form of hysteresis, where newer views are weighted more heavily than older ones. Figure 1 shows the interface of Dow’s web page on LinkedIn including its “People Also Viewed” firms.Footnote 6

The “People Also Viewed” feature on LinkedIn is likely determined by various factors, including counting the co-occurrences of views for different companies (Wu et al. 2014; LinkedIn 2022). LinkedIn may have considered such collaborative filtering features as co-follow or co-employed-at as well as content-based features, such as industry or location.Footnote 7 Generally, I would expect labor market-related factors to reveal firms’ labor market connections, while nonlabor market-related factors to add noise and influence the outcome of the browsemap.

Fig. 1
figure 1

Dow’s LinkedIn homepage and “people also viewed” peers

Recall that the aim of the “People Also Viewed” browsemap is to serve as a navigational aid, enhance user engagement, and recommend relevant content. Given LinkedIn’s career focus, labor market peer firms are considered suitable candidates to fulfill this purpose. Nevertheless, it is crucial to acknowledge the possibility of measurement error and selection bias when interpreting the results obtained from the browsemap. I will further discuss these aspects in Sections 3.1.3 and 3.1.4.

LinkedIn’s internal applications demonstrate that LinkedIn engineers use the “People Also Viewed” company browsemap to identify labor market peers and assist recruiters and hiring managers in finding similarly qualified candidates in peer firms. One such application is the “Similar Profiles” feature, which is a recommender system that pools similar candidates from “also viewed” companies based on the current company of members viewed by recruiters and hiring managers. An A/B test showed that using the company-view browsemap alone increased profile reviews by more than 30% (Wu et al. 2014). Another application, “Search by Ideal Candidates” (Ha-Thuc et al. 2016), constructs a company browsemap using co-viewing relationships to generate a set of companies that are likely to have candidates similar to the ideal candidates. These applications demonstrate that LinkedIn leverages the company-view browsemap, based on the idea that “People Also Viewed” companies hire individuals with similar skills.

3.1.2 Glassdoor company page “job seekers also viewed” data

Glassdoor is a leading review and recruitment website, founded in 2007. Current and former employees can anonymously write reviews about corporate culture, career opportunities, and salaries on the website. This information is not easily available elsewhere, making Glassdoor useful for both current employees and job seekers. Glassdoor also hosts job postings, and employees can apply for jobs on Glassdoor. As of 2021, Glassdoor had 67 million unique monthly visitors to its website and mobile app and hosted company homepages and job openings.Footnote 8

Glassdoor lists “Job Seekers Also Viewed” firms on its company homepages. According to inquiry with Glassdoor, this feature was based on the analysis of job-clicking by users during my sample period. Two employers are considered related in the labor market if the same user clicks on jobs for both. The top 12 firms of a given firm’s “Job Seekers Also Viewed” firms are listed on the Glassdoor company homepage (Chen-Zion 2015). Over time, the feature expanded to include co-views of other employer pages on Glassdoor, such as employer review pages and salary pages, as of July 2023. I classify these firms as Glassdoor labor market peers. Figure 2 shows the interface of Amazon’s web page on Glassdoor and the 12 “Job Seekers Also Viewed” firms. Karabarbounis and Pinto (2018) found that the wage distribution from Glassdoor reviews resembles that based on U.S. Census data and industries are widely represented on Glassdoor, although certain industries are more represented than others. Further discussion of Glassdoor’s contents, user demographics, and user incentives can be found in the work of Hales et al. (2018); Huang et al. (2020); Marinescu et al. (2021); Dehaan et al. (2023).

Fig. 2
figure 2

Amazon’s Glassdoor homepage and “job seekers also viewed” peers

3.1.3 Measurement error

The assumption of constructing peer firms based on LinkedIn and Glassdoor’s “also viewed” data is that members primarily use online labor market platforms for career-related purposes and the platforms optimize their algorithms to serve this purpose effectively. Thus measurement noise may arise if members use LinkedIn and Glassdoor for other purposes or if nonlabor market factors are used in the construction of “also viewed” firms.

The first type of noise is generated when LinkedIn users perform noncareer-related activities on the platform. According to LinkedIn, the second-largest and fastest-growing activity on its site is B2B marketing. As a result, LinkedIn users may view company profiles for lead generation or to contact people who work for their customers or suppliers.Footnote 9

The second type of noncareer-related activity is using LinkedIn or Glassdoor for leisure purposes. For example, LinkedIn members might connect with people they meet locally, view those people’s employers out of curiosity, and use LinkedIn for communication. I address the measurement error issues in Sections 5.1.1 and 5.1.2.

The third source of noise arises from nonlabor market factors incorporated in the “also viewed” firms algorithm. For instance, the algorithm may consider standard industry classification similarity as a factor. It is essential to acknowledge that there are natural overlaps between a firm’s product-market and labor-market peers, and including this factor could enhance the algorithm’s performance. However, the downside is that nonlabor-related product market peers may introduce noise to the algorithm. To address the potential influence of product market peers, I employ standard industry measures as controls for the empirical tests.

3.1.4 Selection bias

As labor market peers reflect the aggregate behavior of LinkedIn or Glassdoor users, user demographics, firm representation, and how users and firms use the platform would affect their composition.

First, this composition likely depends on who uses LinkedIn and Glassdoor. Notably, 51% of LinkedIn members have a college degree, as compared to 35% based on the most recent U.S. Census Bureau’s Current Population Survey (CPS).Footnote 10 These numbers indicate that the employees recruited on LinkedIn are likely the essential labor for the firm and the pool of talent that is in scarce supply. As such, the labor market peers identified through LinkedIn and Glassdoor should be interpreted as a firm’s critical peers, and it is unclear whether the results would differ for the types of employees who do not use LinkedIn or Glassdoor.

Second, the composition of labor market peers may also depend on firm representation and how firms choose to use the sites. For example, certain industries are more represented on the sites than others (Karabarbounis and Pinto 2018), and this may affect relative web traffic. In addition, firm size may also affect the composition of labor market peers. Big firms likely attract more web traffic, are better known, and may have more accurate labor market peers. Small ones have less web traffic but may still attract interested users because they are likely less well known and have fewer alternative information channels. Sections 5.1.3 and 5.1.4 discusses several robustness tests that further examine this issue.

Table 1 Summary statistics of labor market peers

3.2 Sample selection

The base sample of firms is the S &P 1500 universe as of January 2013. Table 1 panel A describes sample selection. In July 2013, I searched LinkedIn for each firm in the S &P 1500 and found LinkedIn homepages for 1,464 unique firms, of which 1,456 firms had the “People Also Viewed” company browsemap. I collected the “People Also Viewed” firms for each company and manually matched them with firms in the CRSP/Compustat database. This resulted in 5,419 unique peer firms, including 3,366 U.S. public firms. Private and foreign peer firms were excluded due to data availability. I further restricted my sample to firms that could be matched with Compustat and were listed on the NYSE, NASDAQ, or AMEX trading with ordinary common shares (CRSP share code of 10 or 11). This resulted in 1,325 base firms from the S &P 1500 universe, including 449 S &P 500 firms.Footnote 11 I apply a similar process to collect the “Job Seekers Also Viewed” firms on Glassdoor for each company in February 2017, which further reduces my sample to 1,250 firms. Table 1 panel B provides the count of public labor market peers. Ninety-three percent (82%) of the LinkedIn S &P 1500 sample has at least two (three) public labor market peers. I keep base firms with at least two public peers, but the results are robust to requiring three public peers or to removing this restriction. I obtain stock return data from CRSP, financial information and executive compensation data from Compustat and ExecuComp. TNIC industry data are obtained from the Hoberg and Phillips data library. Firm location data are from Glassdoor. Median employee salary is computed based on Glassdoor salary data or from the Equilar database based on firm proxy statements. Compensation benchmarking peers are obtained from ISS Incentive Lab. Customer-supplier relationships are based on the Compustat Segments Customer File. The number of observations differs across tests, due to data availability.

3.3 Summary statistics

3.3.1 Comparing labor market peers identified from LinkedIn and Glassdoor

The LinkedIn algorithm is mainly based on “also viewed” company pages, while the Glassdoor algorithm is primarily based on “also viewed” job postings. Despite this difference, I expect an overlap in labor market peers identified from LinkedIn and Glassdoor because most activities on the sites are career-related. Indeed 72% (897/1250) of the base firm’s LinkedIn labor market peers share at least one firm with the Glassdoor labor market peers. Among these firms, 49% of LinkedIn peers are also captured by the Glassdoor peers. This significant overlap validates the LMP measure and suggests that employee “also viewed” patterns on the two sites reveal a firm’s essential labor market peers. Despite this commonality, LinkedIn and Glassdoor peers also differ. I further discuss this difference in Appendix B.

Table 2 Difference between labor market peers and standard industry classifications

3.3.2 Comparison with product market peers

Table 2 shows the extent to which a firm’s labor market peers differ from its product market peers. The differences are measured by the proportion of labor market peers that belong to different industry classification (two-digit GICS, six-digit GICS, two-digit SIC, four-digit SIC, three-digit NAICS, and six-digit NAICS) compared to the base firm. The results show that labor market peers overlap with but differ from product market peers.

For LinkedIn labor market peers (Panel A), 18% have a different two-digit GICS classification from the base firm, 39% have a different two-digit SIC, and 60% have a different four-digit SIC. Meanwhile, the Glassdoor peers (Panel B) have a greater difference, with 42% having a different two-digit GICS, 63% having a different two-digit SIC, and 77% having a different four-digit SIC. These variations between the LinkedIn and Glassdoor peers can be attributed to platform-specific differences, such as the maximum number of “also viewed” firms displayed and other factors discussed by Appendix B.Footnote 12

For the union and intersection peers, I require the base firm to have at least one overlapping LinkedIn and Glassdoor labor market peer for the purpose of comparison. The union peers (Panel C) tend to have differences between those of the LinkedIn and Glassdoor peers, while the intersection peers (Panel D), which are likely the core set of peers, has slightly more overlap with product market peers.

The degree of difference between the firm’s input and output markets varies by industry, with some industries having less difference, such as energy, healthcare, financial, and information technology, and others having greater difference, such as materials, consumer staples, and industrials. An example is the Dow Chemical, which belongs to the materials industry. Its LinkedIn labor market peers span five different two-digit GICS industries: materials (BASF and Dupont), industrials (3M), energy (Exxon Mobil), healthcare (Monsanto), and consumer staples (Procter & Gamble).

3.3.3 Labor skill similarity

One way to measure the relatedness of firms in the labor market is analyzing the proportion of skills that are shared among them. I use self-reported skills listed in the Skills & Expertise section of LinkedIn member profiles. These skills are publicly available to LinkedIn members and are endorsed by their network, which serves as a credibility indicator. LinkedIn also provides an overview of the five most common skills of a company’s current employees on each company’s LinkedIn homepage. Additionally, LinkedIn uses a proprietary algorithm to calculate related skills for each of the top skills, for example, the top skills and expertise of Google are Google Adwords, Python, machine learning, AdSense, and Google technologies. The related skills for machine learning are feature selection, text mining, pattern recognition, etc.Footnote 13

I measure the skill similarity \(s_{i,j}\) between firm i and firm j as the proportion of skills that are shared by both, divided by the number of total unique skills of both. This measure is defined as:

$$\begin{aligned} s_{i,j}=\frac{|C_{i}\cap C_{j}|}{|C_{i}\cup C_{j}|}, \end{aligned}$$
(1)

where \(C_{i}\) is the skill set of firm i and \(C_{j}\) is the skill set of firm j. For example, Google has 88 skills, and Facebook has 76 skills. They have 32 skills in common. Their skill similarity would be \(s_{Google,Facebook}=\frac{{32}}{88~+~76-32}=0.24\). The top and the related skills of Google and Facebook can be seen in Appendix D.

Table 3 Summary statistics of skill similarity ratio

Table 3 summarizes the labor market similarity between the base firm and its LinkedIn labor market peers by measuring the proportion of shared skills. The table presents data on the number of firms and average skill similarity in each two-digit GICS industry. The skill similarity between the base firm and its labor market peers is compared to the average skill similarity between the base firm and other firms that share at least one skill in my sample. The expectation is that, if labor market peers capture firms’ critical labor market peers, the average skill similarity between the base firm and its peers will be higher than the benchmark. On average, S &P 1500 firms share 11% of skills with their labor market peers, as compared to 6% with the benchmark groups. Firms share significantly more skills with their labor market peers than with the benchmark in every GICS2 industry. Firms in the information technology industry have the lowest commonality with peers (7%), while energy, utility, and financial firms share 19%, 15%, and 14% of skills with their labor market peers respectively.Footnote 14 Generally, the more skills the base and peer firms share, the more related they are in the labor market. This result supports the conclusion that labor market peers capture labor market relatedness.Footnote 15

4 Labor market peers and comovements

There is a large economics and finance literature on the impact of labor market shocks or risks on employee wages, firm earnings, and stock returns. Studies have found that labor market shocks or risks can affect not only employee wages but also firm earnings and stock returns (Mayers 1973; Jaganathan and Wang 1996; Eisfeldt and Papanikolaou 2013; Donangelo 2014). I develop a stylized model in Appendix A and illustrate how firms’ earnings comove when they hire similar types of scarce labor, and how that comovement strengthens when they share more types of scarce labor. As a result, firms’ stock returns will also comove when they are subject to common labor market shocks or risks.

In this section, I control for output market shocks and risks using existing industry groupings and show that labor market peers have significant incremental explanatory power over traditional industry groupings in understanding the cross-sectional variation of returns, valuation multiples, profitability, expense ratios, and wages. This supports the idea that the labor market captures firms’ fundamental connections beyond the output market.

Moreover, the LMP measure explains more of the cross-sectional variation of returns and wages when firms share more skills and outperforms alternative industry peers when firms share more skills with their peers, supporting the idea that it captures firms’ labor market similarities.

4.1 Return comovements of labor market peers

An important aspect of firms’ economic linkages is the degree of contemporaneous correlation in their stock returns. In this analysis, I investigate to what extent labor market peers outperform standard industry classifications in explaining stock return comovements.

My first test compares labor market peers with existing industry peers to explain the base firm’s stock return variation. I estimate the cross-sectional regression specification following the method used by Bhojraj et al. (2003) and Lee et al. (2015), for every month from 2014 to 2019. The regression specification is as follows:

$$\begin{aligned} R_{i,t}=\alpha _{t}+\beta _{t}\,R_{peer,t}+\epsilon _{i,t}, \end{aligned}$$
(2)

where \(R_{i,t}\) is the monthly stock return for each base firm i drawn from CRSP monthly files and where \(R_{peer,t}\) is the equally weighted average monthly portfolio return based on the base firm’s LMP, GICS, SIC, NAICS, or TNIC peers, excluding the base firm. I estimate Eq. 2 across firms for every month from 2014 to 2019 and obtain an average \(R^{2}\) based on the 72 regressions.

I construct peer portfolio returns using the same number of firms as the number of labor market peers. Since the LMP measure likely picks a firm’s closest labor market peers, I select a firm’s closest product-market or industry peers for the benchmark peer portfolio construction. Different methods are used to select the closest product-market or industry peers, such as using the Hoberg-Phillips score data for the TNIC peer construction and selecting peer firms closest in size and in the same industry as the base firm for the GICS, SIC, and NAICS industry peers. For example, to construct the TNIC peer portfolio for a base firm with six labor market peers, I would select six TNIC peers with the highest Hoberg-Phillips score data. To construct the GICS peer portfolio for a base firm with six labor market peers, I would select the six firms closest in size and in the same most granular GICS industry classification as the base firm. If the number of firms in the most granular industry specification is less than the number of labor market peers, I would move up to the next level of industry specification.Footnote 16

Four sets of labor market peers are analyzed in this section: the LinkedIn peers, the Glassdoor peers, the union of the LinkedIn and Glassdoor peers, and the intersection of the LinkedIn and Glassdoor peers. For a given base firm, the union set has the most labor market peers, while the intersection set has fewest. The union set likely captures a broader set of labor market peers, and the intersection set likely captures a core set of labor market peers. I don’t have an expectation as to which set would perform best but do expect my results to be robust and consistent across the four sets if both the LinkedIn and Glassdoor “also viewed” algorithms capture a similar construct. To facilitate comparison, all regressions are conducted using the same underlying set of base firms. This reduces the number of firms in my sample because only 72% of the base firms’ LinkedIn and Glassdoor labor market peers intersect. In online appendix, I drop the intersection sample and show that the results are robust to using a larger sample without requiring overlap between Glassdoor and LinkedIn labor market peers.

Suppose that the LMP measure captures firms’ connections that transmit common shocks beyond the output market. In that case, it should exhibit incremental power over standard industry classifications in explaining the base firm’s stock-return variation. I test the regression specification

$$\begin{aligned} R_{i,t}=\alpha _{t}+\beta _{LMP,t}\,R_{LMP,t}+\sum \beta _{peer,t}\,R_{peer,t}+\varepsilon _{i,t}, \end{aligned}$$
(3)

where \(R_{LMP,t}\) is the equally weighted average monthly portfolio return based on the LMP measure and \(R_{peer,t}\) is the equally weighted average monthly portfolio return based on the same number of closest GICS, SIC, NAICS, or TNIC peers.

Table 4 Return comovement tests based on labor market peers and on alternative industry groupings

Columns (1) to (5) of Panels A to D of Table 4 report estimation results for Eq. 2 for the LinkedIn, Glassdoor, union, and intersection labor market peers, respectively. The average \(R^{2}\) is the main measure for explanatory power. The LinkedIn labor market peers explain an average of 14.8% of the cross-sectional variation in realized returns, significantly outperforming output-market-based or investment-oriented industry groupings, that is, GICS (12.8%), SIC (10.6%), NAICS (10.7%), and TNIC (11.3%). The Glassdoor labor market peers explain an average of 11.9% of the cross-sectional variation in realized returns, significantly underperforming benchmark peers based on GICS but on par with peers based on SIC, NAICS, and TNIC. The union labor market peers explain an average of 14.6% of the cross-sectional variation

in realized returns, insignificantly different from the performance of GICS peers and outperforming other peers used in this paper. The intersection labor market peers explain an average of 11.4% of the cross-sectional variation in realized returns, outperforming peers based on GICS, SIC, NAICS, and TNIC. Two-tailed t-tests are performed to test the difference significance. Note that the performance of the same benchmark industry grouping differs from Panel A to D; this is because I require the same number of firms as the corresponding labor market peer to construct a benchmark industry portfolio, and thus the number of firms used to construct a benchmark portfolio likely differs across panels.

Next I examine whether labor market peers capture firms’ fundamental connections beyond traditional output-market-based peers. Columns (6) to (7) of Panels A to D of Table 4 show the incremental power of labor market peers. In Panel A column (6), GICS, SIC, NAICS, and TNIC together explain an average of 18.5% of cross-sectional variation in realized returns. Adding the LinkedIn labor market peer portfolio in column (7) increases the overall explanatory power to 21.6%. Similarly, adding the Glassdoor portfolio increases the overall explanatory power from 19.1% to 20.9%, the union portfolio increases the overall explanatory power from 19.4% to 21.7%, and the intersection portfolio increases the overall explanatory power from 15.3% to 18.9%. Two-tailed t-tests, conducted on the time-series of monthly differences from 2014 to 2019, indicate that the explanatory power of column (7) is significantly greater than that of column (6) for all four portfolios at the 1% significance level. On average, labor market peers achieve an improvement of 14.9% in average \(R^2\) values over the aggregate explanatory power of GICS, SIC, NAICS, and TNIC for the S &P 1500 sample.Footnote 17 The results suggest that the labor market peer measure captures firms’ important fundamental connections that are not identified by traditional industry peers.

In Section 5.2, I show that my results are robust to alternative methods of selecting closest product market peers. This includes selecting peers that are in the same industry and have the closest performance or firms that are closest in both size and performance to the base firm. I also show that my findings are robust when using benchmark portfolios constructed with more peers, such as those based on industry and size quartile-matched portfolios or portfolios that include all firms in the same industry.

4.2 Accounting ratios and valuation multiples

Another measure of firms’ economic connections is the degree of contemporaneous correlation in their accounting-based performance metrics. Brown and Ball (1967) show that industry earnings explain a substantial amount of an individual firm’s earnings. I use the same sample and methodology as in the stock return analysis, and the LMP measure should have incremental explanatory power over traditional industry peers in explaining profitability ratios and valuation multiples if it measures input market shocks that affect firm value. I use annual data from Compustat on a range of expense ratios, valuation multiples, and a number of other financial ratios, including research and development expenses scaled by net sales (rdpersales); selling, general and administrative expenses scaled by net sales (sgapersales); the price-to-book ratio (pb); the enterprise value-to-sales ratio (evs); the price-to-earnings ratio (pe); returns on net operating assets (rnoa); the return on equity (roe); the inverse of assets turnover (at); the profit margin (pm); leverage (leverage); and one-year-ahead realized sales growth (salesgrowth). The methods used to calculate these ratios are detailed in Appendix C.

For each of these variables, I start by running the cross-sectional regression including traditional industry groupings:

$$\begin{aligned} Ratio_{i,t}=\alpha _{t}+\sum \beta _{peer,t}\,Ratio_{peer,t}+\epsilon _{i,t} \end{aligned}$$
(4)

and then add the accounting-based performance ratio of my measure:

$$\begin{aligned} Ratio_{i,t}=\alpha _{t}+\beta _{LMP,t}\,Ratio_{LMP,t}+\sum \beta _{peer,t}\,Ratio_{peer,t}+\epsilon _{i,t} \end{aligned}$$
(5)

where \(Ratio_{i,t}\) is the variable of interest for each base firm i and \(Ratio_{LMP,t}\) is the equally weighted average of the same variable for the closest labor market peers. The independent variables are the same number of equally weighted ratios of the closest GICS, SIC, NAICS, and TNIC peers. I estimate these regressions for every calendar year from 2014 to 2019. I use yearly ratios because different industries are more comparable at the yearly level, due to seasonalities.Footnote 18

Table 5 Incremental \(R^{2}\) values: accounting-based performance ratios

Table 5 presents the results. Panels A to D report results for the LinkedIn, Glassdoor, union, and intersection labor market peers respectively. Column (1) shows the number of firms for each estimation. Columns (2) and (3) report the average value of \(R^{2}\) on yearly cross-sectional regressions for Eqs. 4 and 5, respectively. Column (4) reports two-tailed t-tests for the \(R^{2}\) difference between columns (2) and (3) based on the time-series of \(R^{2}\) from 2014 to 2019.

Table 5 shows that labor market peers exhibit significant incremental explanatory power over the aggregate power of GICS, SIC, NAICS, and TNIC in explaining cross-sectional variation in accounting-based performance metrics, such as expense ratios and valuation multiples. For example, adding LinkedIn peer portfolio helps explain a significantly greater proportion of the cross-sectional variation for expense ratios (rdpersales, sgapersales), valuation multiples (pb, evs), and financial statement ratios (rnoa, at, pm, leverage). The increases for LinkedIn labor market peers are statistically significant at the 1% level for rdpersales, sgapersales, evs, at, pm, at the 5% level for rnoa, and at the 10% level for pb, leverage. The results for the Glassdoor, union, and intersection peers in Panels B to D are also similar, further supporting the robustness of the findings.

Table 6 Return comovements tests by skill similarity
Fig. 3
figure 3

Comparison of return comovement \(R^{2}\) values among the LMP measure and alternative industry groupings by skill similarity.This figure reports the average \(R^{2}\) values from monthly cross-sectional regressions of the form \(R_{i,t}=\alpha _{t}+\beta _{t}R_{Ind,t}+\epsilon _{i,t},\) for different industry-peer and skill-similarity groups from 2014 to 2019. The dependent variables are the base firm’s monthly stock returns. The independent variable is the equally weighted contemporaneous average return of LinkedIn labor market peer, closest GICS, SIC, NAICS, and TNIC peer firms. I sort the sample into terciles based on the average skill similarity between the base firm and its labor market peers. Skill similarity \(s_{i,j}\) is defined in Eq. 1 and is measured as the number of skills shared by firm i and firm j divided by the number of total skills of firm i and firm j. High skill similarity implies more shared labor skills between the base firm and its peers. The horizontal line is the skill-similarity group, and the vertical line is the average \(R^{2}\) values. The sample includes S &P 1500 firms with at least two publicly traded LinkedIn labor market peer firms

In sum, the LMP measure increases the explanatory power of existing industry-peer portfolios in explaining cross-sectional accounting-based performance ratios. If GICS, SIC, NAICS, and TNIC peer portfolios together capture common output market shocks, the results in Tables 4 and 5 illustrate that the LMP measure captures important common input-market shocks that are not reflected by existing industry measures.

4.3 Cross-sectional evidence

4.3.1 Return comovements by skill similarity

In this section, I provide cross-sectional evidence to examine whether the LMP measure captures labor market relatedness. If it does capture firms’ labor market similarities, I expect labor market peers to explain more cross-sectional variation in returns when firms share more skills with their peers and are thus exposed to more labor shocks and risks, as illustrated in the stylized model in Appendix A. Additionally, I expect labor market peers to outperform other industry measures when firms are more closely connected with their peers in the labor market.

Specifically, I sort the sample into terciles based on the proportion of shared skills between the base firm and its LinkedIn labor market peers. I use skill similarity (defined in Eq. 1), as a proxy for firms’ labor market shocks and risks. Because the skill similarity is based on LinkedIn data, I examine the performance of only LinkedIn labor market peers and the corresponding GICS, SIC, NAICS, and TNIC peers in this section. The bottom tercile shares an average of 2.5% skills with their LinkedIn peers, the median shares an average of 10.4%, and the top tercile shares an average of 23.2%.

Columns (1) to (3) of Panel A of Table 6 report the results of estimating Eq. 2 every month from 2014 to 2019, using LinkedIn peer portfolios for each skill similarity group. As firms share more skills with their peers, the average \(R^2\) increases from 4.7% for the bottom tercile, to 11.6% for the median tercile, and then to 22.5% for the top tercile. Two-tailed t-tests indicate that these differences are significant at the 1% level.

Next I examine the relative performance of the LMP measure, compared with traditional industry groupings, for each skill similarity group. Product- and labor-market peers may overlap, so they may capture common risks and shocks. But when a firm shares more skills with its peers, it is likely exposed to more labor market shocks and risks, and thus peer measures that capture more common labor market shocks and risks will outperform other industry measures in explaining return variation of the base firm.

In Table 6, for each tercile, I estimate Eq. 2 separately for GICS, SIC, NAICS, and TNIC portfolios formed by the same number of closest industry peers. Panels B to E show the results of the comparison. The average \(R^{2}\) values for each tercile are also presented in Fig. 3. When firms share the least amount of labor skills, the explanatory power of the LMP measure is not significantly different from other industry portfolios. However, as firms share more labor skills, the measure significantly outperforms other industry measures. The sharpest contrast comes from comparing the average \(R^{2}\) for the high skill-similarity group. The LMP measure explains 22.5% of the cross-sectional returns, while GICS, SIC, NAICS, and TNIC explain 18.2%, 15.9%, 16.1%, 17.0% of the cross-sectional returns respectively. The \(R^{2}\) differences between the LMP measure and these alternative industry measures are significant at the 1% level based on two-tailed t-tests.Footnote 19

4.3.2 Salary comovements by skill similarity

One direct test of firms’ labor market similarities is the similarities of employee salaries. Firms that share similar labor markets should provide comparable salaries. If the LMP measure captures firms’ labor market peers, I expect it to explain more of the base firm’s salary when that firm and its labor market peers share more skills. I also expect the measure to outperform other industry measures at explaining employee salaries when the base firm and its labor market peers share more skills. I use median employee salary as a proxy for firm salary. For the year 2014 to 2016, I use Glassdoor salary review data to construct annual median employee salary at the firm level. Since 2017, SEC has required firms to disclose the ratio of the compensation of its chief executive officer (CEO) to the median compensation of its employees. For the years 2017 to 2019, I obtain the pay ratio and CEO compensation data from the Equilar database to compute the median employee salary.Footnote 20

Columns (1) to (3) of Panel A of Table 7 report the results of regressing annual employee median salary on the average median salary of LinkedIn labor market peers every year from 2014 to 2019 for each skill similarity group. The decrease in the number of observations was significant because these tests require all firms to have available median employee salary data. From columns (1) to (3), the average \(R^{2}\) increases from 22.3% to 40.9% and then to 57.9% as firms start sharing more labor skills with their peers. Two-tailed t-tests show that the differences are significant at the 1% level.

Next I compare the performance of the LMP measure with traditional industry groupings for each skill similarity group. Similar to the return comovement tests by skill similarity group, when a firm shares more labor market skills with its peers, I expect peer measures that capture more common labor market shocks and risks to outperform other industry measures at explaining salary variation of the base firm.

Table 7 Salary comovements test based on the LMP measure by skill similarity
Fig. 4
figure 4

Comparison of salary comovement \(R^{2}\) values among the LMP measure and alternative industry groupings by skill similarity. This figure reports the average \(R^{2}\) values from monthly cross-sectional regressions of the form \(Salary_{i,t}=\alpha _{t}+\beta _{t}Salary_{Ind,t}+\epsilon _{i,t},\) for different industry-peer and skill-similarity groups from 2014 to 2019. The dependent variables are the base firm’s annual median employee salary. The independent variable is the equally weighted contemporaneous average salary of LinkedIn labor market peer, closest GICS, SIC, NAICS, and TNIC peer firms. I sort the sample into terciles based on the average skill similarity between the base firm and its labor market peers. Skill similarity \(s_{i,j}\) is defined in Eq. 1, and is measured as the number of skills shared by firm i and firm j divided by the number of total skills of firm i and firm j. High skill similarity implies more shared labor skills between the base firm and its peers. The horizontal line is the skill-similarity group, and the vertical line is the average \(R^{2}\) values. The sample includes S &P 1500 firms with at least two publicly traded LinkedIn labor market peer firms

In Table 7, for each tercile, I estimate the explanatory power separately for GICS, SIC, NAICS, and TNIC portfolios formed by closest peers as the same number of LinkedIn peers. Panels B to D show the results for comparison. Figure 4 presents the average \(R^{2}\) values for each regression and tercile. When firms share the fewest skills, the explanatory power of the LMP measure is not significantly different from other industry portfolios. It significantly outperforms other industry measures for the median skill-similarity group. For the high skill-similarity group, it explains 57.9% of the cross-sectional returns, compared to 44.7%, 40.8%, 45.3%, 47.8% for GICS, SIC, NAICS, and TNIC portfolios respectively. The \(R^{2}\) differences are significant at the 1% level between the LMP measure and GICS, SIC, NAICS peers and at the 5% level for the TNIC peers.

Overall the results show that the LMP measure explains a higher proportion of return and salary comovements when firms are closely connected in the labor market. The measure outperforms traditional measures when firms share more labor skills. These findings allay concerns that labor market peers capture closely related peers that have no connection in the labor market (e.g., an alternative explanation is that labor market peers reflect general interest among LinkedIn and Glassdoor users but have no relationship to a firm’s labor market). Under this alternative explanation, it is unlikely to see a systematic relationship between skill similarity and the performance of the LMP measure.

5 Additional analyses and robustness tests

5.1 Investigating measurement error and selection bias

5.1.1 Measurement error from customer and supplier relationships

As discussed in Section 3.1.3, some users use LinkedIn for lead generation, and thus labor market peers may reflect firms’ customer and supplier relationships. It is unlikely that Glassdoor labor market peers are formed through lead generation because Glassdoor reviews are anonymous and users cannot contact each other. However, for the completeness of the analysis, I will examine the four sets of labor market peers as outlined in previous sections.

According to SFAS No.131, firms must disclose the existence of and sales to customers representing more than 10% of total firm revenues (principal customers). Therefore I classify two firms as having a customer-supplier relationship if one firm is listed as the other firm’s principal customer. Information on customer-supplier relationships is based on the Compustat Segments Customer File (Cen et al. 2018). I exclude these customer or supplier firms from the labor market peer sample and replicate columns (6) and (7) of Table 4. The significance level of two-tailed t-test of the \(R^2\) difference is also reported. Results are presented in Table 8 Panel A and are qualitatively unchanged.

Table 8 Robustness tests: comparison of \(R^{2}\) values

5.1.2 Measurement error from geographic proximity

Labor market peers may be local firms because geographic distance is a natural component in career considerations (Marinescu and Rathelot 2018) and firms tend to cluster to attract talent (Pouder and St. John 1996). I do not consider these firms as measurement error, but using LinkedIn as a communication channel with local friends and viewing their employer with zero career-related interest may cause measurement error. Although it is difficult to tease out this type of noise from local firms, I form a portfolio of geographically close firms (\(R_{geopeer,t}\)) for each base firm to control for local firms and local shocks these firms represent. I then examine the incremental return explanatory power of labor market peers over local peers and traditional industry peers. Specifically, I use location data from Glassdoor to identify the metropolitan statistical areas from which employees submit reviews (Dehaan et al. 2023). A firm is considered a local peer if it shares at least one metropolitan statistical area as a work location with the base firm between 2014 to 2019. Results are presented in Table 8 Panel B and show that labor market peers still have significant incremental explanatory power after controlling for local peer returns.

5.1.3 Selection bias based on firm size

As discussed in Section 3.1.4, the amount of web traffic and informativeness of LinkedIn or Glassdoor web content may affect the composition of labor market peers. These features likely relate to firm size, and I divide the sample into two groups by base firm size to address this issue. Big firms may attract more users on LinkedIn and Glassdoor, providing a stronger signal to construct labor market peers. However, small firms can still attract users because there may be less alternative information available from other sources, making it unclear which type of firms better captures labor market peers. Panels C and D of Table 8 replicate columns (6) and (7) of Table 4 for small and large firms respectively. The result suggests that labor market peers capture labor market relatedness, regardless of a firm’s size. That said, the effect of website content and usage on the LMP measure is an endogeneity threat that I cannot eliminate.

5.1.4 Selection bias by industry

Lastly, some industries are better represented on LinkedIn and Glassdoor than others, and employees in some industries may use these platforms more frequently, leading to selection bias. Although I cannot eliminate this selection bias, I examine whether the results are industry-specific. I classify each base firm in the S &P 1500 sample by its two-digit GICS code and rerun the same specification in Table 4 columns (6) to (7) for each two-digit GICS industry sector (excluding real estate, due to lack of observations). Table 8 Panel I reports the results. Labor market peers significantly increase the explanatory power of stock returns for all two-digit GICS industries, with an increase in \(R^{2}\) ranging from 2.2% for industrial firms to 7.4% for communication services firms.

5.2 Alternative ways of forming benchmarking industry peers

This section examines the robustness of the main results in Table 4 Panels A to D columns (6) to (7) to alternative ways of forming industry peers as benchmarks for LinkedIn, Glassdoor, union, and intersection labor market peers.

5.2.1 Top-N peer firms with the closest size and/or performance

In this section, the robustness of the main results is tested by using two alternative methods to select a base firm’s top-N closest industry (GICS, SIC, or NAICS) peers to form benchmark industry peers. The first alternative approach is to select top-N firms that are closest in performance and in the same industry as the base firm (Kothari et al. 2005). I use beginning-of-year ROA as a proxy for performance. The second alternative approach is to classify top-N peers as firms that are closest in size and performance. Specifically, I choose firms that are in the same industry and size quartile and closest in performance as the base firm. I select the top-N TNIC peers with the highest Hoberg-Phillips score data, as in Section 4.1. Both of these alternative methods are used to replicate Table 4 columns (6) to (7) for the corresponding industry peers, and the results are presented in Table 8 Panels E and F. The \(R^{2}\) values increase for all estimations, and the significance of the \(R^{2}\) differences remains at the 1% level.

5.2.2 Comparison against industry-size peers

In this section, I relax the restriction on the number of firms to form an alternative industry peers. This is done to address concerns that averaging a smaller number of peers may bias the results in favor of or against alternative industry groupings. While averaging a smaller number of firms may perform better if the peers are more relevant, this approach may perform worse at cancelling out the idiosyncratic component in stock returns. This section aims to explore this issue further.

I first apply the approach based on the findings of Albuquerque (2009), who show that industry-size-matched peer groups perform better at capturing peers affected by similar shocks than industry-matched peer groups. To implement this approach, firms are sorted into size quartiles within a two-digit SIC industry and matched with firms in the same industry-size peer group (excluding the firm itself) to compute an equally weighted portfolio return. This method is used to generate size-adjusted industry peers for six-digit GICS industry, two-digit SIC industry, and three-digit NAICS. I then rerun Table 4 columns (6) to (7) for the corresponding size-adjusted industry peers. Table 8 panel G presents the results. The \(R^{2}\) differences remain significant and large.

5.2.3 Comparison against benchmark industry peers formed by all industry firms

In this section, the incremental performance of labor market peers is compared to benchmark peers formed by all firms within an industry at the industry’s most granular level. To do this, the base firm is matched with its eight-digit GICS, four-digit SIC, and six-digit NAICS industry peers and an equally weighted portfolio return is computed. I rerun Table 4 columns (6) to (7) for corresponding peers. The results are presented in Table 8 Panel H, and the \(R^{2}\) differences remain significant and are of similar magnitude to the main results.

5.3 The effects of online labor markets on labor market connections

In this section, I explore an alternative explanation that the “also viewed” feature on LinkedIn and Glassdoor enables job seekers to discover companies previously unknown to them, leading to new labor market connections and return comovements, rather than simply reflecting a company’s existing connections in the labor market.

To test this alternative explanation, I examine the performance of labor market peers prior to the introduction of “also viewed” functions on online labor market platforms. As both Glassdoor and LinkedIn were founded in 2007, “also viewed” functions likely became available online between 2007 and 2013. I analyze labor market peer performance during sample periods between 2004 to 2006, 2007 to 2009, 2010 to 2012, and 2013 to 2015, when the influence of the online labor market on the real labor market was likely limited. Under this alternative explanation, labor market peers should not comove before the introduction of “also viewed” firms feature on LinkedIn and Glassdoor.

Table 9 Robustness tests: different sample periods

The results, shown in Table 9, indicate that labor market peers still demonstrate significant added value over traditional industry classifications in explaining stock returns, suggesting that the introduction of “also viewed” algorithms is not an impetus for the labor market peer performance. However, this does not rule out the possibility that the “also viewed” feature could strengthen labor market connections and enhance comovements. The impact of the “also viewed” function on the real labor market remains an open area of investigation for further research.

5.4 Additional analyses

The online appendix discusses additional analyses and sensitivity tests. First, I find that labor market peers are more likely to be selected as compensation benchmarking peers and help explain CEO compensation. Second, I show that the results are robust to the use of a larger sample without requiring overlap between Glassdoor and LinkedIn labor market peers. Third, I find the results are robust to the use of a pooled regression design.

6 Conclusion

This study offers a new measure of labor market peers (LMP) by analyzing the “also viewed” companies on online labor market platforms such as Glassdoor and LinkedIn. The results suggest that labor market peers reveal important economic relationships that are not captured by traditional industry classifications and can provide valuable insights, particularly when firms are closely connected in the labor market.

I see this study as an initial step in the growing field of using online labor market data for economic and financial analysis. Future research can test the labor market peer construct using different methods, explore differences between online labor market platforms, and investigate how website content and usage impact the composition of labor market peers. Additionally, future research can examine the impact of financial events on labor market peers and the real effects of online labor market platforms on labor market and financial outcomes. Overall there is ample opportunity for further research on firms’ financial performance and their labor market connections through the lens of online labor market platforms.