Question

here is the assignments instructions || Need pdf of the .ipynb file Need a zip folder that has the .ipynb file and the CSV file Task 1. As mentioned above,

you will select a random sample of 100 individuals from the company's data set. You will then conduct analyses on this random sample. Look at the code below. To select a random sample from the data, you should replace Name with your own name in the code. After you have done so run the code. The code will generate a CSV file with a random sample of 100 participants. It will also be labeled with your name. REMEMBER: you need to add this CSV file to a zip file along with your .ipynb. file when submitting your assignment. Task 2. Now that you have your data set you are ready to start analyzing it! The first step is to explore your dataset. Look at the variables that make up the data set. Once you've done so, imagine you are writing a report for the fitness company that hired you. Start with a brief introduction to the research question you are exploring, then the dataset you are analyzing (e.g., what is the sample you are analyzing? What are the variables?) Assume that your audience is the company's leadership. They will be with what you are reporting. Task 3. Run the code to randomly select 4 variables from your dataset. It will then print the names of the four variables that were randomly selected. REMEMBER: Check the full name of each of your variables, you can find it here. Your task is to do the following: You should create a histogram and generate descriptive statistics for each of the four variables that were randomly selected above. You can use the code below to help you do so. For each variable you need to describe the following: shape,** center**, spread**, and the presence of any outliers. ** Task 4. Now that you have described and plotted data, let's explore if the data differ for male and female participants. Generate grouped box plots for each of the 4 variables in Task 3. Your boxplot should compare the distributions for males and females in your dataset. Afterwards, you should describe what you observe in each case. Make sure you mention the five-number summaries for both genders. Task 5 Part A Select TWO variables from Task 3. Treat these as an independent variable. Now create a scatterplot for each variable. In each case, the plot should visualize the relationship between the variable and weight (dependent variable). Describe each scatterplot in terms of the form,** strength**, and direction of the relationship between the variables. Part B Examine if the relationship explored in each scatterplot varies by gender. Hint: You will need to create scatterplots separately for each gender to answer this question. Task 6. PART A Finally, for each of the variables you focused on in Task 5: Fit a simple linear regression model that predicts a participant's Weight based on the variable you selected. Make sure you generate, interpret, and use the residual plot, the standard error, and the R^2 to assess the fit of each linear model. If the model is a good fit, interpret the slope and the y-intercept. PART B If you found that the relationship between weight and the variable you selected differed for males and females in Task 5 (Part B) then: Run the regression model for each gender separately and interpret your findings accordingly. this is my work so far: https://colab.research.google.com/drive/101BTPfZVX7RA80Z8e6rJWTvz9TswE72T?usp=s haring and Student's note for task 3 i only have to define the Shape, center, spread, and IQR task four, explanation of the code with the five-number summary task five A, defining the form, strength and direction with a small explanation of how did you find that out for both variables task five B and task 6 both A & B i am totally lost