Use this function to find the mean of age. In your Solution document give the mean. Also provide the Python code you use
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Use this function to find the mean of age. In your Solution document give the mean. Also provide the Python code you use
Solutions which use Python to round the result will not gain credit. Also provide the Python code you used for calling the corr_coef() function and explain how you executed it. ii. Give the level of correlation, following Table 5.4 (Page 290) in Block 2 Part 5. iii. Briefly discuss whether any effect you have found is likely to be causal. Give one argument for it being causal and one against. The maximum word limit for Question 5.b(iii) is 100 words.
Use this function to find the mean of age. In your Solution document give the mean. Also provide the Python code you used for calling the mean() function and explain how you executed it. (4 marks) b. The Python file q5.py imports the function corr_coef () which you used in Section 5.4 of Block 2 Part 5 to calculate the correlation coefficient between two lists. i. Use this function to calculate the correlation coefficient between age and risk. In your Solution document, provide the resulting figure rounded manually to two decimal places.