1. The data in TradeData 2020.csv contains the time in seconds of trades that occurred. Give codes...
Question:
1. The data in TradeData 2020.csv contains the time in seconds of trades that occurred. Give codes for a Python program that calculates: Access the link for the data below:
a.) The average inter-trade time.
b.) The probability that the next trade will occur in less than one second.
c.) The probability that the next trade will occur between 3 and 4 seconds.
d.) The number of trades expected to occur in the next minute.
e.) The probability that between 35 and 40 trades, inclusive, will occur in the next minute.
2. The data in TradeData 2020.csv contains the sizes of trades that occurred. Give codes for a Python program that calculates:
a.) The average trade size.
b.) The probability that the next trade be a size of 1.
c.) The probability that the next trade will be between 5 and 10, inclusive.
3. Your team estimates that the cost to build a house will be between $100,000 and $300,000, but most likely to be $150,000.Give codes fora Python program that calculates the probability the house will cost between $150,000 to 200,000.
The link for the TradeDATA 2020:
Trade Data 2020 (1).xlsx
Business Statistics A Decision Making Approach
ISBN: 9780133021844
9th Edition
Authors: David F. Groebner, Patrick W. Shannon, Phillip C. Fry