By measuring more in-depth variables during games beyond the standard ones (SOG, G, A, P). Team/player possession statistics (corsi, fenwick, PDO), shot attempts, shots/shot attempts for/against, etc. It's still a pretty new concept as far as the NHL goes but it's gained considerable traction the last few years as several teams have adopted analytics to improve their rosters. It's far from perfect but can paint a clearer picture in determining a team's or player's strengths/weaknesses.
http://grantland.com/the-triangle/the-nhl-dives-into-the-advanced-stats-pool/
http://grantland.com/the-triangle/the-nhls-analytics-awakening/
https://thehockeywriters.com/future-of-hockey-analytics/
Think Moneyball... Only call it Moneypuck.