# Trend line.

Hi Experts,

Please look at the attached Excel file.

It represents sale success rate (1 = sale and 0 = no sale) plotted against budget allocation over or under spend. How can I plot a trend line to show the correlation of amount spent to sales success. Common sense tells me that there is never a zero or definite chance of success so the answer is going to be non linear. Sales.xlsx
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
If you plot the excell date you are not going to get a trend line. If you put sucess on the y axis you will just get a horizontal line going between 1` and 0.
Just exactly what does the first column represent. To me over or under leads me to expect a + or -.
0
Author Commented:
aburr:

The first column represents the the amount over or under budget spent to get the sale. Each sale is allocated a budget of 20,000 if exactly 20,000 is spent perusing a sale then 0 will appear in the first column. If 18,000 was spent then -2 if 23,000 was spent then +3. If you look at the bottom of this column you will see the negative spend amounts.
0
Commented:
Thanks for additional info on first col.
You still will not get a useful curve if you plot the two columns directly. Try
-
Divide the \$ col into bins, each bin 4 units wide centered on 0, 2, 4, 6, 7, 8, 10 (and the corresponding numbers <0). Count a true as 2 and a false as 1 and get a total for each bin. Plot on x axis the bin center and y axis the total points in bin. A better y axis value would be points/number in the bin.
Show the curve. It might be linear (but probably will not be.) It will show you some information and might support additional statistical analysis.

0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Math / Science

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.