开始使用免费开始使用

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!

本练习是课程的一部分

Google Sheets 统计学入门

查看课程

练习说明

  • 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.

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习