Both in Computer Hardware

International Business Machines vs HP

Over the past year IBM returned −26.2% and HPQ returned +14.7%; their daily moves had a correlation of 0.31.

IBM −26.2% HPQ +14.7%Growth of $1, one year, split-adjusted
MetricIBMHPQ
Price$224.44$27.96
Market cap$212.12B$25.21B
Today+0.25%+0.50%
1 month−11.0%−17.2%
6 months−11.6%+10.8%
Year to date−24.2%+25.5%
1 year−22.2%+24.4%
Revenue growth (YoY)+4.7%+12.5%
Gross margin56.8%18.8%
Net margin12.8%4.2%
P/E (TTM)19.0×10.3×
Price / sales3.0×0.4×
Net cash-$47.12B-$4.99B
Dividend yield3.01%4.29%
Volatility (60d)29.3%49.9%
Short % of float1.9%8.5%
Next earnings——

Shading marks the stronger figure where one clearly exists (lower is better for valuation and volatility).