The Sets and Attributes
In this model, there is a single primitive set, WEEK, which corresponds to the 27 weeks of price data. We define two attributes on this set―P and LOGP. P stores the raw price data on NSM, while LOGP stores the logarithm of the prices.