PairBook
HomeDGICB › DGICB vs UNF

DGICB vs UNF: Correlation

How closely do Donegal Group, Inc. (DGICB) and Unifirst Corporation (UNF) trade together? Their weekly returns over three years give a correlation of -0.22, which is negative.

Data as of 2026-08-27 · refreshed every trading day · weekly returns · methodology

Correlation (3Y)
-0.22
negative
Correlation (1Y)
-0.45
last 12 months
Correlation (5Y)
-0.12
long-run
Ann. covariance
-304.2
%² · weekly, annualized

How correlated are DGICB and UNF?

Over the past 3 years, DGICB and UNF moved with a correlation of -0.22, which is negative, meaning they tend to move in opposite directions. Lately the two have drifted apart, with the 1-year correlation at -0.45 versus -0.22 over 3 years. Over 5 years the correlation is -0.12, and the annualized covariance of weekly returns is -304.2 %².

Out of 19 assets tracked against DGICB, UNF lands near the bottom at #15. The trailing year gives DGICB the advantage: +68.3% versus +62.3%, a 6.0-point spread.

How is this computed?

Pearson correlation on weekly returns: ρ(A,B) = cov(rA, rB) / (σA · σB), over windows of 52, 156 and 260 weeks. Covariance is annualized (×52) and expressed in %². Full definitions on the methodology page.

DGICB vs UNF: side by side

DGICB (Donegal Group, Inc.)UNF (Unifirst Corporation)
1-year return+68.3%+62.3%
5-year return+82.3%+28.9%
Volatility (ann.)41.5%33.8%
Beta vs S&P 5000.150.52
Max drawdown (3Y)-30.3%-34.6%
Market cap$0.9B$5.2B
P/E (trailing)12.145.4
Dividend yield3.00%0.50%
Sector / categoryUS ListedUS Listed
Lower P/E: DGICB 12.1 vs 45.4Higher yield: DGICB 3.00% vs 0.50%Smaller drawdown: DGICB -30.3% vs -34.6%Higher 5y return: DGICB +82.3% vs +28.9%
-15%0%+72%2025-09-052026-08-27
Twelve months of weekly closes, each series rebased to 100. DGICB · UNF

Year-by-year returns

YearDGICBUNF
2022+25.8%-7.6%
2023-6.8%-4.6%
2024+1.6%-5.7%
2025+30.8%+13.6%
2026+34.6%+48.5%

Calendar-year price returns; the current year is year-to-date as of the data date above.

Are DGICB and UNF good diversifiers for each other?

By historical standards, yes. A correlation of -0.22 means the two rarely move for the same reasons.

FAQ

What is the correlation between DGICB and UNF?

As of 2026-08-27, the correlation of weekly returns between DGICB and UNF is -0.22 over 3 years, -0.45 over 1 year and -0.12 over 5 years.

Is UNF a good diversifier for DGICB?

By historical standards, yes. A correlation of -0.22 means the two rarely move for the same reasons.

What does a correlation of -0.22 mean?

On the −1 to +1 scale, -0.22 describes how much the two returns move together: +1 is lockstep, 0 is independence, negative values mean opposite directions. It says nothing about which performed better.

Use this data

JSON API · no key required
$ curl https://www.pairbook.io/api/v1/pairs/dgicb-vs-unf.json

DGICB vs UNF: 3-year weekly correlation -0.22DGICB vs UNF-0.22

Markdown for the live badge, attribution link included:

[![DGICB vs UNF correlation](https://www.pairbook.io/api/v1/badge/dgicb-vs-unf.svg)](https://www.pairbook.io/pair/dgicb-vs-unf/)

The core API is free. Terms and every endpoint in the API documentation.

Related comparisons

Hubs: DGICB correlations · UNF correlations