# Week 7

Given the yearly sales in yearly_sales .csv file, complete the following: Show all the descriptive statistics of sales_total, including its standard deviation and variance. Correlation of number_of_order to sales_total. Plot the scatter graph of number_of_order to sales_total. Perform linear regression of number_of_order to sales_total. Draw the line of best fit (abline) over your graph. Perform T test as shown below and show your conclusion. Perform ANOVA test as shown below and show your conclusion. T test This is to test for the mean of one group; here we have sale_total. t.test(sales_total, mu = 249) # R command for t test H0: mu = 249 # null hypothesis H1: mu ≠ 249 # alternative hypothesis Rejection level = 0.05 (implies 95% confidence level) Do not Reject H0 if p-value is <= 0.05 Reject H0 if p-value is > 0.05 ANOVA test ANOVA is used to test the equality of mean for two groups; here we have Male and Female. anova(lm(data = myData, sales_total ~ factor(gender))) # R command for ANOVA test. H0: There is significant difference between Male and Female sales_total. H1: There is no significant difference between Male and Female sales_total. Rejection level = 0.05 (implies 95% confidence level) Do not Reject H0 if p-value is <= 0.05 Reject H0 if p-value is > 0.05

**Answers 1**

Purchase the answer to view it

**Bids 59**

- Michelle Malk
- Miss Lynn
- Yourstar
- Urgent Tutor
- quality work for all
- kite_sol
- Emily Blunt
- nyamaimule
- Malik Tutor
- DrNicNgao
- Dr Candice_2547
- university work
- Jenny Boom
- Proff. Kim Neuman
- ENS. writer
- smart-tutor
- brilliant answers
- Rey writer
- wizard kim
- Yhtomit
- computerscience
- Elprofessori
- Prof.MacQueen
- imhmd.f
- Favouritewriter
- work solutions
- Jessica Luis
- kim woods
- Miss Professor
- nadia tutor
- Wendy Lewis
- All Works solver
- Terry Roberts
- perfecto
- Talentedtutor
- prof avril
- ChrisProf
- Sara Waynes
- phyllis young
- WIZARD_KIM
- Ph.D A+ Grade
- Angelina May
- ansRohan
- Michelle Lewis Phd
- Tiny Chris
- fastestwriter1
- Quickly answer
- PROFJUMAAA
- Eva Green
- Dr shamille Clara
- imtrqhasib
- DexterMasters
- Harris Khan
- abdul_rehman_
- cleverman assistant
- AZHARAKRAM300
- Dr. Elahi
- Emily Michael
- SaburB

Wothesis testing.

Given the yearly sales in yearly_sales .csv file, complete the following: Show all the descriptive statistics of sales_total, including its standard deviation and variance. Correlation of …