Project #27088 - R project

Requirements:

 

1.   1. MUST be delivered by set due date and time. Due date and time: Wednesday, April 9th, 2014 at 10:30am MST (12:30 EST). If delivered after, I will dispute it and you will not be paid so PLEASE deliver on time if you accept the project.  

       2. Must answer all questions with required answers.

3.        3.   Make a doc or a docx file for your code and result

4.      4. You can only use R for questions 1,2,  and 4. Question 3 requires BOTH R and SAS.

 

 Thank you

 

 

1.  Suppose the data is to be empirically proven and 15 people of varying ages are tested for their maximum heart rate. The following data is found:

Age

18

23

25

35

65

54

34

56

72

19

23

42

18

39

37

Max Rate

202

186

187

180

156

169

174

172

153

153

199

174

198

183

178

 

      a.  Make a function to get a regression model  without using lm() function.

      b. Verifying your function using lm() function.

      c.  Make R code for drawing scatter plot with a regression line without using abline() function.

 

2.  One company tries to choose their best design of product, and they have product design A, B, and C.

They took a product test using their 9 stores with different 3 locations (L1, L2, and L3). They took a test 3 times per store.

 

Design A

Design B

Design C

L1

23, 20, 21

22, 19, 20

19, 18, 21

L2

22, 20, 19

20, 21, 22

20, 19, 22

L3

18, 18, 16

21, 23, 20

20, 22, 24

 

      a. Write down your hypothesis, and Make a function for ANOVA table using matrix notation and  “for” loop to find      

          yij..bar, yi..bar, y.j.bar, and sum of square for Location, Design, and Location:Design.  

      b. To confirm your result using anova() function.    

 

 3. Make two Normal Distribution Table using SAS and R.

 

 4.  Make R code for to generate the followed data.

      a. Variable Names :  var1a1  var2a2  var3a3  ...  var100a100

                                 var1a1~N(1,1) 

                                 var2a2~N(2,1)

                                          .

                                          .

                                          .

                                var100a100~N(100,1)

 

      b. Each variable has 100 data points.

      c. Data name is your name.

Subject Mathematics
Due By (Pacific Time) 04/09/2014 10:30 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy