Skip to content
JA

CauseDecode / Research

How closely did Walmart and Costco daily log returns move?

Stock log returns on Walmart and Costco were compared on trading dates shared by the two retailers. Across 1254 aligned daily observations in 2021–2025, Pearson r=0.555 and Spearman rho=0.581.

Period analyzed in this article 2021-01-04 – 2025-12-31

This page uses data through December 31, 2025 or earlier.

Does this relationship still hold in current data?

Check this relationship with current data 

Series A / B are prefilled. A free account includes up to 10 analyses per month.

A · WMTWalmart Inc. · Daily log return (decimal ratio)
B · COSTCostco Wholesale Corporation · Daily log return (decimal ratio)
Analysis frequency · DailyObservations · 1254

Correlation at the same aligned step

Pearson r

+0.555Linear correlation at the same step

Spearman ρ

+0.581Monotonic association by rank
Pearson r for the final 20%
+0.660 – 251 observations
Last observations in the source series (including dates beyond the article period) A · WMT B · COST

The retailers shared some equity market movement while their business models remain distinct. This same-day pattern describes the period; it does not establish causation or future behavior.

Aligned observations

Scatter plot unavailable. The saved correlations are shown above.

X · Walmart Inc. · Daily log return (decimal ratio)
Y · Costco Wholesale Corporation · Daily log return (decimal ratio)
Each point pairs A and B at the same observation step. When shown, the line summarizes the trend across all points.

Correlation by observation lag (CCF)

If the chart is unavailable, read the stored values in the table. All lag values

Compare using earlier B observations
+0.065Lag -18
Same observation position
+0.555Lag 0
Compare using earlier A observations
+0.068Lag +1

Left and right show the largest absolute correlation on each lag side; coefficients retain their signs.

All lag values
All lag values
LagCCF
-20-0.009
-19-0.006
-18+0.065
-17-0.008
-16-0.007
-15-0.019
-14+0.021
-13+0.054
-12+0.011
-11-0.008
-10+0.055
-9+0.019
-8+0.040
-7+0.013
-6+0.004
-5+0.007
-4+0.001
-3-0.019
-2-0.033
-1+0.061
0+0.555
+1+0.068
+2-0.014
+3+0.029
+4-0.030
+5-0.019
+6-0.010
+7-0.046
+8+0.021
+9-0.015
+10+0.014
+11-0.067
+12+0.041
+13+0.004
+14-0.021
+15+0.031
+16-0.056
+17+0.020
+18+0.043
+19-0.003
+20-0.021

Lag measures the shift in aligned observation steps used for comparison.

Data sources

A · WMT — Walmart Inc.
B · COST — Costco Wholesale Corporation
Data provided by Twelve Data

2026-11-20T09:20:00Z

Back to Research