alexlee-gk / video_prediction

Stochastic Adversarial Video Prediction
https://alexlee-gk.github.io/video_prediction/
MIT License
303 stars 65 forks source link

A question about standard deviation for drawing #18

Closed shijiwensjw closed 5 years ago

shijiwensjw commented 5 years ago

https://github.com/alexlee-gk/video_prediction/blob/master/scripts/plot_results.py#L25 In this line, I wonder why you use metric_se = np.std(metric, axis=0) / np.sqrt(len(metric)) instead of just standard deviation metric_se = np.std(metric, axis=0) ? Why is the standard deviation divided by np.sqrt(len(metric)?

richzhang commented 5 years ago

It's the standard error -- the more measurements you make, the more sure you are of the mean.

shijiwensjw commented 5 years ago

Thank you, richzhang, I confused the standard deviation and the standard error, now I understand.