{"action":"opened","issue":{"url":"https://api.github.com/repos/CC-HIC/ccanonym/issues/27","repository_url":"https://api.github.com/repos/CC-HIC/ccanonym","labels_url":"https://api.github.com/repos/CC-HIC/ccanonym/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/CC-HIC/ccanonym/issues/27/comments","events_url":"https://api.github.com/repos/CC-HIC/ccanonym/issues/27/events","html_url":"https://github.com/CC-HIC/ccanonym/issues/27","id":191828200,"number":27,"title":"Micro-aggregation is overly sensitive to outliers","user":{"login":"tompollard","id":822601,"avatar_url":"https://avatars.githubusercontent.com/u/822601?v=3","gravatar_id":"","url":"https://api.github.com/users/tompollard","html_url":"https://github.com/tompollard","followers_url":"https://api.github.com/users/tompollard/followers","following_url":"https://api.github.com/users/tompollard/following{/other_user}","gists_url":"https://api.github.com/users/tompollard/gists{/gist_id}","starred_url":"https://api.github.com/users/tompollard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tompollard/subscriptions","organizations_url":"https://api.github.com/users/tompollard/orgs","repos_url":"https://api.github.com/users/tompollard/repos","events_url":"https://api.github.com/users/tompollard/events{/privacy}","received_events_url":"https://api.github.com/users/tompollard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-26T21:39:12Z","updated_at":"2016-11-26T21:39:12Z","closed_at":null,"body":"A single outlier can completely throw out the aggregate values assigned by [micro-aggregation](https://github.com/CC-HIC/ccanonym/blob/master/R/sdc-anonymisation.R#L232). Taking the example in the demo:\r\n\r\n|  HCM_ORIG  |  HCM_ANON  |\r\n|:----------:|:----------:|\r\n|    192     |   178.7    |\r\n|    174     |   178.7    |\r\n|    170     |   178.7    |\r\n|    160     |   162.5    |\r\n|    165     |   162.5    |\r\n\r\n...and replacing 192 with 992:\r\n\r\n|  HCM_ORIG  |  HCM_ANON  |\r\n|:----------:|:----------:|\r\n|    992     |   445.3    |\r\n|    174     |   445.3    |\r\n|    170     |   445.3    |\r\n|    160     |   162.5    |\r\n|    165     |   162.5    |\r\n\r\nIs there a way of dealing with outliers before the aggregation or at least flagging strongly inappropriate aggregation?"}}
{"actor":{"display_login":"tompollard"}}