⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gini.m

📁 计量工具箱
💻 M
字号:
function [f,F,g,G,GINI]=gini(variable)
% PURPOSE: This function computes the Gini index and other related parameters for the Lorentz Curve
%------------------------------------------------------------------------
% USAGE: [f,F,f,G,GINI]=gini(variable)
%   where : variable = n x 1 vector of the variable to study
%------------------------------------------------------------------------
% OUTPUTS: f = (n x 1) vector of the frequencies of the sites whose value of variable is equal to Xk
%          F = (n x 1) vector of the frequencies of the sites whose value of variable is lower or equal to Xk
%          g = (n x 1) vector of the relative parts of the total weight of variable due to sites whose value is Xk
%          G = (n x 1) vector of the relative parts of the total weight of variable due to sites whose value is lower or equal to Xk
%          GINI = Gini index
%------------------------------------------------------------------------
% Christine Thomas-Agnan, Anne Ruiz-Gazen, Julien Moutel
% June 2003
% Universit

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -