ajdamico / convey

variance of distribution measures estimation of survey data
GNU General Public License v3.0
17 stars 7 forks source link

please clarify poverty text? #389

Closed ajdamico closed 1 year ago

ajdamico commented 1 year ago

The PRB of each component is estimated using the code below. Notice that PRBs are relatively small, with absolute values below 1%, with the largest bias in the GEI index component.

# repeat true population values
(theta.pop)

# estimate the expected values of the components estimators
# using the average of the estimates
(theta.exp <- rowMeans(sapply(estimate.list , coef)))

# estimate the percentage relative bias
(percentage_relative_bias <- 100 * (theta.exp / theta.pop - 1))

# stopifnot( percentage_relative_bias_variance < 1 ) 

percentage_relative_bias_variance fgt2 fgt0 fgt1 igr gei(poor;epsilon=2) -0.45123556 -1.96204368 -1.15733384 -0.07289602 4.42222360

ajdamico commented 1 year ago

i have a bit more to do, sorry