How to fit non-linear equations in excel using solver

Поділитися
Вставка
  • Опубліковано 20 лис 2018
  • Tutorial of how to fit non-linear curves in excel using solver. This tool lets you fit custom equations to your data. For example in this example we fit data to a modified version of the Avrami equation.
    Thanks to Ozkar and Finke for their data and if you want to learn how to grab data from papers using WebPlotDigitizer, check out my video tutorial.
    • Tutorial of WebPlotDig...

КОМЕНТАРІ • 322

  • @matthulvey8615
    @matthulvey8615 2 роки тому +39

    Very helpful. One thing to note. The real reason we square the residuals is to ensure that that we are not minimizing the sum with positives and negatives. Being on either side of the fit is an error, but if left unchecked a residual of 0.1 and -0.1 would equate to zero when in fact they should be agnostic to which side the error occurred and sum to 0.2 . To fix that we square the values and everything is positive, thus finding the "least squares" gives us the best fit. I don't know if that is what you were implying in the video, but I did not hear that called out.

    • @TaylorSparks
      @TaylorSparks  2 роки тому +3

      You are absolutely correct. Thanks for pointing that out.

  • @ProcrastinatingPoet
    @ProcrastinatingPoet 3 роки тому +1

    Thank you for the clear introduction! Like another commenter I am trying to fit dose response curves which all have starts of 0, and it goes very odd, but you've got me further in a few minutes than I expected and opened my eyes to what's possible in excel (I don't get coding, despite trying to learn).

  • @chadmace3355
    @chadmace3355 4 роки тому +8

    all these years I've always used Matlab or Python... Often find myself in Excel... this will work well. Thank you!

  • @rainbowdust919
    @rainbowdust919 3 роки тому

    Thank you! I just started a statistics class and I did not understand the residual until I saw it happen, visually, on your graph.

  • @IrishJade84
    @IrishJade84 Рік тому +6

    I have watched so many videos on how to do this and this is the first one that actually made sense and where I actually understood what components went where. Amazing! Thank you so much!

  • @charlierettner5286
    @charlierettner5286 3 роки тому +1

    Great job leading us through this so smoothly. I suspect that most people coming here are like me and know what they want Excel to do but had no idea it could do it. It took me about 60 seconds to learn how to use solver from your video, as opposed to never on my own. Thanks!

  • @N8Kracken
    @N8Kracken 4 роки тому +1

    Absolutely awesome video. Clear and to the point. Great work mate.

  • @mjmeternal2696
    @mjmeternal2696 9 місяців тому +1

    You made it very easy. In order to fit a model, bring any equation and very the parameters then go to Solver to minimise the sum of the squared Residuals (SSR) and this gives the best values for parameters.

  • @feynstein1004
    @feynstein1004 11 місяців тому +4

    I'm here from July 2023 and I'd like to say that this is EXACTLY how neural networks are trained. I watched Andrej Karpathy's full coding of ChatGPT and this is exactly what he did there. We have a certain expected output from the network. But the real output is different. We measure the difference i.e. residual i.e. error and work on minimizing that. That's literally all there is to it. The code is just there to make this process easier and find each parameter for billions of neurons.

    • @TaylorSparks
      @TaylorSparks  11 місяців тому +3

      Yeah, a lot of people think machine learning and AI are more sophisticated than they really are. If you are interested in materials informatics I have a whole playlist from a course that I teach here at the University of Utah. Check it out

    • @feynstein1004
      @feynstein1004 11 місяців тому +1

      @@TaylorSparks Wow, didn't expect you to reply so quickly. Or at all 😂 Thanks for the video. It really helped me out. I'll check out your other stuff too when I get the chance 😃

  • @sergiopipaonalcibar7885
    @sergiopipaonalcibar7885 3 роки тому +1

    Great video. There is a lot of people out there doing super complex explanations for this, but this one is perfect. Thanks a lot.

  • @leilanemdili3724
    @leilanemdili3724 4 роки тому +1

    This is the best video that explained the regression fitting. Thank you!

  • @ruslanakbar2730
    @ruslanakbar2730 3 роки тому +1

    Hey, Taylor! Just wanted to thank for your all work, from material science to statistics!!!

    • @TaylorSparks
      @TaylorSparks  3 роки тому

      Thank you so much! Do me a favor and check out our podcast Materialism. You can find it on any platform and we would love to get an iTunes review if you've got a second. ;)

  • @meganmcgee8187
    @meganmcgee8187 4 роки тому +42

    This is amazingly helpful! I watched numerous videos trying to do logistic regression fitting and this is the only one that helped me!

  • @albertlee7433
    @albertlee7433 5 років тому +2

    Wow.... you teach me what i really want. Thanks a lot!!!

  • @melkamualebachew2845
    @melkamualebachew2845 3 роки тому

    Thanks. I am using this for my thesis regression analysis!!!

  • @karankotian04
    @karankotian04 2 роки тому +1

    Thank you so much. It helped me a lot. Your explanations are simple and very efficient.

  • @andrewniven4350
    @andrewniven4350 3 роки тому

    Excellent video - I now use the solver option a great deal in my work. Thank you.

  • @potatofries571
    @potatofries571 2 роки тому +1

    bruh this explanation goes hard it was so clear and concise, I've tried to read how to use solver from other sources but they were always convoluted and not too useful. this video in contrast was good and efficient thank you!

  • @michealcairns4971
    @michealcairns4971 4 роки тому +12

    As a researcher myself investigating heterogeneous behavior, this short tutorial was extremely helpful. Brilliant explanation, Subscribed!

    • @TaylorSparks
      @TaylorSparks  4 роки тому

      Thank you!! Let me know what else would be helpful!

    • @michealcairns4971
      @michealcairns4971 4 роки тому

      @@TaylorSparks Is there any other way of further optimising the solvers fit within excel?

    • @TaylorSparks
      @TaylorSparks  4 роки тому

      @@michealcairns4971 I'm sure there is. I'm not an expert in using Excel's solver though.

  • @emihlengqeme6823
    @emihlengqeme6823 4 роки тому +2

    Wow thank you so much...i now have a clear understanding of this work

  • @eqwan
    @eqwan Рік тому +1

    Awesome video! Helping me with my studies. Thanks a lot!

  • @timr3621
    @timr3621 2 роки тому +1

    You explained it in 6 minutes better than my docent in 2 90min sessions, thank you so much!!

  • @prasannareddy095
    @prasannareddy095 3 роки тому

    i LOVE THE VIDEO, I ASKED MANY PEOPLE ABOUT IT, BUT NONE COULD EXPLAIN ME BETTER. Thank you

  • @yusif97abdin
    @yusif97abdin Рік тому +1

    Short, direct and extremely helpful

  • @georgehellas8184
    @georgehellas8184 3 роки тому +3

    Thanks, you literally saved me trying to interpolate a sine wave to data that looked like a sine wave. Again thanks!!!!!

  • @francoistardif3091
    @francoistardif3091 2 роки тому +1

    Absolutely excellent, enjoyable, clear and precise. Well done sir!

    • @TaylorSparks
      @TaylorSparks  2 роки тому +1

      Thank you so much. I'm super glad to help

  • @souravnahihoonmain
    @souravnahihoonmain 4 роки тому +1

    Really helpful video I used this in conjunction with Gompertz forecasting equation and found the optimal constants for forecasting shipment nos

  • @liatzavodivker8087
    @liatzavodivker8087 5 років тому +2

    THANKS! Your explanation was super clear!

  • @aditibahuguna7723
    @aditibahuguna7723 3 роки тому +1

    Thank you so much, great explanation.

  • @CivilEngineeringStuff
    @CivilEngineeringStuff Рік тому +1

    Thank you. Great Explanation. Very helpful

  • @addisonaverill1196
    @addisonaverill1196 3 роки тому

    This was so helpful! Thank you!

  • @chadakarnsirasitthichoke9359
    @chadakarnsirasitthichoke9359 3 роки тому +1

    Thank you. This is very useful!

  • @rexkurosaki9368
    @rexkurosaki9368 4 роки тому +1

    Mr. Sparks thank you very much!! You did me a big favor!!!!!!!!

    • @TaylorSparks
      @TaylorSparks  4 роки тому

      oh oh awesome, I'm always glad to help. Do me a favor and subscribe like and share. I'm trying to grow this channel so that more people can find it.

  • @bowenqin8013
    @bowenqin8013 3 роки тому +1

    a good solution to find the equations for solving "the area of hysteresis" problem. Thank you so much

  • @esraelsamuel1473
    @esraelsamuel1473 3 роки тому +2

    Thank You, Taylor. I was trying to fit using MATLAB. However, your video is awesome

    • @TaylorSparks
      @TaylorSparks  3 роки тому

      Super glad to help. Thanks for tuning in.

  • @rozhinmkian6325
    @rozhinmkian6325 3 роки тому +1

    Now this is magic! Thanks alot, very helpful!

    • @TaylorSparks
      @TaylorSparks  3 роки тому

      Glad to help! Please like subscribe and share!

  • @rogelv8td
    @rogelv8td 7 місяців тому +1

    Thanks, very useful and quick video.

  • @Prixi33
    @Prixi33 3 роки тому +1

    This video helped me so much thank you man

  • @kurry4209
    @kurry4209 Рік тому +1

    Dude, helped me out so much, thought I had to redo all of my measurements for a uni project. Very well done!

    • @TaylorSparks
      @TaylorSparks  Рік тому +1

      My pleasure! Give the video a like, sub and share and it will help me keep making content like this

    • @kazanrao
      @kazanrao 9 місяців тому

      ua-cam.com/video/-rW0q11JMag/v-deo.html

  • @taniyakekunawelapathiranag4888
    @taniyakekunawelapathiranag4888 3 роки тому

    This is very helpful! Thank you so much...

  • @bwiredenis898
    @bwiredenis898 2 роки тому +1

    Thanks a lot, very helpful. I got it

  • @theblueshade_
    @theblueshade_ 2 роки тому +1

    Helped me a lot, thanks

  • @nipunweerakoon_97
    @nipunweerakoon_97 Рік тому +1

    This is really helpful.Thank you so much.😃😃

  • @ozandemir8822
    @ozandemir8822 2 роки тому +1

    This is one of the most beautiful video on youtube. God! It's so good.. Thank you!

  • @doreenpequiro6303
    @doreenpequiro6303 3 роки тому

    Thank you so much!! Really helpful!!

  • @davidreyes5076
    @davidreyes5076 4 роки тому +1

    Thanks! simple, and very useful!

    • @TaylorSparks
      @TaylorSparks  4 роки тому +1

      Thanks! Like share and sub so I can grow the channel!

  • @kiendagaetanvianneyramde27
    @kiendagaetanvianneyramde27 4 роки тому +5

    You’re amazing boyyyy!!! You just solved one of my chemical engineering project .Thanks

  • @govhull9933
    @govhull9933 4 роки тому +1

    Great explanation! Clear and straight to the point. However, the main problem with fitting curve is to find the potential fitting equation to work on :)

    • @TaylorSparks
      @TaylorSparks  4 роки тому +1

      Ya. There's no substitute to some basic mathematics. They really are helpful when getting an equation of the right form.

  • @larryblackwell700
    @larryblackwell700 4 роки тому +1

    That was a fantastic video. Great presentation. Thank you

    • @TaylorSparks
      @TaylorSparks  4 роки тому

      So glad that it was helpful! Let me know if I can help with another topic. I also appreciate if you can like and subscribe to help me grow my channel.

  • @user-dt8hk4zi3e
    @user-dt8hk4zi3e 7 місяців тому +1

    very helpful, thank you sir!

  • @christiankeza
    @christiankeza 3 роки тому +1

    thank you so much, Sparks. now I can defend my thesis!

    • @TaylorSparks
      @TaylorSparks  3 роки тому

      wow! I'm so glad to help! Good luck on your defense.

  • @michaelze6832
    @michaelze6832 2 роки тому +1

    Thank you, that was really helpful.

  • @hoseinpahlavan9295
    @hoseinpahlavan9295 3 роки тому +1

    Thanks Taylor .
    That's very helpful:)

  • @George-rq1yp
    @George-rq1yp 3 місяці тому

    wow very helpful demo, thank you!

  • @bobrivera6667
    @bobrivera6667 2 роки тому +1

    It was very helpful, thank you

  • @Asmelash2023
    @Asmelash2023 3 роки тому +1

    Helpful, thank you so much

  • @user-pl3rc2zx8z
    @user-pl3rc2zx8z 4 роки тому

    THANKS! Your explanation is awesome! It is helpful!

  • @AliAlderete
    @AliAlderete 4 роки тому +1

    This is so useful, thanks a lot!

  • @Yomohayaru
    @Yomohayaru 2 роки тому +1

    this make me more understand about sigmoid value. Thank you!!!

  • @Remenry
    @Remenry 2 роки тому +1

    This helped me A LOT! Thank you!

  • @wangwang6245
    @wangwang6245 3 роки тому +1

    very helpful!! thanks!!

  • @SasaCecaSole
    @SasaCecaSole 3 роки тому

    Big THANK YOU!!!

  • @dr.ajaysujan2258
    @dr.ajaysujan2258 2 роки тому +2

    Explain everything in very easy manner... Nice job

  • @israelsoto9538
    @israelsoto9538 4 роки тому

    So much THANK YOU!

  • @user-cl5sn1gg6i
    @user-cl5sn1gg6i Рік тому +1

    Excellent!

  • @bhukyarajkumar8676
    @bhukyarajkumar8676 3 роки тому +1

    Thank you sir
    Nice explanation

  • @hassanelbari8636
    @hassanelbari8636 4 роки тому +1

    Thank you Taylor for sharing this very important video

    • @TaylorSparks
      @TaylorSparks  4 роки тому

      Glad to help! Sub to see more content.

  • @chandrakanthmalyala1942
    @chandrakanthmalyala1942 2 роки тому

    Thank you. That helps

  • @W_B_855
    @W_B_855 4 роки тому

    Great video!!!! Congrats

  • @halilyilmaz3586
    @halilyilmaz3586 2 роки тому +1

    Well explained. Thank you.

  • @alexhands8229
    @alexhands8229 2 роки тому +1

    Amazing video, love your work, saved my chemistry degree xxxx

    • @TaylorSparks
      @TaylorSparks  2 роки тому +1

      Woohoo!! This feedback makes me so happy. You might like our materials science podcast "Materialism." Drop us a review if you can.

  • @TheMarkaizer
    @TheMarkaizer 4 роки тому +1

    Thanks a lot!!!

  • @FunWithBits
    @FunWithBits 2 роки тому +1

    well explained , Thank you

  • @coltonsowsun3681
    @coltonsowsun3681 2 роки тому +2

    Thank you for mentioning that the Solver needs to have a initial best fit that is somewhat close to the existing data! I tried this method after watching another video, the author failed to mention this and I was very frustrated after spending over an hour going thorough my excel sheet looking for problems that were not there.

  • @sanadaltarawneh3550
    @sanadaltarawneh3550 Місяць тому +1

    You are a legend.

  • @saidfigueredo
    @saidfigueredo 3 роки тому +1

    My english listening is very very bad, but it was no a problem for I reproduce your procedure, excellent, thank you so much bro

  • @souvikbanerjee6994
    @souvikbanerjee6994 3 роки тому

    Thank You!

  • @donxevir
    @donxevir Рік тому +1

    Thank you. Saving a students life rn.

    • @kazanrao
      @kazanrao 9 місяців тому

      ua-cam.com/video/-rW0q11JMag/v-deo.html

  • @oakmeal53
    @oakmeal53 4 роки тому

    Sir, you are awesome!

  • @Doctor_Drew
    @Doctor_Drew 4 роки тому +8

    Yes! Thank you! I will be using this for my research as well as for my own educational purposes of modeling covid-19 confirmed cases

    • @TaylorSparks
      @TaylorSparks  4 роки тому

      That's wonderful!

    • @tecnocato
      @tecnocato 4 роки тому

      Got here for the same reason. Thank you, Taylor!

    • @jannieschluter9670
      @jannieschluter9670 4 роки тому

      Reported covid19 cases are forged...

    • @tecnocato
      @tecnocato 4 роки тому

      Jannie Schlüter Wear an aluminum foil hat. Problem solved.

    • @jannieschluter9670
      @jannieschluter9670 4 роки тому

      @@tecnocato you already wearing it. Nothing gets through your thick melon. 🙉

  • @shalinivijayekumar3515
    @shalinivijayekumar3515 3 роки тому +2

    lifesaver!

  • @mjmeternal2696
    @mjmeternal2696 9 місяців тому

    I benefitted. Thank you

    • @kazanrao
      @kazanrao 9 місяців тому

      ua-cam.com/video/-rW0q11JMag/v-deo.html

  • @PetualangWawasan
    @PetualangWawasan 11 місяців тому

    Very helpfull tutorial, thanks!

    • @kazanrao
      @kazanrao 9 місяців тому

      ua-cam.com/video/-rW0q11JMag/v-deo.html

  • @KostasGiotis
    @KostasGiotis Рік тому

    amazing, thanks!

  • @chandrakanthmalyala1942
    @chandrakanthmalyala1942 2 роки тому +1

    I never knew about plot digitizer before watching your video and going through the description

  • @KamalSingh-dn7gv
    @KamalSingh-dn7gv 2 роки тому +1

    I have one word. Beautiful video. Thanks

  • @collegemathematics6698
    @collegemathematics6698 4 роки тому +3

    Greatest curve fitting vedio.. Thank you. 🌹 🌹

  • @mohammadjannesary5442
    @mohammadjannesary5442 3 роки тому +1

    thank you so much

  • @mustafagokalp1818
    @mustafagokalp1818 3 роки тому

    Great. Thank you.

  • @atiliaathira11
    @atiliaathira11 4 роки тому +1

    Love the way you explained. Very clear. Thank you so much,

  • @cenrrique175
    @cenrrique175 3 роки тому

    Gracias hermano! me ayudaste!

  • @adityamanimishra5053
    @adityamanimishra5053 4 роки тому +1

    Its great video. Very short and only informative. Thanks

    • @TaylorSparks
      @TaylorSparks  4 роки тому +1

      Glad to help!!

    • @adityamanimishra5053
      @adityamanimishra5053 4 роки тому

      @@TaylorSparks I am looking for parameter estimation for a system of ODE direclty without finding its solution. I would be grateful if you suggest anything to me.

  • @apnaphysics_
    @apnaphysics_ Рік тому +1

    very helpful,keep uploading this type of content

  • @gabrielmariz9610
    @gabrielmariz9610 Рік тому

    Wonderfull video!!! Very precise and usefull information. I want to try doing this using Origin or R, but I need a video like this.

    • @kazanrao
      @kazanrao 9 місяців тому

      ua-cam.com/video/-rW0q11JMag/v-deo.html

  • @alaad1009
    @alaad1009 4 місяці тому +1

    Great video

  • @KevNug91
    @KevNug91 5 років тому +1

    Nice job, sir!

  • @jonasvonweissenfluh702
    @jonasvonweissenfluh702 4 роки тому +1

    Great vid thx man!

    • @TaylorSparks
      @TaylorSparks  4 роки тому

      Thanks dude! Like, sub, and share to help me grow. What else would be helpful to see?

  • @happinessijeomaezeonuegbu7521
    @happinessijeomaezeonuegbu7521 3 роки тому +1

    so so great, thanks a whole lot

  • @InfinityLRDL
    @InfinityLRDL Рік тому +1

    Thank you 🙏 solve my question within 6 min lol. I’m trying to do my homework for mass transfer and needed this

  • @Jehosafath
    @Jehosafath 3 роки тому +2

    Thank you for you comprehensive video. I have a simple question, How can we define the error or standard deviation from the fitting constant A, k, n ?? e.g. A+/- something, k +/- something and so on.