• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Solve for x in linear regression equation

raoulduke

New Member
New to forum.

I have a polynomial regression equation: y=-0.0081x^2 + 0.2281x + 0.5838.

I know "y" and I have thousands of them; I want to take those values and have excel solve for "x".

Please advise! Any help would be greatly appreciated!
 
Last edited:
Hi:

How did you predict Y which is a dependent variable without knowing x independent variable?

Thanks
 
Hi:

How did you predict Y which is a dependent variable without knowing x independent variable?

Thanks

Y is a variable measured every 15 minutes in the field and occasionally we measure X in the field too, but very rarely. In this case Y being depth of water and X being the amount of water.
 
Raoulduke

You have a quadratic equation: y=-0.0081x^2 + 0.2281x + 0.5838

Which is solved by upload_2017-7-15_21-54-29.png

So your formula is rearranged to
-0.0081x^2 + 0.2281x + 0.5838-y = 0

so
a = -0.0081
b = 0.2281
c = 0.5838-y

so the two solutions are

x= [-b+sqrt(b^2-4xaxc)]/2a
&
x= [-b-sqrt(b^2-4xaxc)]/2a

You can set those up in Excel like:
upload_2017-7-15_22-4-28.png

see attached file:
 

Attachments

  • Solve Quadratic.xlsx
    8.8 KB · Views: 6
Back
Top