Question
Please note, I have no way to submitt the files, please provide code that would work with the csv on my computer, thank you! Q
Please note, I have no way to submitt the files, please provide code that would work with the csv on my computer, thank you!
Q 1
The file Members.csv Download Members.csvkeeps track of a health club's data. It includes important dates regarding members, e.g. when the members toured the club ( before joining), and when they stopped their membership - denoted by visitDate and endDate.
We want to see if the amount of time between visit date and end date (in months) is significantly different between men and women. (Hint: Use a t-test to check whether this time length (term) is statistically different between men and women. Also, you will need to filter where status is "inactive").
Q2
For the ORNG.csv Download ORNG.csvdaily adjusted closing prices:
a) Read these data into a DataFrame and augment the data with the daily returns of adjusted closing price. b) Plot a histogram of the daily returns. c) Calculate the skewness and kurtosis of the ORNG daily returns. d) Determine using a statistical test if the daily returns follow a normal distribution (with 95% confidence). e) Based on the standard deviation of the daily returns, identify those dates and returns that were smaller than -3 standard deviations or larger than +3 standard deviations.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started