Summary method for objects from class ‘micro’.
# S3 method for class 'micro'
summary(object, ...)
A conventional summary of the original data
A conventional summary of the microaggregated data
average relative absolute deviation of means
average relative absolute deviation of medians
average relative absolute deviation of onestep from median
average relative absolute deviation of variances
average relative absolute deviation of the mad
average relative absolute deviation of covariances
average relative absolute deviation of robust (with mcd) covariances
average relative absolute deviation of correlations
average relative absolute deviation of robust (with mcd) correlations
average relative absolute deviation of rank-correlations
average absolute deviation of lm regression coefficients (without intercept)
average absolute deviation of lts regression coefficients (without intercept)
average absolute deviation of pca loadings
average absolute deviation of robust (with projection pursuit approach) pca loadings
average relative absolute deviation of totals
average relative deviation of totals
This function computes several measures of information loss, such as
Templ, M. Statistical Disclosure Control for Microdata Using the R-Package sdcMicro, Transactions on Data Privacy, vol. 1, number 2, pp. 67-85, 2008. http://www.tdp.cat/issues/abs.a004a08.php
data(Tarragona)
m1 <- microaggregation(Tarragona, method = "onedims", aggr = 3)
# \donttest{
summary(m1)
#> $meansx
#> FIXED.ASSETS CURRENT.ASSETS TREASURY UNCOMMITTED.FUNDS
#> Min. : 0 Min. : -26538 Min. :-38776 Min. :-515464
#> 1st Qu.: 10980 1st Qu.: 45741 1st Qu.: 1599 1st Qu.: 17322
#> Median : 33930 Median : 90545 Median : 5656 Median : 40580
#> Mean : 105339 Mean : 210314 Mean : 19353 Mean : 120219
#> 3rd Qu.: 95992 3rd Qu.: 196819 3rd Qu.: 19499 3rd Qu.: 105426
#> Max. :4994098 Max. :4539074 Max. :497490 Max. :3939325
#> PAID.UP.CAPITAL SHORT.TERM.DEBT SALES LABOR.COSTS
#> Min. : 90 Min. : -2701 Min. : 0 Min. : 0
#> 1st Qu.: 10000 1st Qu.: 33155 1st Qu.: 135076 1st Qu.: 18441
#> Median : 11000 Median : 67045 Median : 244794 Median : 36200
#> Mean : 39946 Mean : 159344 Mean : 546958 Mean : 74448
#> 3rd Qu.: 30539 3rd Qu.: 143382 3rd Qu.: 473353 3rd Qu.: 74834
#> Max. :1493787 Max. :3601182 Max. :15382214 Max. :1372449
#> DEPRECIATION OPERATING.PROFIT FINANCIAL.OUTCOME GROSS.PROFIT
#> Min. : -119 Min. :-251798 Min. :-357071.0 Min. :-301172.0
#> 1st Qu.: 1382 1st Qu.: 2454 1st Qu.: -9547.8 1st Qu.: 746.2
#> Median : 3614 Median : 8476 Median : -3548.0 Median : 4055.0
#> Mean : 10855 Mean : 27623 Mean : -8366.2 Mean : 21243.5
#> 3rd Qu.: 9293 3rd Qu.: 23452 3rd Qu.: -213.8 3rd Qu.: 14333.0
#> Max. :378927 Max. :1207056 Max. : 108058.0 Max. :1267541.0
#> NET.PROFIT
#> Min. :-301172
#> 1st Qu.: 471
#> Median : 2844
#> Mean : 14134
#> 3rd Qu.: 10198
#> Max. : 873843
#>
#> $meansxm
#> FIXED.ASSETS CURRENT.ASSETS TREASURY UNCOMMITTED.FUNDS
#> Min. : 0 Min. : -13157 Min. :-34015 Min. :-371144
#> 1st Qu.: 10999 1st Qu.: 45735 1st Qu.: 1599 1st Qu.: 17297
#> Median : 34002 Median : 90494 Median : 5664 Median : 40533
#> Mean : 105339 Mean : 210314 Mean : 19353 Mean : 120219
#> 3rd Qu.: 96045 3rd Qu.: 196725 3rd Qu.: 19497 3rd Qu.: 105379
#> Max. :3280469 Max. :4276147 Max. :446250 Max. :3220313
#> PAID.UP.CAPITAL SHORT.TERM.DEBT SALES LABOR.COSTS
#> Min. : 363.3 Min. : -800 Min. : 619 Min. : 0
#> 1st Qu.: 10000.0 1st Qu.: 33072 1st Qu.: 134993 1st Qu.: 18426
#> Median : 11023.3 Median : 66911 Median : 245380 Median : 36214
#> Mean : 39946.4 Mean : 159344 Mean : 546958 Mean : 74448
#> 3rd Qu.: 30655.0 3rd Qu.: 143625 3rd Qu.: 475615 3rd Qu.: 74802
#> Max. :1224154.7 Max. :3240728 Max. :12576186 Max. :1308064
#> DEPRECIATION OPERATING.PROFIT FINANCIAL.OUTCOME GROSS.PROFIT
#> Min. : -39.67 Min. :-194049 Min. :-285401.7 Min. :-147801
#> 1st Qu.: 1379.67 1st Qu.: 2444 1st Qu.: -9552.3 1st Qu.: 744
#> Median : 3610.33 Median : 8437 Median : -3549.5 Median : 4071
#> Mean : 10855.10 Mean : 27623 Mean : -8366.2 Mean : 21244
#> 3rd Qu.: 9291.00 3rd Qu.: 23531 3rd Qu.: -207.3 3rd Qu.: 14328
#> Max. :315696.00 Max. : 982815 Max. : 79754.0 Max. : 955925
#> NET.PROFIT
#> Min. :-206025
#> 1st Qu.: 466
#> Median : 2847
#> Mean : 14134
#> 3rd Qu.: 10230
#> Max. : 636607
#>
#> $amean
#> [1] 0
#>
#> $amedian
#> [1] 0.02289723
#>
#> $aonestep
#> [1] 0.00947609
#>
#> $devvar
#> [1] 0.6049969
#>
#> $amad
#> [1] 0.02652711
#>
#> $acov
#> [1] 0.3024984
#>
#> $arcov
#> [1] NA
#>
#> $acor
#> [1] 0.3246321
#>
#> $arcor
#> [1] NA
#>
#> $acors
#> [1] 0.01232482
#>
#> $adlm
#> [1] 4.66857
#>
#> $adlts
#> [1] NA
#>
#> $apcaload
#> [1] 7.644529
#>
#> $apppcaload
#> [1] 12.89826
#>
#> $totalsOrig
#> FIXED.ASSETS CURRENT.ASSETS TREASURY UNCOMMITTED.FUNDS
#> 87852581 175401893 16140292 100262360
#> PAID.UP.CAPITAL SHORT.TERM.DEBT SALES LABOR.COSTS
#> 33315324 132892906 456163207 62089598
#> DEPRECIATION OPERATING.PROFIT FINANCIAL.OUTCOME GROSS.PROFIT
#> 9053156 23037386 -6977451 17717066
#> NET.PROFIT
#> 11787590
#>
#> $totalsMicro
#> numeric(0)
#>
#> $atotals
#> [1] 0
#>
#> $pmtotals
#> [1] 0
#>
#> $util1
#> [1] 120.8887
#>
#> $deigenvalues
#> [1] 2.69433
#>
#> $risk0
#> [1] 0.8717026
#>
#> $risk1
#> [1] 1
#>
#> $risk2
#> [1] 0.9952038
#>
#> $wrisk1
#> [1] 728.081
#>
#> $wrisk2
#> [1] 723.1175
#>
# }