Question: Fitting with a line or quadratic using Python 3 using this data (year, percent of people using Facebook in America in High School): (2005, 12)

Fitting with a line or quadratic using Python 3 using this data

(year, percent of people using Facebook in America in High School): (2005, 12) (2006, 41) (2007, no data) (2008, 63) (2009, 72) (2011, 80) (2012, 83) (2013, 88) (2014, 84) (2015, 90)

1. Find the line of best fit through the data using linear least squares. (Note that there is no data from 2007.) Give the coefficients of the line and a graph depicting the best fit line + data points.

2. Use linear least squares to find the quadratic function of best fit through the data. (Note that there is no data from 2007.) Give the coefficients of the line and a graph of the data points and quadratic of best fit

3. Which method is better? Why?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!