Suppose that we have $q_t \in \{-1, 1\}$ where $\mathbb{P}(q_t = -1) = \mathbb{P}(q_t = 1) = \frac{1}{2}$. Further, assume that \begin{align} Cor\left( q_t, q_{t-k} \right) = \begin{cases} \rho & k = 1\\ 0 & k > 1 \end{cases} \end{align} with $0 < \rho < 1$. How would I go about generating random sequences of $q_t$?
What I have so far:
Of course, a portion of the problem simplifies a bit here: \begin{align} E(q_t) &= \frac{1}{2}(-1) + \frac{1}{2}(1) = 0 \\ V(q_t) &= E \left[ \left(q_t - E(q_t) \right)^2 \right] \\ &= E \left( q_t^2 \right) = \frac{1}{2}(-1)^2 + \frac{1}{2}(1)^2 = 1 \\ \Rightarrow Cor(q_t, q_{t-1}) &= \frac{Cov(q_t, q_{t-1})}{ \sqrt{V(q_t) V(q_{t-1})} } \\ &= \frac{Cov(q_t, q_{t-1})}{V(q_t)} \\ &= Cov(q_t, q_{t-1}) \\ &= E \left[ q_t q_{t-1} \right]. \end{align}
I don't know how to proceed from here. I'm looking forward to a resolution -- I'd be using this to simulate a toy model for fun.