Premium Only Content
 
			Random Sampling from a Histogram: Using S%P 500 Data
In the last video, we generated a histogram of SPX daily returns. I briefly touched on how to come up with an approximate probability density. I wan to elaborate on that a bit more, and show a very simple way to sample from out custom density function. There are other ways to build an approximate density function, but this is straightforward and probably easier to understand.
As this video is rather basic and doing things as described here depends a lot on how you build the histogram and do the analysis, this will likely be part one of two.
Wikipedia Article: https://en.wikipedia.org/wiki/Inverse_transform_sampling
Github Notebook: https://github.com/kpmooney/numerical_methods_youtube/blob/master/market_analysis/sample_using_cdf.ipynb
Tip Jar: https://paypal.me/kpmooney
- 	
				 0:40 0:40ViralHog4 years ago $0.02 earnedRandom Dog Rescued From Raging Flood2.16K
- 	
				 2:13 2:13KGUN4 years agoPima County stops landlords from using eviction moratorium loophole102
- 	
				 1:47 1:47jeremyseda4 years ago $0.04 earnedEscaping from a Headlock using Brazilian Jiu-Jitsu219
- 	
				 5:27 5:27SportingDog Adventures TV4 years ago $0.02 earnedMarking Using Reduced Loads from the Gun75
- 	
				 6:44 6:44EntertainmentTV20214 years agoRandom Logo159
- 	
				 21:57 21:57IntentAsh4 years ago $0.01 earnedRandom News343
- 	
				 0:47 0:47Jaim3Rodriguez4 years agoWhat is a Histogram21
- 	
				 1:33:29 1:33:29Statistics Lectures4 years agoMath10_Lecture_Overview_MAlbert_Ch4_Discrete Random Variables13
- 	
				 47:03 47:03Statistics Lectures4 years agoMath10_Lecture_Overview_MAlbert_Ch5_Continuous Random Variables11
- 	
				 12:10 12:10ProgrammingTuts4 years agoC# Deleting Data From XML File | Part 429