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
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
just plot your data as a scatter plot dots only, highlight chart, chart, options, add trendline, choose polynomial power 2
 
Upvote 0
just plot your data as a scatter plot dots only, highlight chart, chart, options, add trendline, choose polynomial power 2

Hi, thanks for your reply. I need this data to be as accurate as possible, and a Polynomial Trend Line to order 2 won't cut it, neither will a 6 which is the maximum I can go.

I also am keen to understand how to effectively use the LINEST function.

Many thanks,
Matt
 
Upvote 0
Matt - is your data that accurate - is the normal variation of the data very small? - are there any special causes affecting the data - I thought linest was for straight line plots only ???
 
Upvote 0
Hi, thanks for your reply. I need this data to be as accurate as possible, and a Polynomial Trend Line to order 2 won't cut it, neither will a 6 which is the maximum I can go.

I also am keen to understand how to effectively use the LINEST function.

Many thanks,
Matt

LINEST provides the least squares approximation of any curve you plot. LINEST is not designed to find the inflexion points on second derivatives.
The easiest way to solve your problem is to manually calculate the rate of change between cells (change bookings)/ Change of investements), i.e the derivative. That will give . Now calculate the change of your previous result ls with respect to the change of investment (i.e. the second derivative) that way you can characterize the behavior of the function
 
Upvote 0
I have seen threads on here stating that is can be used to determine the coefficients of quadratic curves? I have no seen reference to the normal variation of this data set, I've just been given some data to manipulate.

In trying to find the point of diminishing returns, but potentially this is not the most efficient way to go about doing it.
 
Upvote 0
if say the data were inaccurate due to a fault in a data measuring device your desired level of accuracy would be pointless.

InvestmentBookingsInvestmentBookings
100031000210.021
200052000430.0215
300073000650.021667
400094000870.02175
50001150001090.0218MAX
60001360001210.020167
70001570001380.019714
80001680001570.019625
90001890001740.019333
my TIP OF THE DAY
in this example
do not invest 9000by plotting bookings divided by investment
you can see the break even point
have 9 investments of 1000is at 5000 investment
giving 27 bookings rather than 18
so just have a line chart plotting the ratio
it will peak once, maybe twice
depending on investment rules and charges

<colgroup><col><col><col span="10"></colgroup><tbody>
</tbody>
 
Upvote 0
Hi, thanks for your reply. Not sure where you have got the data you've shown in the right hand table.

For this data I'm looking to see when an additional £1000 investment starts to reduce in a diminishing returns on marginal bookings.

if say the data were inaccurate due to a fault in a data measuring device your desired level of accuracy would be pointless.

InvestmentBookingsInvestmentBookings
100031000210.021
200052000430.0215
300073000650.021667
400094000870.02175
50001150001090.0218MAX
60001360001210.020167
70001570001380.019714
80001680001570.019625
90001890001740.019333
my TIP OF THE DAY
in this example
do not invest 9000by plotting bookings divided by investment
you can see the break even point
have 9 investments of 1000is at 5000 investment
giving 27 bookings rather than 18
so just have a line chart plotting the ratio
it will peak once, maybe twice
depending on investment rules and charges

<tbody>
</tbody>
 
Upvote 0
I have seen threads on here stating that is can be used to determine the coefficients of quadratic curves? I have no seen reference to the normal variation of this data set, I've just been given some data to manipulate.

In trying to find the point of diminishing returns, but potentially this is not the most efficient way to go about doing it.

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

Forum statistics

Threads
1,214,599
Messages
6,120,447
Members
448,966
Latest member
DannyC96

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