# Questions tagged [gini]

The Gini coefficient is used to measure income inequality and discriminatory power of a classifier. If everybody has the same income, Gini coefficient = 0. If one person has all the income, Gini coefficient = 1. All other values are somewhere in between.

76 questions
2answers
6k views

### What is the relationship between the GINI score and the log-likelihood ratio

I am studying classification and regression trees, and one of the measures for the split location is the GINI score. Now I am used to determining best split location when the log of the likelihood ...
1answer
3k views

### Does Breiman's random forest use information gain or Gini index?

I would like to know if Breiman's random forest (random forest in R randomForest package) uses as a splitting criterion (criterion for attribute selection) information gain or Gini index? I tried to ...
4answers
2k views

1answer
292 views

0answers
469 views

### Comparing Gini coefficients: Variance estimation etc. needed?

In a project on software measurement, we plan to use aggregating statistics (e.g., Gini) to describe the concentration of certain observed program attributes (size) among program units (e.g., modules, ...
0answers
4k views

### SAS PROC LOGISTIC: Hosmer and Lemeshow test is good but Gini is bad?

I am using PROC LOGISTIC along with Class statements to do binary logit model(default=1,non-default=0) on a bank loan dataset ...
2answers
4k views

### What is a good Gini decrease cutoff for feature inclusion based upon random forests?

I am using random forests to try and determine variable importance as part of feature selection for a model I'm working on, and while I can get ranked variable importance by mean decrease in Gini from ...
1answer
2k views

### The efficiency of Decision Tree

When we use top down approach to induce a decision tree, we need to use some kind of splitting criteria to choose the splitting feature and splitting value at a certain internal node. The criteria ...
1answer
2k views

### Is it possible to get confusion matrices from AUC?

When I have one confusion matrix for each cutoff level (from 0.00 to 0.99), I can compute AUC coefficient. It looks like: ...
1answer
606 views

### Are decision trees sensitive to log translations in feature space?

This question was partially answered on Are decision trees sensitive to translations in feature space?, but no references were provided for "Gini impurity and entropy measures are translation ...
1answer
1k views

### Random Forest: Class-specific Gini variable importance in R?

library(randomForest) data(iris) fit <- randomForest(Species ~ ., data=iris, importance=TRUE); fit.imp<-importance(fit) fit.imp columns 1-3 show the class-...
1answer
3k views

### Interpreting output of Cox regression model

I am trying to use two variables - activity score (ascore - a whole number indicating amount of activity) and gini (given by Gini-Simpson index - a value ranging between 0 and 1, indicating diversity ...
0answers
521 views

### How to compare two Gini results?

I'm comparing two Gini results from two distributions of income, in which one income is a source of the other. Let, say that Gini_1 = 0,770 and Gini_2 = 0,373. Clearly, Gini_2 shows a less inequal ...
1answer
6k views

### How to do feature selection by using Classification and Regression Tree (CART)?

How to do feature selection by using Classification and Regression Tree? As I know, splitting data in decision tree can use Gini Index or Entropy, but it can't be used in feature selection. So how I ...
1answer
775 views

### Is GINI limited to binary classifiers or can we use it for multi-class classifiers as well?

I have looked around and have seen GINI being used mostly in the context of binary classifiers. Does GINI make sense only for binary classifiers? Can we extend the definition to multiclass classifiers?...
1answer
84 views

### Gini index/criterion/impurity/coefficient according to Breiman, Sen, Bishop, and Duda

once again a student (me) is lost in the sea of Gini... I am currently trying to figure out, where the Gini based formula for feature selection proposed by Cehovin and Bosnic  comes from: \$Gini(A)...
1answer
385 views

### Lognormal parameters knowing GDP per-capita, Gini coefficient and quintile shares

How can i recover μ and σ for the lognormal distribution (income) knowing mean GDP per-capita (which should be my μ) and the Gini coefficient with data on 5 quintile income shares? Thanks to all. σ ...
1answer
37 views

### Gini above 1 when bootstrapping

Let's say I have a dataset (data), which contains the binary target variable class and the predictions (probabilities in [0,1]). ...
0answers
26 views

### Classification trees: contingency table and Gini index at split point (grouped categories)

I am working through chapter 14 of the book Applied predictive modeling (Kuhn, Max, and Kjell Johnson. Applied predictive modeling. Vol. 26. New York: Springer, 2013.). For tree models with categorial ...
1answer
57 views

### Number of all possible splits in each node of trees in a Random Forest

The trees in a Random Forest are grown by recursive splitting the nodes, and the best split in each node is obtained by using the Gini index, I want to know if there is a possibility to know the ...
0answers
66 views

### Gini index question

If a country A has a higher Gini index than country B, can you interpret this as that the income distribution in A is lower because of the higher inequality? So we would expect to see wealth being ...
0answers
131 views

### Gini coefficients : compare two samples with different sample sizes

I've two samples representing the distribution of tumor cell clones in two patient. In sample 1 I've about 10,000 clones - each clone has a relative abundance (so the sum of the relative abundance of ...
0answers
27 views

### Quantifying group homogeneity

I'm trying to find a way to quantify the homogeneity of a group. An example dataset is below, where group D, for example, has 5 members of type1, 1 member of type2, and 1 member of type3. Groups A ...
0answers
115 views

### How calculate Gini coefficient (unbiased) and Lorenz Curve with stratified sample?

I'm working with a stratified sample by minimum variance method with 3 levels that becomes at 1176 stratum. The sample comes from finite population of income taxes data. I'm looking for how calculate ...