Exercise

Correlation and plotting

You have been asked to identify whether the amount of time individuals spend searching the given site each day, TimeSearching corresponds to the amount of time they spend on the Internet each day Time, ignoring groups. Assess the linearity and normality assumptions to determine and run the appropriate correlation, and the power analysis, for the data set you've been given.

The webdata dataset and necessary pwr, and ggplot2 packages have been loaded for you.

Instructions

100 XP
  • Create a scatter plot of the variables, plotting the TimeSearching on x and Time on y.
  • Assess the normality assumption of TimeSearching and Time.
  • Run the appropriate correlation using the TimeSearching as x and Time as y of the webdata dataset, storing to Rcor, to determine if the null can be rejected.
  • Run a power analysis on the correlation, calling available values from Rcor to determine if the correlation test is reliable.