Part1

For each of the four datasets...

  • Compute the mean and variance of both x and y

第十四周



  • Compute the correlation coefficient between x and y


第十四周


  • Compute the linear regression line: y=β0+β1x+ϵy=β0+β1x+ϵ (hint: use statsmodels and look at the Statsmodels notebook)


第十四周


Part 2

Using Seaborn, visualize all four datasets.

hint: use sns.FacetGrid combined with plt.scatter


第十四周

相关文章:

  • 2021-09-01
  • 2021-10-20
  • 2021-11-13
  • 2021-12-25
  • 2022-01-01
  • 2021-06-16
猜你喜欢
  • 2021-09-10
  • 2021-05-25
  • 2021-06-11
  • 2022-01-05
相关资源
相似解决方案