Bắt đầu ngayBắt đầu miễn phí

Multiple relationships!

Using the LINEST() function, you explored how one variable related to another. This is a univariate linear regression with a y-intercept and one coefficient. The single coefficient along with the y-intercept demonstrates how the dependent-y variable changes with one unit measure change in the single independent-x variable.

Since you are concerned with many dimensions of a profile and the users' overall site activity, you need multiple linear regression, in which there are many X variable coefficients impacting Y.

This equation calculates the estimated outcome of your multiple linear regression, where you're interested in how the hours since last login is affected by age, income, and hours volunteered.

Hours since last login = (age_coeff * age) + (income_coeff * income) + (volunteer_coeff * volunteerHrs) + y-intercept

Your job is to calculate the coefficients for age, income, and hours volunteered, and then use the above formula to calculate the estimate. Go for it!

Bài tập này là một phần của khóa học

Nhập môn Thống kê với Google Sheets

Xem khóa học

Hướng dẫn bài tập

  • In G2, calculate the coefficients using LINEST(). First pass in the Y variables range B2:B201, and then include the X-variable array C2:E201.
  • Following the multiple linear regression equation, calculate the first observation's estimate in cell K2. Compare it with the actual value in B2.

Bài tập tương tác thực hành

Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi

Bắt đầu bài tập