time, dynamics, and uncertainty notes and code only
TRANSCRIPT
![Page 1: Time, Dynamics, and Uncertainty Notes and code only](https://reader036.vdocuments.us/reader036/viewer/2022082417/56649ea95503460f94badd47/html5/thumbnails/1.jpg)
Time, Dynamics, and Uncertainty
Notes and code only
![Page 2: Time, Dynamics, and Uncertainty Notes and code only](https://reader036.vdocuments.us/reader036/viewer/2022082417/56649ea95503460f94badd47/html5/thumbnails/2.jpg)
Examples
• Multiperiod investment problems– Done
• Trading strategies
• Retirement
![Page 3: Time, Dynamics, and Uncertainty Notes and code only](https://reader036.vdocuments.us/reader036/viewer/2022082417/56649ea95503460f94badd47/html5/thumbnails/3.jpg)
Dynamic Strategies
• Adjusting trading positions over time
• Examples– Market timing– Technical trading– Momentum
![Page 4: Time, Dynamics, and Uncertainty Notes and code only](https://reader036.vdocuments.us/reader036/viewer/2022082417/56649ea95503460f94badd47/html5/thumbnails/4.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082417/56649ea95503460f94badd47/html5/thumbnails/5.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082417/56649ea95503460f94badd47/html5/thumbnails/6.jpg)
jyfxbis.dat
• jyfxbis.dat– Date– Matlab date– $/Yen– Yen interest rate– $ interest rate
![Page 7: Time, Dynamics, and Uncertainty Notes and code only](https://reader036.vdocuments.us/reader036/viewer/2022082417/56649ea95503460f94badd47/html5/thumbnails/7.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082417/56649ea95503460f94badd47/html5/thumbnails/8.jpg)
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