CorrlensCorrlens
Correlate

Correlation Analysis

Microsoft Corp vs HP Inc.

MSFT vs HPQ

-0.221

Light inverse

When one moves up, the other tends to move down.

MSFT logo

Microsoft Corp

MSFT

Microsoft develops and licenses consumer and enterprise software. It is known for its Windows operating systems and Office productivity suite. The company is organized into three equally sized broad segments: productivity and business processes (legacy Microsoft Office, cloud-based Office 365, Exchange, SharePoint, Skype, LinkedIn, Dynamics), intelligence cloud (infrastructure- and platform-as-a-service offerings Azure, Windows Server OS, SQL Server), and more personal computing (Windows Client, Xbox, Bing search, display advertising, and Surface laptops, tablets, and desktops).

Market cap 2.8T

HPQ logo

HP Inc.

HPQ

HP (formerly Hewlett-Packard) is a behemoth in the PC and printing markets. It has focused on these markets since it exited IT infrastructure in 2015 with the split from Hewlett Packard Enterprise. HP focuses on the commercial market, but maintains sales of consumer devices and printers. The firm has a broad and global customer base, with only one third of sales coming from the US. HP completely outsources manufacturing and relies heavily on channel partners for its sales and marketing.

Market cap 17.3B · 55,000 employees

Apr 9, 2021 — Apr 7, 2026Daily1,254 data pointsStockStockTechnology

Time Series

Relative Performance

Green: MSFTGray: HPQ36 of 1,254 points (sampled)

Who Moves First

HPQ leads MSFT by 6 days

HPQ tends to move before MSFT.

After testing 13 timing shifts, the strongest relationship was -0.232 (they moved in opposite directions).

Do They Crash Together?

Correlation by Market Regime

How these series behave when markets are rising, falling, or diverging. A correlation that holds in drawdowns is very different from one that only works in rallies.

Both Rising

+0.139

12 periods · Return correlation when both series rose

Both Falling

+0.272

11 periods · Return correlation when both series fell

Diverging

-0.496

12 periods · Return correlation when series moved apart

R-Squared

4.9%

Share of variance in one series explained by the other.

Trend Agreement

62.9%

How often both series moved in the same direction period-to-period.

Overlap Quality

1,254

Deep shared window — 1,254 usable pairs.

Significance

p < 0.001

95% CI: [-0.273, -0.168]

Scatter

XY Regression

208.6250300350400450500549.317.112025303538.88Microsoft CorpHP Inc.Data pointsFit (r = -0.221)

Pipeline

Data quality details

Pipeline Summary

1,254 paired data points survived the daily window.

Raw input

1,254

1,254

Normalized

1,254

1,254

Prepared

1,254

1,254

Aligned

1,254

1,254

Invalid removed

0

A: 0 / B: 0

Duplicates removed

0

A: 0 / B: 0

Alignment drops

0

A: 0 / B: 0

Series A

MSFT logo

Microsoft Corp

MSFT

Market cap 2.8T

Stock · 1,254 raw → 1,254 prepared

Series B

HPQ logo

HP Inc.

HPQ

Market cap 17.3B · 55,000 employees

Stock · 1,254 raw → 1,254 prepared

Sign agreement

100.0%

How often both values share the same sign.

Zero crossings

1

Estimated crossover points between normalized spreads.

Slope

-0.0122

Linear regression slope.

Intercept

34.5257

Linear regression intercept.

Related Extremes

Highest and Lowest Correlated

Saved 5 hours ago · ID: stock-msft-vs-stock-hpq-daily-20260408-2l5f8z