PThie / RWI-GEO-REDX

0 stars 0 forks source link

Fix anonymization for combined index #30

Closed PThie closed 1 week ago

PThie commented 2 weeks ago

At grid level data, somehow not everything is anonymized given the 5/50 rule.

Only affects the combined index (I guess).

PThie commented 1 week ago

For CombInd_v13

The first issue seems to only presented in the change data. The second issue is present in both change and level data (regional effects).

The second issue was intentional as I did not want to anonymize the combined values. However, as the values are not reliable with just one observation, also censor them.

For grid level data (regional effects)

The same applies

PThie commented 1 week ago

This could also be a test which checks if pindex is NA so should be NOBS

PThie commented 1 week ago

Another test:

There should not be a NOBS below the NOBS threshold set (PUF = 50, SUF = 5) If NOBS threshold is undercut, there should be no pindex and no NOBS