00:01
Now, in this problem, we're asked to, we're given some data for, you know, price and demand for, what are the energy bars.
00:10
So we're told that at a dollar apiece, we sell about $450 at a buck 25 apiece.
00:17
We sell $375 and a buck 50, we sell $330.
00:22
And they want us to use a linear regression to find a leaf squares.
00:31
Regression line for this so a linear fit and then estimate the demand when the price is a dollar 40 and what the demand what what price were created demand of 500 now what we see here is that we plot these things we just have three data points so there's really not more much more than a if we actually put fit a quadratic function through here it would actually by necessity go through every data point it would be a perfect fit but that doesn't necessarily mean you know it's accurate in between data points or if we extrapolate out here or out here.
01:05
And so interestingly, this one says, we're actually asked to extrapolate here because it's asked what price were we sell 500, which is actually out above this here.
01:16
So we're actually extrapolating this line.
01:19
And extrapolating data is really never, not really ever a good idea unless you're very certain that it's, you know, the trend is going to continue.
01:30
Now, so what i did, i'm going to look at a go watch problem 24 for the details of how i did this using numbers here on an ipad.
01:44
I was put in the data, and then i used the linear estimate function here and the index function to extract the data from that returns.
01:59
Out of here...