DrPaulBrewer / single-market-robot-simulator-viz-plotly

middleware for generating charts with plotly from single-market-robot-simulator simulation logs
Other
1 stars 0 forks source link

Mean Price should have stdev error bars or none at all. Do not estimate SEM. #18

Closed DrPaulBrewer closed 4 years ago

DrPaulBrewer commented 4 years ago

The Standard Error of the Mean often estimated and also estimated here as SAMPLESTDEV/SQRT(N) is correct for data that are independent and identically distributed and clearly invalid for time series data with serial correlation. Market prices are not iid, so we should not try to estimate the standard error of the mean.

Originally posted by @DrPaulBrewer in https://github.com/DrPaulBrewer/single-market-robot-simulator-viz-plotly/issues/16#issuecomment-687485320