time, dynamics, and uncertainty notes and code only

8
Time, Dynamics, and Uncertainty Notes and code only

Upload: virginia-sanders

Post on 13-Jan-2016

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Time, Dynamics, and Uncertainty Notes and code only

Time, Dynamics, and Uncertainty

Notes and code only

Page 2: Time, Dynamics, and Uncertainty Notes and code only

Examples

• Multiperiod investment problems– Done

• Trading strategies

• Retirement

Page 3: Time, Dynamics, and Uncertainty Notes and code only

Dynamic Strategies

• Adjusting trading positions over time

• Examples– Market timing– Technical trading– Momentum

Page 4: Time, Dynamics, and Uncertainty Notes and code only

Trend Following Strategies

• Buy (long) when P(t)>MA(t)– MA(t) = moving average of past P’s

• Sell (short) otherwise

• Methods for testing– Statistical – Bootstrap

Page 5: Time, Dynamics, and Uncertainty Notes and code only

Simple Bootstrap Tests

• Random walk null hypothesis

• Moving average rule

• Single rule– No snooping correction

• trule1.m

• New data: (next slide)

Page 6: Time, Dynamics, and Uncertainty Notes and code only

jyfxbis.dat

• jyfxbis.dat– Date– Matlab date– $/Yen– Yen interest rate– $ interest rate

Page 7: Time, Dynamics, and Uncertainty Notes and code only

Wild Bootstrap

• Problem with random walk bootstrap– Volatility

• Allow persistent volatility, but destroy predictable components

• trule2.m

Page 8: Time, Dynamics, and Uncertainty Notes and code only

Data Snooping Adjustments

• Researcher has reported best result for many strategies

• Search over many strategies on the random walk and record distribution of “best” strategy

• Compare to actual “best”

• trule3.m