Question: (a) Write a program to test the hypothesis that stock prices are up just as likely as down from one trading day to the next.
(a) Write a program to test the hypothesis that stock prices are up just as likely as down from one trading day to the next. Test that hypothesis on a database of stock prices of your choice.
(b) Test the hypothesis that if prices are down 2 days in a row, then they are up the third day.
Step by Step Solution
3.39 Rating (152 Votes )
There are 3 Steps involved in it
import pandas as pd Sample stock price data replace with your actual data data Date 20230101 2023010... View full answer
Get step-by-step solutions from verified subject matter experts
