Premium Only Content
 
			More on Linear Regression
I return to the linear regression problem from last video. There isn’t any coding in this one, but I want to make sure we are thinking of curve fitting as an optimization problem. First we will visualize the least squares error function. Then we will derive the equations for the slope and intercept using basic calculus. Lastly, we will take our derived equations and plug them, along with the raw data from the last video, into Excel and compare the results to what we got using Python’s built in linear regression routine.
I will put a PDF of the derivation up on the Github repo. That should be available by the end of the week this is uploaded. I will also include the MATLAB code used to plot the error function as well as the Excel sheet.
Previous video on linear regression: https://youtu.be/jmKfDvk4k6g
Github: https://github.com/kpmooney/numerical_methods_youtube/tree/master/beta
Donate: http://paypal.me/kpmooney
- 	
				 17:21 17:21kpmooney4 years agoLinear Regression in Python: Finding a Stock's Beta Coefficient34
- 	
				 29:24 29:24The DATAVIEW Channel4 years agoEp7: How to develop a workflow task - a linear regression example30
- 	
				 9:13 9:13Math Lessons w/ Mr. Scarn4 years agoAP Calculus AB: Defining Linear Functions57
- 	
				 18:17 18:17ME 5438: Plasticity and Viscoelasticity - Continuum Mechanics Review4 years agoLinear Elastic Constitutive Law (Hooke's Law)51
- 	
				 11:33 11:33ME 5438: Plasticity and Viscoelasticity4 years agoLinking Linear Elastic Mechanics with Plasticity33
- 	
				 2:41 2:41wolforgana4 years ago $0.01 earnedChaffee Style Linear Grooves & SS Fusion1.62K
- 	
				 0:30 0:30Ultradyne_USA4 years ago $0.01 earnedThe Athena- Ultradyne's Linear Compensator95
- 	
				 0:05 0:05stickbugtrevor4 years agoPeaceful Waterfall in Linear Park28
- 	
				 8:01 8:01IntoMath Grade 8 Lessons4 years ago $0.20 earnedSolving linear equations - Pythagorean theorem - IntoMath712
- 	
				 3:05 3:05IntoMath Grade 9 Lessons4 years ago $0.23 earnedDistance Time Graph - Linear Relations - IntoMath713