Crandore Hub

glorenz

Transformed and Relative Lorenz Curves for Survey Weighted Data

Functions for constructing Transformed and Relative Lorenz curves with survey sampling weights. Given a variable of interest measured in two groups with scaled survey weights so that their hypothetical populations are of equal size, tlorenz() computes the proportion of members of the group with smaller values (ordered from smallest to largest) needed for their sum to match the sum of the top qth percentile of the group with higher values. rlorenz() shows the fraction of the total value of the group with larger values held by the pth percentile of those in the group with smaller values. Fd() is a survey weighted cumulative distribution function and Eps() is a survey weighted inverse cdf used in rlorenz(). Ramos, Graubard, and Gastwirth (2025) <doi:10.1093/jrsssa/qnaf044>.

Versions across snapshots

VersionRepositoryFileSize
0.1.1 rolling source/ R- glorenz_0.1.1.tar.gz 3.4 KiB
0.1.1 rolling linux/jammy R-4.5 glorenz_0.1.1.tar.gz 18.6 KiB
0.1.1 rolling linux/noble R-4.5 glorenz_0.1.1.tar.gz 18.5 KiB
0.1.1 latest source/ R- glorenz_0.1.1.tar.gz 3.4 KiB
0.1.1 latest linux/jammy R-4.5 glorenz_0.1.1.tar.gz 18.6 KiB
0.1.1 latest linux/noble R-4.5 glorenz_0.1.1.tar.gz 18.5 KiB
0.1.1 2026-04-23 source/ R- glorenz_0.1.1.tar.gz 3.4 KiB
0.1.1 2026-04-09 windows/windows R-4.5 glorenz_0.1.1.zip 21.3 KiB

Dependencies (latest)

Imports