Trying to figure out hyphen rules, and they mostly seem easy to follow. However, the main thing throwing me off is whether or not to hyphenate two words preceding a noun when one of the words is a pronoun. Here's exact example I'm trying to resolve:
Markov chain model
Markov-chain model
In other contexts, it's common for people to refer to Markov chains like this sentence does (sans the 'model'). Just noting in case it helps with interpretation.
Google ngram viewer shows the later is much rarer, so just based on common practice that might be the best choice, but excluding that consideration, is the first technically correct?