compute_lognormal_dist.Rd
Function to compute lognormal density distribution for arbritary params
compute_lognormal_dist( mean_income, gini, max_income = mean_income * 10, len_sample = 2000 )
mean_income | Average income level in thous USD |
---|---|
gini | GINI coeff ranging from 0 to 1 |
max_income | cutoff for max income. Set to 10 times the mean by default. |
len_sample | The number of samples to draw for lognormal. Default is set to 2000. |