Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_concentration.wasp
Title produced by softwareConcentration and Inequality
Date of computationTue, 19 Feb 2019 01:15:23 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2019/Feb/19/t1550535370l0wmqwy8qpshd7j.htm/, Retrieved Sat, 04 May 2024 08:34:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=318729, Retrieved Sat, 04 May 2024 08:34:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact109
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Concentration and Inequality] [Dixon County] [2019-02-19 00:15:23] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
Less than $10,000	5.1%
$10,000 to $14,999	3.5%
$15,000 to $24,999	7.4%
$25,000 to $34,999	15.1%
$35,000 to $49,999	12.2%
$50,000 to $74,999	27.7%
$75,000 to $99,999	10.3%
$100,000 to $149,999	10.0%	
$150,000 to $199,999	2.9%
$200,000 or more	5.8%




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R ServerBig Analytics Cloud Computing Center

\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 time0 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=318729&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]0 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=318729&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=318729&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 time0 seconds
R ServerBig Analytics Cloud Computing Center



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')