I am trying to calculate the coefficients of an AR model, when given the autocorrelations of the model.I am using the equation from 2.5 here:
http://www-stat.wharton.upenn.edu/~stee ... ortunately, my solution does not work. Is there a bug in my code, or are the yule walker equations unable to model this sort of system?Is there a prewritten matlab function that can give me the coefficients of an AR model, when given the autocorrelations as a parameter?My code is here: