Upcoming SlideShare
×

# Random Walks, Efficient Markets & Stock Prices

3,290 views

Published on

The famous financial theory of Efficient Markets is associated with the idea of a Random Walk. If the theory holds true, that makes prices unpredictable, and therefore it'd be impossible to consistently beat the market.

The seminar discusses the mathematical idea of a random walk, then moves on to understand what makes a market efficient.

Finally, we conduct a Monte Carlo Simulation on Wolfram Mathematica, to forecast the behaviour of Google's stock price one year from now.

Published in: Economy & Finance
1 Like
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

Views
Total views
3,290
On SlideShare
0
From Embeds
0
Number of Embeds
23
Actions
Shares
0
174
0
Likes
1
Embeds 0
No embeds

No notes for slide

### Random Walks, Efficient Markets & Stock Prices

1. 1. Random Walks,Efficient Markets &Stock PricesLuigi Cenatti GianniNEO Empresarial
2. 2. Why is it so hard to BEAT THE MARKET?
3. 3. What should be the STRATEGY of a SMALL INVESTOR?
4. 4. How to forecastthe RISK and RETURN of an asset?
7. 7. What makes a process random? 1. Sequence of random variables 2. independent from each other 3. and determined by a distributionf(t) outcome time
8. 8. Heads or tails? Flip a coin 10 times If heads, +1 If tails, -1
9. 9. Heads or tails? Is this a random process?F(t) t -2
10. 10. Heads or tails? What’s the expected outcome?F(t) t -2
11. 11. Heads or tails? What’s the expected outcome? We have a feeling that, if we play it many times, in most of them we will end up with 0
12. 12. Heads or tails? What’s the expected outcome? We have a feeling that, if we play it many times, in most of them we will end up with 0 And we’re right
13. 13. Heads or tails? But what if the distribution looks like this?
14. 14. Heads or tails? But what if the distribution looks like this? What is the expected outcome?
15. 15. Heads or tails? If we know the distribution, we can simulate the process
16. 16. Heads or tails? If we know the distribution, we can simulate the process
17. 17. Heads or tails? If we know the distribution, we can simulate the process
18. 18. Heads or tails? This is commonly referred to as a Monte Carlo Simulation
20. 20. Efficient Markets Prices reflect all relevant information
21. 21. Efficient Markets Prices reflect all relevant information If information is immediately reflected on stock prices, tomorrow’s price change will reflect only tomorrow’s news
22. 22. Efficient Markets Prices reflect all relevant information If information is immediately reflected on stock prices, tomorrow’s price change will reflect only tomorrow’s news Tomorrow’s price change is independent of the price changes today
23. 23. Efficient Markets The Efficient Market hypothesis is associated with the idea of a “random walk”
24. 24. Efficient Markets The Efficient Market hypothesis is associated with the idea of a “random walk” Therefore, it’s impossible to consistently beat the market
25. 25. Efficient Markets Private investment funds can’t beat the market Source: Varga, G., Índice de Sharpe e outros indicadores de performance aplicados a fundos de ações brasileiros
26. 26. Efficient Markets Private investment funds can’t beat the market Source: Varga, G., Índice de Sharpe e outros indicadores de performance aplicados a fundos de ações brasileiros
27. 27. Efficient Markets According to Bloomberg: BOVA11 beat 60% of active funds and 100% of passive funds, prior to 2009
28. 28. Efficient Markets According to Bloomberg: BOVA11 beat 60% of active funds and 100% of passive funds, prior to 2009 With lower volatility (risk) than 78% of active funds and 100% of passive
29. 29. Non-Efficient Markets? Behavioral Finances: imperfections in financial markets due to overconfidence, overreaction, and other biases
30. 30. Non-Efficient Markets? Behavioral Finances: imperfections in financial markets due to overconfidence, overreaction, and other biases Economic Bubbles
31. 31. Non-Efficient Markets? Behavioral Finances: imperfections in financial markets due to overconfidence, overreaction, and other biases Economic Bubbles Markets are efficient for small investors
33. 33. Problem Today is January 1st, 2011. We want to figure out the price of GOOG in one year \$ 593.97
34. 34. Assumptions 1. Markets are efficient, so daily returns are random variables, independent from each other 2. Daily returns follow a determined probability distribution
35. 35. Framework 1. Fit a distribution to past returns
36. 36. Framework 1. Fit a distribution to past returns 2. Simulate n random walks
37. 37. Framework 1. Fit a distribution to past returns 2. Simulate n random walks 3. Price of stock will be mean of outcomes
38. 38. Fitting data to a distribution𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔= 𝐅𝐢𝐧𝐚𝐧𝐜𝐢𝐚𝐥𝐃𝐚𝐭𝐚["𝐆𝐎𝐎𝐆", "𝐑𝐞𝐭𝐮𝐫𝐧", 𝟐𝟎𝟎𝟔, 𝟏, 𝟏 , 𝟐𝟎𝟏𝟏, 𝟏, 𝟏 , "𝐕𝐚𝐥𝐮𝐞" ;{0.0229993, 0.0134759, 0.0319564, 0.00266289, 0.00612551,0.00398076, -0.0169624, 0.00565106, 0.0018445, -0.0475263,-0.0190151, -0.084752, 0.0701948, 0.0363275, -0.0226396, ...
39. 39. Fitting data to a distribution𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔= 𝐅𝐢𝐧𝐚𝐧𝐜𝐢𝐚𝐥𝐃𝐚𝐭𝐚["𝐆𝐎𝐎𝐆", "𝐑𝐞𝐭𝐮𝐫𝐧", 𝟐𝟎𝟎𝟔, 𝟏, 𝟏 , 𝟐𝟎𝟏𝟏, 𝟏, 𝟏 , "𝐕𝐚𝐥𝐮𝐞" ;{0.0229993, 0.0134759, 0.0319564, 0.00266289, 0.00612551,0.00398076, -0.0169624, 0.00565106, 0.0018445, -0.0475263,-0.0190151, -0.084752, 0.0701948, 0.0363275, -0.0226396, ...𝐆𝐎𝐎𝐆𝐃𝐢𝐬𝐭= 𝐄𝐬𝐭𝐢𝐦𝐚𝐭𝐞𝐝𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔, 𝐍𝐨𝐫𝐦𝐚𝐥𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝝁, 𝝈NormalDistribution[0.0005029, 0.0227045
40. 40. Fitting data to a distribution Is the normal distribution a good fit?
41. 41. Fitting data to a distribution Is the normal distribution a good fit? 𝓗 = DistributionFitTest[GOOGRet2006, GOOGDist, "HypothesisTestData"]
42. 42. Fitting data to a distribution Problem of “fat tails”
43. 43. Fitting data to a distribution The stable distribution allows us to solve this problem, because of two additional parameters (alpha & beta)
44. 44. Fitting data to a distribution 𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭 = 𝐄𝐬𝐭𝐢𝐦𝐚𝐭𝐞𝐝𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔, 𝐒𝐭𝐚𝐛𝐥𝐞𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝟏, 𝛂, 𝛃, 𝛍, 𝛔 StableDistribution[1, 1.5313, −0.0097, 0.0004, 0.0110
45. 45. Fitting data to a distribution 𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭 = 𝐄𝐬𝐭𝐢𝐦𝐚𝐭𝐞𝐝𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝐆𝐎𝐎𝐆𝐑𝐞𝐭𝟐𝟎𝟎𝟔, 𝐒𝐭𝐚𝐛𝐥𝐞𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧[𝟏, 𝛂, 𝛃, 𝛍, 𝛔 StableDistribution[1, 1.5313, −0.0097, 0.0004, 0.0110 𝓗 = DistributionFitTest[GOOGRet2006, GOOGStbDist, "HypothesisTestData"]
46. 46. Fitting data to a distribution The stable distribution is a better fit.
47. 47. Simulating future prices 𝐬𝐢𝐦𝐑𝐞𝐭𝐬 = 𝐑𝐚𝐧𝐝𝐨𝐦𝐕𝐚𝐫𝐢𝐚𝐭𝐞[𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭, 𝟐𝟓𝟎 ; 𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞 = 𝐆𝐎𝐎𝐆𝐏𝐫𝐢𝐜𝐞𝟐𝟎𝟎𝟔⟦−𝟏 ;
48. 48. Simulating future prices 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 1 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 𝑟 𝑡1 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 2 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 (𝑟 𝑡1 +𝑟 𝑡2)
49. 49. Simulating future prices 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 1 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 𝑟 𝑡1 𝑃𝑟𝑖𝑐𝑒 𝑎𝑡 𝑑𝑎𝑦 2 = 𝑙𝑎𝑠𝑡𝑃𝑟𝑖𝑐𝑒 ∗ 𝑒 (𝑟 𝑡1 +𝑟 𝑡2) 𝐋𝐢𝐬𝐭𝐋𝐢𝐧𝐞𝐏𝐥𝐨𝐭[𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞 ∗ 𝐄𝐱𝐩[𝐀𝐜𝐜𝐮𝐦𝐮𝐥𝐚𝐭𝐞[𝐬𝐢𝐦𝐑𝐞𝐭𝐬
50. 50. Simulating future prices 𝐦𝐞𝐚𝐧𝐆𝐎𝐎𝐆𝐏𝐫𝐢𝐜𝐞 = 𝐌𝐞𝐚𝐧[ 𝐌𝐞𝐚𝐧[ 𝐏𝐫𝐞𝐩𝐞𝐧𝐝[ 𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞 ∗ 𝐄𝐱𝐩[𝐀𝐜𝐜𝐮𝐦𝐮𝐥𝐚𝐭𝐞[𝐑𝐚𝐧𝐝𝐨𝐦𝐕𝐚𝐫𝐢𝐚𝐭𝐞[𝐆𝐎𝐎𝐆𝐒𝐭𝐛𝐃𝐢𝐬𝐭, 𝟐𝟓𝟎, 𝟓𝟎 , 𝐂𝐨𝐧𝐬𝐭𝐚𝐧𝐭𝐀𝐫𝐫𝐚𝐲[𝐥𝐚𝐬𝐭𝐏𝐫𝐢𝐜𝐞, 𝟓𝟎 ] ] ]
51. 51. Simulating future prices The price of GOOG will be the mean of the means of each random walk
52. 52. How close were we? GOOG traded at \$ 645.90 on December 30, 2011
53. 53. An idea of risk & return www.wolframalpha.com
54. 54. An idea of risk & return
55. 55. An idea of risk & return GOOG traded at \$ 727.44 on September 20, 2012
56. 56. An idea of risk & return GOOG traded at \$ 727.44 on September 20, 2012 In one year, there’s a 95% chance its price is going to be between \$ 454.11 and \$ 1294.98
57. 57. An idea of risk & return Would you buy it today?
58. 58. Why is it so hard to BEAT THE MARKET?
59. 59. What should be the STRATEGY of a SMALL INVESTOR?
60. 60. How to forecastthe RISK and RETURN of an asset?
62. 62. References Random Walks and Finance:http://sas.uwaterloo.ca/~dlmcleis/s906/chapt1-6.pdfhttp://www.norstad.org/finance/ranwalk.pdf Random Walks and Efficient Markets:http://www.duke.edu/~rnau/411georw.htmhttp://www.amazon.com/Random-Walk-Down-Wall-Street/dp/0393325350 Wolfram Mathematica:http://reference.wolfram.com/mathematica/howto/PerformAMonteCarloSimulation.html
63. 63. References Online classes on Finance:https://www.coursera.org/course/compfinancehttps://www.coursera.org/course/introfinance Others:http://www.scientificamerican.com/article.cfm?id=can-math-beat-financial-marketshttp://www.scientificamerican.com/article.cfm?id=after-the-crashhttp://www.scientificamerican.com/article.cfm?id=trends-in-economics-a-calculus-of-risk