| 
October 27th, 2009, 12:18 AM
| | Newbie | | Join Date: Oct 2009 Location: Sydney, Australia
Posts: 3
Country: Thanks: 0
Thanked 0 Times in 0 Posts
| | Relationship between mean reversion constant and period of oscillating series Hi,
I am creating a series by:
1) Multiplying the previous value in the series by a negative constant. For example 100.857 * -0.1 = -10.086, where 100.857 is the previous value and -0.1 is the constant.
2) Calculating the difference between the last value in the series and the value before that. For example, 100.857 - 92.948 = 7.909
3) Summing the last value in the series with the results from steps 1) and 2) to arrive at the next value in the series. For example, 100.857 -10.086 + 7.909 = 98.680.
Repeating this process produces an oscillating series that I think is a sine wave. There is a relationship between the constant and the period of the resulting series. For example, if the constant is -0.1 then the period is approximately 19 iterations. My problem is that I would like to know the formula that relates the constant to the period.
I have attached a spreadsheet that has sample values.
Sincere Thanks,
James | 
October 27th, 2009, 01:24 AM
|  | Grand Panjandrum | | Join Date: Nov 2005 Location: South of England
Posts: 11,379
Country: Thanks: 667
Thanked 3,619 Times in 2,916 Posts
| | Quote:
Originally Posted by jalsck Hi,
I am creating a series by:
1) Multiplying the previous value in the series by a negative constant. For example 100.857 * -0.1 = -10.086, where 100.857 is the previous value and -0.1 is the constant.
2) Calculating the difference between the last value in the series and the value before that. For example, 100.857 - 92.948 = 7.909
3) Summing the last value in the series with the results from steps 1) and 2) to arrive at the next value in the series. For example, 100.857 -10.086 + 7.909 = 98.680.
Repeating this process produces an oscillating series that I think is a sine wave. There is a relationship between the constant and the period of the resulting series. For example, if the constant is -0.1 then the period is approximately 19 iterations. My problem is that I would like to know the formula that relates the constant to the period.
I have attached a spreadsheet that has sample values.
Sincere Thanks,
James | Write out the recurence and post that here.
CB
__________________ Truth does not change because it is, or is not, believed by a majority of the people.
Giordano Bruno | 
October 27th, 2009, 02:31 AM
| | Newbie | | Join Date: Oct 2009 Location: Sydney, Australia
Posts: 3
Country: Thanks: 0
Thanked 0 Times in 0 Posts
| | The recurrence relation is:
Y(i) = Y(i-1) - k * Y(i-1) + Y(i-1) - Y(i-2)
simplified:
Y(i) = (2 - k) * Y(i - 1) - Y(i - 2)
where -k is the constant (eg. -0.10)
The (i), (i - 1) and (i - 2) should be in subscript, but I'm not sure how to do that.
Thanks,
James | 
October 27th, 2009, 04:21 PM
| | Newbie | | Join Date: Oct 2009 Location: Sydney, Australia
Posts: 3
Country: Thanks: 0
Thanked 0 Times in 0 Posts
| | I have found what appears to be very close to the answer via simple harmonic motion:
Period = (2 * Pi) / (k^0.5)
James
Last edited by jalsck; October 27th, 2009 at 04:32 PM.
| | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -7. The time now is 02:08 PM. | | |
 | |  |