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.
@TaylorSparks3 жыл бұрын
You are absolutely correct. Thanks for pointing that out.
@michealcairns49714 жыл бұрын
As a researcher myself investigating heterogeneous behavior, this short tutorial was extremely helpful. Brilliant explanation, Subscribed!
@TaylorSparks4 жыл бұрын
Thank you!! Let me know what else would be helpful!
@michealcairns49714 жыл бұрын
@@TaylorSparks Is there any other way of further optimising the solvers fit within excel?
@TaylorSparks4 жыл бұрын
@@michealcairns4971 I'm sure there is. I'm not an expert in using Excel's solver though.
@meganmcgee81875 жыл бұрын
This is amazingly helpful! I watched numerous videos trying to do logistic regression fitting and this is the only one that helped me!
@TaylorSparks5 жыл бұрын
So glad to help!
@zahraghassemi26864 жыл бұрын
Same happened to me. Thank you.
@pragyandash65213 жыл бұрын
Same for me
@IrishJade842 жыл бұрын
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!
@TaylorSparks2 жыл бұрын
Feedback like this makes me so happy.
@feynstein1004 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 😃
@chadmace33554 жыл бұрын
all these years I've always used Matlab or Python... Often find myself in Excel... this will work well. Thank you!
@carloscantu88903 ай бұрын
Great explanation. Straight to the point and without missing any necessary details. I'll look at your videos for future questions.
@timr36213 жыл бұрын
You explained it in 6 minutes better than my docent in 2 90min sessions, thank you so much!!
@TaylorSparks3 жыл бұрын
Glad to help dude!
@ruslanakbar27303 жыл бұрын
Hey, Taylor! Just wanted to thank for your all work, from material science to statistics!!!
@TaylorSparks3 жыл бұрын
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. ;)
@potatofries5713 жыл бұрын
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!
@TaylorSparks3 жыл бұрын
I gotchooo boo
@georgehellas81844 жыл бұрын
Thanks, you literally saved me trying to interpolate a sine wave to data that looked like a sine wave. Again thanks!!!!!
@TaylorSparks4 жыл бұрын
My pleasure!!
@mjmeternal2696 Жыл бұрын
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.
@kurry4209 Жыл бұрын
Dude, helped me out so much, thought I had to redo all of my measurements for a uni project. Very well done!
@TaylorSparks Жыл бұрын
My pleasure! Give the video a like, sub and share and it will help me keep making content like this
@kazanrao Жыл бұрын
kzbin.info/www/bejne/Y6O6YaRnZq-Al8k
@prasannareddy0953 жыл бұрын
i LOVE THE VIDEO, I ASKED MANY PEOPLE ABOUT IT, BUT NONE COULD EXPLAIN ME BETTER. Thank you
@TaylorSparks3 жыл бұрын
Glad to help!!
@charlierettner52864 жыл бұрын
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!
@TaylorSparks4 жыл бұрын
I'm so glad it was helpful!
@ozandemir88223 жыл бұрын
This is one of the most beautiful video on youtube. God! It's so good.. Thank you!
@TaylorSparks3 жыл бұрын
Lol. Glad to help friend!
@dr.ajaysujan22583 жыл бұрын
Explain everything in very easy manner... Nice job
@TaylorSparks3 жыл бұрын
Heck ya
@sergiopipaonalcibar78854 жыл бұрын
Great video. There is a lot of people out there doing super complex explanations for this, but this one is perfect. Thanks a lot.
@TaylorSparks4 жыл бұрын
Thanks dude!!
@kiendagaetanvianneyramde275 жыл бұрын
You’re amazing boyyyy!!! You just solved one of my chemical engineering project .Thanks
@TaylorSparks5 жыл бұрын
Glad to help!
@sandinomichaelangeloaguila38234 жыл бұрын
hi fellow chemical engineer
@esraelsamuel14733 жыл бұрын
Thank You, Taylor. I was trying to fit using MATLAB. However, your video is awesome
@TaylorSparks3 жыл бұрын
Super glad to help. Thanks for tuning in.
@bowenqin80133 жыл бұрын
a good solution to find the equations for solving "the area of hysteresis" problem. Thank you so much
@TaylorSparks3 жыл бұрын
Great point. Very happy to help.
@rainbowdust9193 жыл бұрын
Thank you! I just started a statistics class and I did not understand the residual until I saw it happen, visually, on your graph.
@francoistardif30912 жыл бұрын
Absolutely excellent, enjoyable, clear and precise. Well done sir!
@TaylorSparks2 жыл бұрын
Thank you so much. I'm super glad to help
@yusif97abdin2 жыл бұрын
Short, direct and extremely helpful
@TaylorSparks2 жыл бұрын
Glad it was useful!
@chandrakanthmalyala19422 жыл бұрын
I never knew about plot digitizer before watching your video and going through the description
@TaylorSparks2 жыл бұрын
It's so great
@leilanemdili37244 жыл бұрын
This is the best video that explained the regression fitting. Thank you!
@TaylorSparks4 жыл бұрын
🙌🙌🙌
@saidfigueredo3 жыл бұрын
My english listening is very very bad, but it was no a problem for I reproduce your procedure, excellent, thank you so much bro
@TaylorSparks3 жыл бұрын
Super glad to help!
@karankotian043 жыл бұрын
Thank you so much. It helped me a lot. Your explanations are simple and very efficient.
@donxevir Жыл бұрын
Thank you. Saving a students life rn.
@kazanrao Жыл бұрын
kzbin.info/www/bejne/Y6O6YaRnZq-Al8k
@alexhands82292 жыл бұрын
Amazing video, love your work, saved my chemistry degree xxxx
@TaylorSparks2 жыл бұрын
Woohoo!! This feedback makes me so happy. You might like our materials science podcast "Materialism." Drop us a review if you can.
@andrewniven43503 жыл бұрын
Excellent video - I now use the solver option a great deal in my work. Thank you.
@eqwan2 жыл бұрын
Awesome video! Helping me with my studies. Thanks a lot!
@christiankeza4 жыл бұрын
thank you so much, Sparks. now I can defend my thesis!
@TaylorSparks4 жыл бұрын
wow! I'm so glad to help! Good luck on your defense.
@ProcrastinatingPoet3 жыл бұрын
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).
@Dngsz65654 ай бұрын
Thank you for help.. I tried to obtain wavefunction (800-data). Result: Great!! thanks 🎉🎉
@albertlee74335 жыл бұрын
Wow.... you teach me what i really want. Thanks a lot!!!
@govhull99334 жыл бұрын
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 :)
@TaylorSparks4 жыл бұрын
Ya. There's no substitute to some basic mathematics. They really are helpful when getting an equation of the right form.
@KamalSingh-dn7gv3 жыл бұрын
I have one word. Beautiful video. Thanks
@TaylorSparks3 жыл бұрын
Heck ya!
@adityamanimishra50534 жыл бұрын
Its great video. Very short and only informative. Thanks
@TaylorSparks4 жыл бұрын
Glad to help!!
@adityamanimishra50534 жыл бұрын
@@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.
@roykeyer21743 ай бұрын
Perfect video! Thanks for your great instruction
@TaylorSparks3 ай бұрын
@@roykeyer2174 Happy to help!
@N8Kracken5 жыл бұрын
Absolutely awesome video. Clear and to the point. Great work mate.
@coltonsowsun36813 жыл бұрын
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.
@TaylorSparks3 жыл бұрын
Right? Makes a big difference
@Yomohayaru3 жыл бұрын
this make me more understand about sigmoid value. Thank you!!!
@TaylorSparks3 жыл бұрын
Heck ya homie!
@CivilEngineeringStuff2 жыл бұрын
Thank you. Great Explanation. Very helpful
@rozhinmkian63254 жыл бұрын
Now this is magic! Thanks alot, very helpful!
@TaylorSparks4 жыл бұрын
Glad to help! Please like subscribe and share!
@liatzavodivker80875 жыл бұрын
THANKS! Your explanation was super clear!
@TaylorSparks5 жыл бұрын
Glad to help!
@rexkurosaki93684 жыл бұрын
Mr. Sparks thank you very much!! You did me a big favor!!!!!!!!
@TaylorSparks4 жыл бұрын
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.
@emihlengqeme68235 жыл бұрын
Wow thank you so much...i now have a clear understanding of this work
@InfinityLRDL Жыл бұрын
Thank you 🙏 solve my question within 6 min lol. I’m trying to do my homework for mass transfer and needed this
@TaylorSparks Жыл бұрын
Pleasure to serve!
@nipunweerakoon_972 жыл бұрын
This is really helpful.Thank you so much.😃😃
@Remenry3 жыл бұрын
This helped me A LOT! Thank you!
@TaylorSparks3 жыл бұрын
Glad to help!
@architkulkarni48733 ай бұрын
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?
@souravnahihoonmain5 жыл бұрын
Really helpful video I used this in conjunction with Gompertz forecasting equation and found the optimal constants for forecasting shipment nos
@TaylorSparks5 жыл бұрын
Glad it helped!!
@apnaphysics_2 жыл бұрын
very helpful,keep uploading this type of content
@TaylorSparks2 жыл бұрын
Got a specific need?
@hassanelbari86364 жыл бұрын
Thank you Taylor for sharing this very important video
@TaylorSparks4 жыл бұрын
Glad to help! Sub to see more content.
@rogelv8td Жыл бұрын
Thanks, very useful and quick video.
@larryblackwell7004 жыл бұрын
That was a fantastic video. Great presentation. Thank you
@TaylorSparks4 жыл бұрын
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.
@tibistibility3 жыл бұрын
How would you get the R^2 value from a nonlinear regression fit?
@drandrewsanchez4 жыл бұрын
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
@TaylorSparks4 жыл бұрын
That's wonderful!
@tecnocato4 жыл бұрын
Got here for the same reason. Thank you, Taylor!
@jannieschluter96704 жыл бұрын
Reported covid19 cases are forged...
@tecnocato4 жыл бұрын
Jannie Schlüter Wear an aluminum foil hat. Problem solved.
@jannieschluter96704 жыл бұрын
@@tecnocato you already wearing it. Nothing gets through your thick melon. 🙉
@collegemathematics66984 жыл бұрын
Greatest curve fitting vedio.. Thank you. 🌹 🌹
@TaylorSparks4 жыл бұрын
Why thank you!
@collegemathematics66984 жыл бұрын
@@TaylorSparks you did great jobe. You deserve a big thanks. 🌹
@melkamualebachew28454 жыл бұрын
Thanks. I am using this for my thesis regression analysis!!!
@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 Жыл бұрын
kzbin.info/www/bejne/Y6O6YaRnZq-Al8k
@theblueshade_3 жыл бұрын
Helped me a lot, thanks
@kiwah07Ай бұрын
amazing video! Very good job!
@Prixi334 жыл бұрын
This video helped me so much thank you man
@鄭景鵬-k4v4 жыл бұрын
THANKS! Your explanation is awesome! It is helpful!
@TaylorSparks4 жыл бұрын
Very glad to help
@chandrakanthmalyala19422 жыл бұрын
That was a simple and straightforward explanation. Can you say how did you assume the equation?
@TaylorSparks2 жыл бұрын
From domain knowledge. I've seen that shape before so I figured it would work.
@RAVIKIRANMudunuru Жыл бұрын
How can I estimate the parameters alpha and beta in a gompertz function based on the historical data, so that I can predict the values into the future.Want to know specifically how can I do that in the SPSS
@staygreasy3 жыл бұрын
Is there a way to modify that equation so that the graph is flipped horizontally?
@biubiuedel1248 Жыл бұрын
how you put that fit line in your graph? I just can put x and Y axis only and do not know how to insert that fit line.
@bwiredenis8982 жыл бұрын
Thanks a lot, very helpful. I got it
@George-rq1yp9 ай бұрын
wow very helpful demo, thank you!
@aditibahuguna77233 жыл бұрын
Thank you so much, great explanation.
@muthuprithivi7447 ай бұрын
How did you got the y fit values in the graph ?.. for me the y fit line is not coming in the graph. Can you tell how to do that?
@ganesharya35123 жыл бұрын
in the case of one independent variable equation can be guessed(by a plot) but how can I guess the equation in the case of more than one independent variable. suppose two independent variables (volume fraction and temperature ) then how can I guess the equation for fitting on excel (only by excel)
@gaidanny Жыл бұрын
hi, what if i have to run a macro each time? then how to use solver in a sheet with macro?
@hoseinpahlavan92953 жыл бұрын
Thanks Taylor . That's very helpful:)
@halilyilmaz35863 жыл бұрын
Well explained. Thank you.
@TaylorSparks3 жыл бұрын
💪🏻💪🏻💪🏻
@bobrivera66672 жыл бұрын
It was very helpful, thank you
@ErrysFrondarina Жыл бұрын
very helpful, thank you sir!
@Jehosafath4 жыл бұрын
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.
@ganesharya35123 жыл бұрын
if i have two indepent variables and I do not know the relationship between my indepent variables and dependent variable then how can obtain the fit model
@TaylorSparks3 жыл бұрын
I do that exact thing in this video
@Warda.H Жыл бұрын
This was really useful. If i've calculated the fit how doi calculate the upper and lower limits at 95 % confidence level in excel?
@sajjadali61474 жыл бұрын
After usisng that , can i have R2 and p values for the variables?
@sanadaltarawneh35507 ай бұрын
You are a legend.
@tarak9933 жыл бұрын
Fantastic video and explanation. Please let me know if you are familiar with other functions similar to Avrami without an upper bound. Thanks!
@TaylorSparks3 жыл бұрын
Just exp(x)?
@atiliaathira114 жыл бұрын
Love the way you explained. Very clear. Thank you so much,
@TaylorSparks4 жыл бұрын
Glad it helped!
@emilyreeves3234 Жыл бұрын
Does anyone know where the A value is taken from? or is it just 1 as a standard?
@chadakarnsirasitthichoke93594 жыл бұрын
Thank you. This is very useful!
@mkadkfa2 ай бұрын
v.v. helpful thank you bro
@khadidjamessabih03944 жыл бұрын
thanks a lot its very helpful i really appreciate it 🙏
@TaylorSparks4 жыл бұрын
Glad to help! Check out our podcast Materialism available as a playlist on my channel 😁😁😁
@AbiJohnson-c7x2 ай бұрын
Hi Taylor, how did you have the orange fit line on your scatter graph before you started, so that it then followed the calculations you were inputting along the way? I only have my scatter points currently on my graph and no idea how to get the fit line on there as well, before starting the fit line equations you're suggesting. Apologies, I'm a complete novice on Excel. Thanks in advance.
@PetualangWawasan Жыл бұрын
Very helpfull tutorial, thanks!
@kazanrao Жыл бұрын
kzbin.info/www/bejne/Y6O6YaRnZq-Al8k
@taniyakekunawelapathiranag48884 жыл бұрын
This is very helpful! Thank you so much...
@addisonaverill11963 жыл бұрын
This was so helpful! Thank you!
@motriz-industrial68462 жыл бұрын
Thanks!! Is there software that allows me to find the equation based on XY data but not using any known model?
@theapexpredator1573 жыл бұрын
I need Solver to accept formulas in the Variable Cells Line so that it can select only certain cells within a range. Is this possible? If not, is there an alternate method to achieve my goal?
@TaylorSparks3 жыл бұрын
lots of good info here www.solver.com/solver-tutorial-defining-constraints
@theapexpredator1573 жыл бұрын
@@TaylorSparks I appreciate the help, but after reading through the webpage you sent, I don't feel as though my situation has changed. I'm still dealing with the same issue. Thanks for the feedback though, I appreciate it!
@nivedithareddy527910 ай бұрын
Can we find the goodness of fit (GoF) from this?
@muthuprithivi7449 ай бұрын
What type of graph are you using in this vedio.. can you mention its name and how you got that y fit in graph?
@TaylorSparks9 ай бұрын
The equation I'm using is called the Avrami equation. It's used in modeling polymer crystallization vs time as well as other structural transformations in materials science. It has a nice S shaped curve that we can fit to other S shaped data.
@NOx2N2 Жыл бұрын
good information. Goes pretty fast. I can't quite get my S shape curves to fit close enough. Any suggestions?