Using the LINEST Function to find equation of my curve

PolynomialQs

New Member
Joined
Jul 28, 2016
Messages
7
Hi,

I'm trying to find the point of diminishing returns on some econometric data we have received that shows money invested to bookings made.

To do this I have been trying to find the equation of my curve in excel. I've seen a few other posts about using the LINEST function to do this, but after following the instructions, I've had no luck. Each time excel has a problem with the values I use or says I'm not doing something else correctly.

Partial Data Set:

InvestmentBookings
10003
20005
30007
40009
500011
600013
700015
800016
900018

<tbody>
</tbody>

This data goes on for 250 lines (£250,000 investment).

Can anyone shed some light on what I might be doing wrong with the LINEST function? I just want to find the formula of the curve produced by plotting this data on the x and y axis, differentiate twice, solve = to 0 and find the x and y coordinates of the PODMR (point of diminishing marginal returns)

Many thanks in advance,
Matt
 
Hi, thanks for your reply.

I think you're right. I was just trying to use excel as this is the medium in which the data was presented.

I have looked at the rate of change, but I still can't see where one would achevie diminish returns based on another £1,000 investment. I think the answer is probably staring me in the face but I can't work it out.

Can you advise based on that sample data?


LINEST is an approximation using least squares, not an exact match. Given that you first said that you want to find the exact point, this would be a poor way of doing it

If you want to use Linest with a quadratic formula you need to follow these steps

You are trying to create a curve Y=a+bX+cX^2
1) Hence you will need to have three columns, Y, X (which you already have) and create X^2

2) After that you need to go to the Data tab and click on the Data analysis box (you have to enable the Data Analysis ToolPak ) and click on regression. Choose the right Y for X select the two columns that contain X. This will give you the coefficients of the curve along with a bunch of stats

That being said, I think that you don't have an Excel question but a methodological question. Why do this when you can manually calculate a derivative and a second derivative? A derivatice is just the rate of change, which you can easily calculate
Hope this helps
 
Upvote 0

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Sure:

I added the derivatve and second derivative in there
InvestmentBookingsDerivative = Change Investment/Change BookingsSecon derivative =Change Derivative/Change of bookings
10003----
20005500--
300075000
400095000
5000115000
6000135000
7000155000
8000161000500
900018500-250

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>


If you plot your data set, there is a linear growth on Investment to bookings in the selected area except for 8000 where it grew at a higher pace. Therefore, there are no maximum or minimum in this section. It grew linearly for the most part. If we look at the second derivative in between 8000 and 9000 it changes from positive to negative. This implies that there is a little inflexion point in that area, which makes sense given the tiny bump in 8000. None of this points have diminishing returns
 
Upvote 0
Hi, that's really helpful thank you.

I can apply that method to the remainder of the data.

I have now done so, but got this slightly strange looking curve from plotting the second derivative against investment:

vZMqT


What do you make of that?

Sure:

I added the derivatve and second derivative in there
InvestmentBookingsDerivative = Change Investment/Change BookingsSecon derivative =Change Derivative/Change of bookings
10003----
20005500--
300075000
400095000
5000115000
6000135000
7000155000
8000161000500
900018500-250

<tbody>
</tbody>


If you plot your data set, there is a linear growth on Investment to bookings in the selected area except for 8000 where it grew at a higher pace. Therefore, there are no maximum or minimum in this section. It grew linearly for the most part. If we look at the second derivative in between 8000 and 9000 it changes from positive to negative. This implies that there is a little inflexion point in that area, which makes sense given the tiny bump in 8000. None of this points have diminishing returns
 
Upvote 0

Forum statistics

Threads
1,215,336
Messages
6,124,330
Members
449,155
Latest member
ravioli44

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top