Cross-sectional data
Cross-sectional data are measurements taken on many units, such as people, households, firms, cities, or countries, at one point in time.[1] A typical example is a survey that records the wages, education, and work experience of 500 workers in a single year. Medical researchers call such data a "snapshot" of a group.[2]
Cross-sectional data are one of the basic ways data are arranged in statistics and econometrics. They differ from time series data, which follow one unit over many periods. They also differ from panel data, which follow the same many units over time.[3]
Structure of a data set
A cross-sectional data set is a table with one row per unit and one column per variable. Each row is called an observation. Wooldridge's textbook example holds 526 working individuals for the year 1976, with these variables:[3]
| Variable | Meaning |
|---|---|
| wage | Hourly wage in dollars |
| educ | Years of education |
| exper | Years of potential work experience |
| female | 1 if female, 0 if not |
| married | 1 if married, 0 if not |
The order of the rows carries no information. It does not matter which person is labeled observation one and which is observation two. Wooldridge calls this a key feature of cross-sectional data sets obtained from random sampling.[3]
What counts as one point in time
The units need not be measured on exactly the same day. For example, families in one survey may be interviewed in different weeks of the same year, and the result is still treated as cross-sectional data.[1] A pure cross-sectional analysis ignores such minor timing differences.[1]
Different variables can also refer to different periods. In studies of growth across countries, economists have related growth in real GDP per person over a span such as 1960 to 1985 to policy variables measured in 1960.[3] Each country is still one row, so the data set is still a cross section.
Comparison with other data structures
Economic data come in four common structures, which differ in how many units and periods they cover.[3]
| Structure | Units | Periods | Same units each period? | Example |
|---|---|---|---|---|
| Cross section | Many | One | Not applicable | 526 workers in 1976 |
| Time series | One | Many | Not applicable | Yearly minimum wage and unemployment in Puerto Rico |
| Pooled cross section | Many | Several | No, a new random sample each period | Household surveys in 1985 and 1990 |
| Panel data | Many | Several | Yes | The same 150 cities observed in two years |
Row order matters in a time series but not in a random cross section. In a time series, the order in time carries important information, and economic observations can rarely be assumed independent across time.[3]
Random sampling and its limits
The random sampling assumption
Analysts often assume a cross-sectional data set was obtained by random sampling from a larger population.[1] Drawing 500 people at random from the working population, and recording their wages and education, gives a random sample of all working people.[1] This assumption simplifies the analysis.[1]
A random sample of size on two variables is often written as a set of pairs:
Here labels the unit, is the number of units, and and are the values measured on unit . Random sampling with replacement makes the observations independent and identically distributed (i.i.d.).[4] This means each draw is unrelated to the others and comes from the same population.
When random sampling fails
Wooldridge gives two common ways the assumption breaks down.[1]
- Some units refuse to answer. If wealthier families are less likely to report their wealth, a survey of family wealth is no longer a random sample. This is a form of selection bias that Wooldridge calls a sample selection problem.
- The units are large compared with the population, as with states of a country. Business activity in neighboring states is unlikely to be independent, so the observations are not independent draws.
Standard methods still work in the second case, but they sometimes need to be refined.[1]
Uses
Cross-sectional data appear across the social and health sciences.
- Economics. Cross-sectional analysis is closely tied to applied microeconomics, including labor economics, public finance, industrial organization, urban economics, demography, and health economics.[1] Such data are used to test microeconomic hypotheses and evaluate policies.[1]
- Medicine and public health. A cross-sectional study is an observational study that measures exposures and outcomes in each person at the same time.[2] It is mainly used to measure the prevalence of a disease, which is the share of people who have it at a given time.[2]
- Developmental psychology. Researchers compare groups of different ages tested at the same time. This is the best way to study age differences, though not age changes within a person.[5]
The US National Health and Nutrition Examination Survey (NHANES) is a large medical example. It is a series of cross-sectional, nationally representative surveys that combine interviews with health examinations.[6] In earlier annual cycles it screened about 13,000 households to examine 5,000 participants.[6]
Strengths and limits
Strengths
Cross-sectional studies are relatively quick and inexpensive.[2] Other strengths listed in a review of the method in medicine include:[2]
- They are the best way to measure prevalence.
- They can study many exposures and outcomes at once.
- Subjects are neither deliberately exposed nor treated, so ethical problems are rare.
- They help generate hypotheses for later, more detailed studies.
Prevalence, not incidence
A single snapshot shows who has a condition, not when it began. Prevalence counts people who have a disease at a given time, regardless of when it started.[2] Incidence is the number of new cases in a given period, and cross-sectional studies cannot measure it.[2]
Cause and effect
Because exposure and outcome are measured at the same time, it is hard to tell which came first.[2] This makes causal inference difficult from cross-sectional data alone.[2][7]
Some epidemiologists argue this view is too broad. Savitz and Wellenius note that reverse causation, a focus on prevalence, and measuring only current exposures are not unique to cross-sectional studies, and not every such study suffers from them.[8] They argue that each study needs its own assessment rather than dismissal by label.[8]
Age and birth cohort
In a cross-sectional comparison of age groups, age is confounded with birth cohort (year of birth).[5] A study of depression in adults aged 40, 50, and 60 in 2009 compares people born in different decades. Differences between the groups could come from age or from the different times they grew up, a cohort effect.[5]
K. Warner Schaie proposed sequential designs to separate the effects of age, time of testing, and cohort.[5] These designs combine features of cross-sectional and longitudinal designs. In a cross-sectional sequential design, a different group from the same birth cohort is tested at each time, such as different people born in 1965 tested in 2000, 2005, and 2010.[5]
Using cross-sectional results to infer how individuals change over time is risky. Psychiatric researchers showed with simulated data that such inferences are often, and sometimes seriously, misleading.[9]
Bias
Cross-sectional studies often draw a sample from a large, varied population. This makes them open to sampling bias, where some members of the population are more likely to be chosen than others.[2] Other common biases include:[2]
- Nonresponse bias, when people who respond differ in a systematic way from those who do not. It is common in surveys sent by mail.
- Recall bias, when people remember their exposure differently depending on whether they have the outcome.
- Prevalence-incidence bias (Neyman bias), a selection bias in which people with severe or mild disease, or both, are left out of the sample. It is particularly common in cross-sectional studies.
Analysis
Regression
The main tool for cross-sectional data in economics is regression analysis. A simple model links an outcome to one explanatory variable for each unit:[1]
Here is the outcome for unit , is the explanatory variable, and are unknown parameters, and is the error, which holds all other unobserved factors. Fitting such models is covered in cross-sectional regression.
The standard way to estimate and is ordinary least squares (OLS). It picks the estimates that make the sum of squared residuals as small as possible, where a residual is the gap between an observed and its fitted value.[3]
Wooldridge calls the assumptions for cross-sectional regression relatively simple yet realistic.[1] Students can work with them without first handling trends and correlation over time, problems that are common in time series regression.[1]
Unequal error variance
Standard regression assumes the error has the same variance for every unit, a property called homoskedasticity:[10]
Here is a constant that does not depend on . Heteroskedasticity is when this fails, so the spread of unobserved factors changes with the values of .[10] Wooldridge treats it in the part of his textbook on regression with cross-sectional data.[1]
Heteroskedasticity does not bias the OLS estimates, but it makes the usual standard errors, t statistics, and confidence intervals invalid, even in large samples.[10] One fix is heteroskedasticity-robust standard errors, which are valid in large samples whether or not the variance is constant.[10] They are usually credited to White (1980), with earlier work by Eicker (1967) and Huber (1967).[10]
Practice varies on which standard errors to report. In large cross-sectional samples, Wooldridge argues for reporting only the robust ones, while many economists still prefer the usual OLS standard errors unless there is evidence of heteroskedasticity.[10] Many authors report both kinds so readers can see whether conclusions depend on the choice.[10]
With heteroskedasticity, OLS is no longer the best linear unbiased estimator.[10] When the form of heteroskedasticity is known, a better estimator than OLS can be obtained, and Wooldridge covers this under weighted least squares.[10][11]
Survey weights
Large cross-sectional surveys often do not give every unit the same chance of selection. NHANES uses a complex, multistage, clustered design with unequal probabilities of selection.[6] Multistage means units are picked in several rounds, and clustered means they are picked in groups, as in cluster sampling.
Some groups are deliberately oversampled. Between 2011 and March 2020, NHANES oversampled groups such as Hispanic persons, non-Hispanic Black persons, and non-Hispanic Asian persons.[6]
To produce national estimates, each unit's data are scaled up by the reciprocal of its selection probability:[6]
Here is the probability that unit was selected, and is its weight, so units from groups sampled at higher rates count for less. NHANES then further adjusts the weights for nonresponse and to match known population totals.[6]
Prevalence and odds ratios
In epidemiology, cross-sectional data are used to estimate prevalence.[7] They are also used to estimate odds ratios, which measure how strongly an exposure is linked to an outcome.[7]
Repeated cross sections
Taking a fresh cross section at several times gives a pooled cross section. For example, a random sample of US households might be surveyed in 1985, and a new random sample with the same questions in 1990.[3] Since each sample is small relative to the population, the same household would appear in both years only by chance.[3] This is what separates a pooled cross section from panel data.[3]
Pooled cross sections are often used to study a policy change. In Wooldridge's example, house prices are recorded for 250 houses sold in 1993 and 270 sold in 1995, around a property tax cut in 1994.[3] A year variable records which period each row belongs to.[3]
Medicine uses the same idea in the repeated (or serial) cross-sectional study, which takes a different sample of the target population at each time point.[2] Such studies show change in the population as a whole, but not change within individuals as a cohort study or other longitudinal study does.[2]
References
- Introductory Econometrics: A Modern Approach, 4th ed., Chapter 1, Jeffrey M. Wooldridge, South-Western Cengage Learning, 2009.
- Cross-Sectional Studies: Strengths, Weaknesses, and Recommendations, Xiaofeng Wang and Zhenshun Cheng, CHEST, 2020.
- Introductory Econometrics: A Modern Approach, 2nd ed., Chapters 1 and 2, Jeffrey M. Wooldridge, South-Western, 2003.
- The Nature of Econometrics and Economic Data (lecture slides), Caio Vigo, University of Kansas, 2020.
- Cross-Sectional Design, Encyclopedia of Research Design, Neil J. Salkind, SAGE, 2010.
- National Health and Nutrition Examination Survey (NHANES), Healthy People 2030, US Office of Disease Prevention and Health Promotion.
- Methodology Series Module 3: Cross-sectional Studies, Maninder Singh Setia, Indian Journal of Dermatology, 2016.
- Can Cross-Sectional Studies Contribute to Causal Inference? It Depends, David A. Savitz and Gregory A. Wellenius, American Journal of Epidemiology, 2023.
- How Can We Learn About Developmental Processes From Cross-Sectional Studies, or Can We?, Helena Chmura Kraemer, Jerome A. Yesavage, Joy L. Taylor, and David J. Kupfer, American Journal of Psychiatry, 2000.
- Introductory Econometrics: A Modern Approach, 2nd ed., Chapter 8: Heteroskedasticity, Jeffrey M. Wooldridge, South-Western, 2003.
- Introductory Econometrics: A Modern Approach, 4th ed., contents (Section 8.4, Weighted Least Squares Estimation), Jeffrey M. Wooldridge, South-Western Cengage Learning, 2009.
