Você está na página 1de 6

Statistics Help Desk

R Programming Assignment Help

Alex Gerg

Statisticshelpdesk

R Programming Assignment Help Service:

About R Programming: R Programming Assignment Help


covers all homework and course work questions in R
Programming. Our tutors are highly efficient in teaching the
use

and application of

R Programming methods and

concepts on robust online platform. Students can learn to


get the best advantage out of learning R Programming for
solving various managerial problems through various methods. Our online R Programming
Assignment Help is a one stop solution to get last minute help in exams, homework,
quizzes and tests. Our R Programming online tutors are highly experienced statistics tutors
with years of academic teaching experience as well as research. We provide R Programming
tutor help online service in which a student can have a direct interaction with our tutors
online in the form of live chatting and online session. The student can take the advantage of
exam preparation and seek help in his/her quizzes and tests. We provide convenient and
easy services at affordable session rates to students seeking help from online statistics
tutor.
R Programming Assignment Illustrations and Solutions
Question :
The file density.csv contains data from a growth experiment with blue-green algae.
In the experiment, CO2 is bubbled through the culture during 14 consecutive days.
Two replicates were considered for this experiment, each one corresponding to a measurement (in log-scale) of the increased absorbance of light of a solution containing the
algae, which is typically interpreted as a measure of algae density.
Solution :
(a) Construct a scatter-plot (including the regression line) for log-density vs day.
Do the plots suggest a linear relationship between these variables? Explain.

Copyright 2012 Statisticshelpdesk.com, All rights reserved

Statisticshelpdesk
The scatter plot for day and the corresponding log density is constructed using R-code and
that the linear fit line is also super imposed on the same (Figure 1).

Figure 1: Scatter plot of days and log_density with linear fit

From Figure 1, it is seen that the points roughly travel in linear path from the bottom left to
top right corner of the figure, indicating an approximate linear relationship between the two
variables. However, the points deviate from the fitted line in a systematic curvilinear
pattern, suggesting a higher degree polynomial fit to be a better one.

Copyright 2012 Statisticshelpdesk.com, All rights reserved

Statisticshelpdesk

(b) Use the R-function cor(x,y) to obtain the correlation between the variables logdensity and day. Comment on this value.
The cov( ) function in R is used find the linear correlation coefficient between days and
log_density and its value is produced as R output below.

The correlation between days and log_density is found to be 0.97895 that is considerably
close to 1, the upper limit for the correlation coefficient (-1 +1). This indicates that
the variables days and log_density have a high positive association, implying that as the

Copyright 2012 Statisticshelpdesk.com, All rights reserved

Statisticshelpdesk
value of the one increases, the value of the other also increases. This, high value also
supports the view that there is good linear relationship between the two variables.

Copyright 2012 Statisticshelpdesk.com, All rights reserved

Statisticshelpdesk

Contact Us:
Phone: +44-793-744-3379
Mail Us: info@statisticshelpdesk.com
Web: www.statisticshelpdesk.com
Facebook: https://www.facebook.com/Statshelpdesk
Twitter: https://twitter.com/statshelpdesk
Blog: http://statistics-help-homework.blogspot.com/

Copyright 2012 Statisticshelpdesk.com, All rights reserved

Você também pode gostar