The advertising expenditure(X) and sales (Y) in thousands of dollars for a small retail business in its first eight years in operation are shown in the table.
Advertising Expenditure(X)
Sales(Y)
2.0
18.5
2.2
20.5
2.5
22
2.7
24
Given the above data set, write a sample code in R or Python to perform the following tasks:
(i) Read and display the data
(i) Calculate Mean, Median and Mode
(ii) Calculate standard deviation, Variance and correlation
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here