Question

In: Statistics and Probability

Mary Higgins is a freelance writer with enough spare time on her hands to play the...

Mary Higgins is a freelance writer with enough spare time on her hands to play the stock market fairly seriously. Each morning she observes the change in stock price of a particular stock and decides whether to buy or sell, and if so, how many shares to buy or sell. Assume that on day 1, she has $100,000 cash to invest and that she spends part of this to buy her first 500 shares of the stock at the current price of $50 per share. From that point on, she follows a fairly simple “buy low, sell high” strategy. Specifically, if the price has increased three days in a row, she sells 25% of her shares of the stock. If the price has increased two days in a row (but not three), she sells 10% of her shares. In the other direction, if the price has decreased three days in a row, she buys up to 25% more shares, whereas if the price has decreased only two days in a row, she buys up to 10% more shares. The reason for the “up to” proviso is that she cannot buy more than she has cash to pay for. Assume a fairly simple model of stock price changes, as described in the file P16_51.xlsx. Each day the price can change by as much as $2 in either direction, and the probabilities depend on the previous price change: decrease, increase, or no change. Build a simulation model of this strategy for a period of 75 trading days. (You can assume that the stock price on each of the previous two days was $49.) Choose interesting @RISK output cells, and then run @RISK for at least 1000 iterations and report your findings. - please how to use R to resolve? Thanks.

Solutions

Expert Solution


Related Solutions

Mary Livermore was a titan during her time. Though her efforts as both a suffragette and...
Mary Livermore was a titan during her time. Though her efforts as both a suffragette and an abolitionist were profoundly impactful, she is not, perhaps, as identifiable amongst the American public as are others who fought for those same values. How critical do you believe studying and learning about lesser known yet extremely impactful historical figures like Livermore is in the modern era?
Doris, an art historian, spends much of her spare time browsing in old shops, hoping to...
Doris, an art historian, spends much of her spare time browsing in old shops, hoping to find a valuable piece of art at a ridiculously low price. At last her perseverance has paid off. She just bought a painting worth at least $50,000 for $7.50. The shop owner obviously had no idea of its value. Was it morally acceptable for Doris to take advantage of his ignorance? Why or why not?
Michael and Mary are great friends. They like to play games with numbers. This time, Michael...
Michael and Mary are great friends. They like to play games with numbers. This time, Michael has given Mary a list of numbers and given him the task of determining if it is possible to choose a subset of them such that they sum is equal to another given number. Build an algorithm using dynamic programming to help Mary with his problem. INPUT The first line corresponds to N, the amount of numbers given by Michael The next N lines...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT