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
-
15:12
kpmooney
3 years agoCalculating Simple Statistics with Python and Pandas: Stock Market Data
50 -
12:54
kpmooney
3 years agoKernel Density Estimation with Python: Estimate a Density Function from Data
14 -
4:37
TECHNOLOGY, TIPS AND TRICK VIDEOS
9 months agoHow to Make a Histogram in Excel
11 -
5:34
MojoDave
3 years agoGIMP Histograms
106 -
0:47
Jaim3Rodriguez
3 years agoWhat is a Histogram
21 -
0:27
Nursnicky
1 year agoHow to Create a Histogram in Excel Fast
1 -
12:16
BirdDog Support Live!
1 year agoHistogram Overview
-
4:03
Nursnicky
1 year agoHow to Create a Histogram and Make Custom Adjustments for Beginners
2 -
2:15
Challenge Your Eye
4 years agoHow to Read the Histogram - QUICK TIP
2 -
32:47
Jsefantiri
3 months agoGCSE MATHEMATICS - HISTOGRAMS III.
191