How to fit non-linear equations in excel using solver

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 332

  • @amishsattelitedish8615
    @amishsattelitedish8615 3 роки тому +42

    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  3 роки тому +4

      You are absolutely correct. Thanks for pointing that out.

  • @IrishJade84
    @IrishJade84 2 роки тому +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!

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

      Feedback like this makes me so happy.

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

    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.

  • @carloscantu8890
    @carloscantu8890 3 місяці тому +1

    Great explanation. Straight to the point and without missing any necessary details. I'll look at your videos for future questions.

  • @charlierettner5286
    @charlierettner5286 4 роки тому +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!

  • @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. ;)

  • @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!

  • @meganmcgee8187
    @meganmcgee8187 5 років тому +42

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

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

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

  • @potatofries571
    @potatofries571 3 роки тому +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!

  • @sergiopipaonalcibar7885
    @sergiopipaonalcibar7885 4 роки тому +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.

  • @mjmeternal2696
    @mjmeternal2696 Рік тому +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.

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

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

  • @feynstein1004
    @feynstein1004 Рік тому +7

    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  Рік тому +4

      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 Рік тому +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 😃

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

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

  • @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 Рік тому

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

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

    Explain everything in very easy manner... Nice job

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

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

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

    Short, direct and extremely helpful

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

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

  • @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

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

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

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

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

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

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

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

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

  • @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.

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

    Thank you. Saving a students life rn.

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

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

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

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

  • @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).

  • @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.

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

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

  • @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.

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

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

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

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

  • @roykeyer2174
    @roykeyer2174 2 місяці тому +1

    Perfect video! Thanks for your great instruction

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

    I have one word. Beautiful video. Thanks

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

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

  • @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

  • @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.

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

    THANKS! Your explanation was super clear!

  • @architkulkarni4873
    @architkulkarni4873 3 місяці тому +1

    Hi Taylor, thank you for such precise explanation. I want to know how can we find uncertainty in fitting parameters and eventually the goodness of the fit?

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

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

  • @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.

  • @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.

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

    Now this is magic! Thanks alot, very helpful!

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

      Glad to help! Please like subscribe and share!

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

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

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

    Thank you. Great Explanation. Very helpful

  • @coltonsowsun3681
    @coltonsowsun3681 3 роки тому +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.

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

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

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

    This helped me A LOT! Thank you!

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

    Thank you for help.. I tried to obtain wavefunction (800-data). Result: Great!! thanks 🎉🎉

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

    Thanks, very useful and quick video.

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

    very helpful,keep uploading this type of content

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

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

  • @drandrewsanchez
    @drandrewsanchez 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. 🙉

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

    Helped me a lot, thanks

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

    Thank you Taylor for sharing this very important video

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

      Glad to help! Sub to see more content.

  • @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.

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

    amazing video! Very good job!

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

    Greatest curve fitting vedio.. Thank you. 🌹 🌹

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

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

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

    Thank you so much, great explanation.

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

    This video helped me so much thank you man

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

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

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

    Thanks a lot, very helpful. I got it

  • @鄭景鵬-k4v
    @鄭景鵬-k4v 4 роки тому

    THANKS! Your explanation is awesome! It is helpful!

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

    Well explained. Thank you.

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

    Thanks Taylor .
    That's very helpful:)

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

    very helpful, thank you sir!

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

    wow very helpful demo, thank you!

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

    v.v. helpful thank you bro

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

    It was very helpful, thank you

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

    That was a simple and straightforward explanation. Can you say how did you assume the equation?

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

      From domain knowledge. I've seen that shape before so I figured it would work.

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

    Thank you. This is very useful!

  • @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

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

    This was so helpful! Thank you!

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

    You are a legend.

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

    Is there a way to modify that equation so that the graph is flipped horizontally?

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

    Thanks! simple, and very useful!

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

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

  • @Jehosafath
    @Jehosafath 4 роки тому +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.

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

    thanks a lot its very helpful i really appreciate it 🙏

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

      Glad to help! Check out our podcast Materialism available as a playlist on my channel 😁😁😁

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

    Thank you sir
    Nice explanation

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

    How would you get the R^2 value from a nonlinear regression fit?

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

    well explained , Thank you

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

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

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

    Very helpfull tutorial, thanks!

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

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

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

    Helpful, thank you so much

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

    Gracias hermano! me ayudaste!

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

    This is f*cking great!!! This helps me to pass my assignment

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

    very nice work good work are there any other videos presenting the same ideas?

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

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

  • @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 Рік тому

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

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

    This is so useful, thanks a lot!

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

    Great video

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

    very helpful!! thanks!!

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

    Thank you so much!! Really helpful!!

  • @حلفانكوارقينوكي
    @حلفانكوارقينوكي 2 роки тому +1

    Excellent!

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

    Fantastic video and explanation. Please let me know if you are familiar with other functions similar to Avrami without an upper bound. Thanks!

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

    so so great, thanks a whole lot

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

    Great explanation but I wounder if I got different trend which equation should be used or same yours?

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

      It totally depends on your trend. What does it look like?

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

    Thank you for the explanation! Which model is better to use if I need to fix one curve of catalytic descomposition? It seems like the curve of your video. Can I use the same Avrami equation modified?

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

      Sure, give it a try and see how it fits. You can calculate the r squared if you like.