Closed shijiwensjw closed 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)?
metric_se = np.std(metric, axis=0) / np.sqrt(len(metric))
metric_se = np.std(metric, axis=0)
np.sqrt(len(metric)
It's the standard error -- the more measurements you make, the more sure you are of the mean.
Thank you, richzhang, I confused the standard deviation and the standard error, now I understand.
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 deviationmetric_se = np.std(metric, axis=0)
? Why is the standard deviation divided bynp.sqrt(len(metric)
?