MyNixOS website logo
Description

Inequality, Welfare and Poverty Indices and Curves using the EU-SILC Data.

R tools to measure and compare inequality, welfare and poverty using the EU statistics on income and living conditions surveys.

rtip

Build Status [CRAN_Status_Badge] (http://cran.r-project.org/package=rtip)

rtip is an R package containing tools to measure and compare inequality, welfare and poverty using the EU statistics on income and living conditions surveys (EU-SILC).

The package also estimates the ordinates of the Generalized Lorenz
and TIP curves. Furthermore, some tests are implemented to study the dominance of two income distributions from Generalized Lorenz and TIP curves.

Installation

The development version from github:

# install.packages("devtools")
devtools::install_github("AngelBerihuete/rtip")

Examples

There are many inequality and poverty indicators coded in the package. For instance, in order to estimate the poverty rate which is defined as the share of people with an equivalized disposable income below the at-risk-of-poverty threshold:

library(rtip)
data(eusilc2)
ATdataset <- setupDataset(eusilc2, country = "AT")
arpr(ATdataset,arpt.value = arpt(ATdataset))

The package also has a function to make a statistical test to study Generalized Lorenz dominance from sample Generalized Lorenz curve estimates:

library(rtip)
data(eusilc2)
ATdataset1 <- setupDataset(eusilc2, country = "AT", region = "Burgenland")
ATdataset2 <- setupDataset(eusilc2, country = "AT", region = "Carinthia")
testGL(ATdataset1, ATdataset2, generalized = TRUE, samplesize = 10)

It is possible to do the previous study also with TIP curves:

data(eusilc2)
ATdataset <- setupDataset(eusilc2, country = "AT")
ATdataset1 <- setupDataset(eusilc2, country = "AT", region = "Burgenland")
ATdataset2 <- setupDataset(eusilc2, country = "AT", region = "Carinthia")
testTIP(ATdataset1, ATdataset, same.arpt.value = arpt(ATdataset))

Citation

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {rtip: Inequality, Welfare and Poverty Indices and Curves using the
EU-SILC Data},
    author = {Angel Berihuete and Carmen Dolores Ramos and Miguel Angel Sordo},
    year = {2016},
    note = {R package version 1.0.0},
    url = {https://CRAN.R-project.org/package=rtip},
  }
Metadata

Version

1.1.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows