Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_concentration.wasp
Title produced by softwareConcentration and Inequality
Date of computationThu, 22 Apr 2021 04:35:34 +0200
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2021/Apr/22/t1619059103rgspjo662s4z03q.htm/, Retrieved Fri, 03 May 2024 18:13:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=319406, Retrieved Fri, 03 May 2024 18:13:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact89
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Concentration and Inequality] [gini curve] [2021-04-22 02:35:34] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
3914.501268
1563.913699
44192.62303
3286.574703
1385.25998
45148.55271
467.0742375
57610.09818
768.5223076
2025.932424
4451.450981
14605.85435
1,700
16885.40739
9287.849736
3509.69345
911.4442665
42849.42632
2159.157868
1968.564738
1464.993305
3123.234229
10720.33259
499.3807078
80449.99451
806.0415731
3481.228739
60062.22231
747.1969074
40361.41738





Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=319406&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [ROW]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=319406&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=319406&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Concentration - Ungrouped Data
MeasureValue
Number of Categories30
Maximum Entropy3.40119738166216
Entropy2.53535193423635
Normalised Entropy0.745429226749941
Max. Entropy - Entropy0.86584544742581
Theil Entropy Index0.86584544742581
Exponential Index0.0792338292601023
Herfindahl0.102925928415286
Normalised Herfindahl0.0719923397399507
Rosenbluth0.104446753941701
Gini0.680858120761331
Concentration0.70433598699448
Ricci-Schutz (Pietra)0.578224534101335
Atkinson0.421879830718774
KolmInf
Coefficient of Variation1.44491447928885
Squared Coefficient of Variation2.08777785245857

\begin{tabular}{lllllllll}
\hline
Concentration - Ungrouped Data \tabularnewline
Measure & Value \tabularnewline
Number of Categories & 30 \tabularnewline
Maximum Entropy & 3.40119738166216 \tabularnewline
Entropy & 2.53535193423635 \tabularnewline
Normalised Entropy & 0.745429226749941 \tabularnewline
Max. Entropy - Entropy & 0.86584544742581 \tabularnewline
Theil Entropy Index & 0.86584544742581 \tabularnewline
Exponential Index & 0.0792338292601023 \tabularnewline
Herfindahl & 0.102925928415286 \tabularnewline
Normalised Herfindahl & 0.0719923397399507 \tabularnewline
Rosenbluth & 0.104446753941701 \tabularnewline
Gini & 0.680858120761331 \tabularnewline
Concentration & 0.70433598699448 \tabularnewline
Ricci-Schutz (Pietra) & 0.578224534101335 \tabularnewline
Atkinson & 0.421879830718774 \tabularnewline
Kolm & Inf \tabularnewline
Coefficient of Variation & 1.44491447928885 \tabularnewline
Squared Coefficient of Variation & 2.08777785245857 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=319406&T=1

[TABLE]
[ROW][C]Concentration - Ungrouped Data[/C][/ROW]
[ROW][C]Measure[/C][C]Value[/C][/ROW]
[ROW][C]Number of Categories[/C][C]30[/C][/ROW]
[ROW][C]Maximum Entropy[/C][C]3.40119738166216[/C][/ROW]
[ROW][C]Entropy[/C][C]2.53535193423635[/C][/ROW]
[ROW][C]Normalised Entropy[/C][C]0.745429226749941[/C][/ROW]
[ROW][C]Max. Entropy - Entropy[/C][C]0.86584544742581[/C][/ROW]
[ROW][C]Theil Entropy Index[/C][C]0.86584544742581[/C][/ROW]
[ROW][C]Exponential Index[/C][C]0.0792338292601023[/C][/ROW]
[ROW][C]Herfindahl[/C][C]0.102925928415286[/C][/ROW]
[ROW][C]Normalised Herfindahl[/C][C]0.0719923397399507[/C][/ROW]
[ROW][C]Rosenbluth[/C][C]0.104446753941701[/C][/ROW]
[ROW][C]Gini[/C][C]0.680858120761331[/C][/ROW]
[ROW][C]Concentration[/C][C]0.70433598699448[/C][/ROW]
[ROW][C]Ricci-Schutz (Pietra)[/C][C]0.578224534101335[/C][/ROW]
[ROW][C]Atkinson[/C][C]0.421879830718774[/C][/ROW]
[ROW][C]Kolm[/C][C]Inf[/C][/ROW]
[ROW][C]Coefficient of Variation[/C][C]1.44491447928885[/C][/ROW]
[ROW][C]Squared Coefficient of Variation[/C][C]2.08777785245857[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=319406&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=319406&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Concentration - Ungrouped Data
MeasureValue
Number of Categories30
Maximum Entropy3.40119738166216
Entropy2.53535193423635
Normalised Entropy0.745429226749941
Max. Entropy - Entropy0.86584544742581
Theil Entropy Index0.86584544742581
Exponential Index0.0792338292601023
Herfindahl0.102925928415286
Normalised Herfindahl0.0719923397399507
Rosenbluth0.104446753941701
Gini0.680858120761331
Concentration0.70433598699448
Ricci-Schutz (Pietra)0.578224534101335
Atkinson0.421879830718774
KolmInf
Coefficient of Variation1.44491447928885
Squared Coefficient of Variation2.08777785245857



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
library(ineq)
my_minimum <- min(x)
if(my_minimum < 0) {
stop('Negative values are not allowed.')
}
myLength <- length(x)
myMaximumEntropy <- log(myLength)
mySum <- sum(x)
myProportion <- x/mySum
myEntropy <- -sum(myProportion * log(myProportion))
myNormalizedEntropy <- myEntropy / myMaximumEntropy
myDifference <- myMaximumEntropy - myEntropy
myTheilEntropyIndex <- entropy(x,parameter=1,na.rm=T)
myExponentialIndex <- exp(-myEntropy)
myHerfindahlMeasure <- sum(myProportion^2)
myHerfindahl <- conc(x,type='Herfindahl',na.rm=T)
myRosenbluth <- conc(x,type='Rosenbluth',na.rm=T)
myNormalizedHerfindahlMeasure <- (myHerfindahlMeasure - 1/myLength) / (1 - 1/myLength)
myGini <- Gini(x,na.rm=T)
myConcentrationCoefficient <- myLength/(myLength -1)*myGini
myRS <- RS(x,na.rm=T)
myAtkinson <- Atkinson(x,na.rm=T)
myKolm <- Kolm(x,na.rm=T)
myCoefficientOfVariation <- var.coeff(x,square=F,na.rm=T)
mySquaredCoefficientOfVariation <- var.coeff(x,square=T,na.rm=T)
bitmap(file='plot1.png')
plot(Lc(x))
grid()
dev.off()
bitmap(file='plot2.png')
plot(Lc(x),general=T)
grid()
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Concentration - Ungrouped Data',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Measure',header=TRUE)
a<-table.element(a,'Value',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Number of Categories',header=F)
a<-table.element(a,myLength,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Maximum Entropy',header=F)
a<-table.element(a,myMaximumEntropy,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Entropy',header=F)
a<-table.element(a,myEntropy,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Normalised Entropy',header=F)
a<-table.element(a,myNormalizedEntropy,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Max. Entropy - Entropy',header=F)
a<-table.element(a,myDifference,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Theil Entropy Index',header=F)
a<-table.element(a,myTheilEntropyIndex,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Exponential Index',header=F)
a<-table.element(a,myExponentialIndex,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Herfindahl',header=F)
a<-table.element(a,myHerfindahl,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Normalised Herfindahl',header=F)
a<-table.element(a,myNormalizedHerfindahlMeasure,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Rosenbluth',header=F)
a<-table.element(a,myRosenbluth,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Gini',header=F)
a<-table.element(a,myGini,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Concentration',header=F)
a<-table.element(a,myConcentrationCoefficient,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Ricci-Schutz (Pietra)',header=F)
a<-table.element(a,myRS,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Atkinson',header=F)
a<-table.element(a,myAtkinson,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Kolm',header=F)
a<-table.element(a,myKolm,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Coefficient of Variation',header=F)
a<-table.element(a,myCoefficientOfVariation,header=F)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Squared Coefficient of Variation',header=F)
a<-table.element(a,mySquaredCoefficientOfVariation,header=F)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')