openskope / skopeui

SKOPE user interface and visualization app
https://www.openskope.org
MIT License
0 stars 4 forks source link

Reporting of Statistics for Smoothed Data #114

Closed kintigh closed 2 years ago

kintigh commented 3 years ago

The original data statistics should be the same for the same area and time selection whether or not the data are smoothed (I.e. don't include the extra years needed to do the smoothing in the reported statistics calculation. Now they can be different. This is the case whether or not there is a Z-Score Transformation

there is a related but separate issue: with smoothed Z score transformed data, using the selected time range vs a fixed time range set to the same values should produce the same result. Now different time ranges are used in the calcuation of the mean and sd for the two cases. Only the years within the interval should be used for mean and SD calculation.

alee commented 2 years ago

this is a duplicate of https://github.com/openskope/skope-api/issues/20 - closing in favor of the skope-api issue as that is where the problem originates