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

Multiple linear regression

A particular benefit to A/B design is the grouping variable, allowing it to further assess resulting data.

A company is interested in whether the group of ad design, Old or New, in addition to the amount of time spent searching for items on their website, TimeSearching, impacts the amount of money spent, AmountSpent. Create a linear regression model to assess these variables on the amount of money spent on the website.

The SiteSales dataset has been loaded for you.

Bu egzersiz, kursun bir parçasıdır

A/B Testing in R

Kursa Göz Atın

Egzersiz talimatları

  • Create a linear model called grpmodel including the grouping variable Ad with TimeSearching impacting AmountSpent.

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Create a linear model including group
grpmodel <- lm(___ ~ ___ + ___, data = SiteSales)
summary(___)
Kodu Düzenle ve Çalıştır