BaşlayınÜcretsiz Başlayın

Linearity

Visualizing the linear model aids in having a full understanding of the results as well as presenting them to others.

A company has collected the data of their website's users and is interested in whether the amount of time spent searching for items on the website, TimeSearching, impacts the amount of money spent purchasing items, AmountSpent. Run a correlation, create the linear regression model, predict the amount that will be spent given 27 minutes of time searching on the site, and create a scatter plot indicating the relevant information.

The SiteSales dataset and ggplot2 package have been loaded for you.

Bu egzersiz

A/B Testing in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Run a Pearson correlation
cor.test(___, data = ___, method = ___)
Kodu Düzenle ve Çalıştır