adjust_negative_predicted_features()
|
Function to adjust any negative predicted features |
aggregate_country_deciles_to_regions()
|
Function to aggregate country deciles to regions |
compute_components_data()
|
Function to calculate coefficients from raw data |
compute_deciles_lognormal()
|
Function to compute deciles using lognormal distribution |
compute_gini_deciles()
|
Function to calculate GINI coefficient from deciles. |
compute_lognormal_country()
|
Function to compute lognormal distribution for individual countries. This is passed for parallelization. |
compute_lognormal_dist()
|
Function to compute lognormal density distribution for arbritary params |
compute_palma_ratio()
|
Function to calculate palma ratio from deciles |
compute_PC_model_components()
|
Function to calculate PC coefficients for future years |
create_cores()
|
parallelization function to generate multiple cores from the CPU. |
erfinv()
|
Create inverted error function. Will need this for lognormal calculations below. |
get_centers()
|
Helper function to calculate centers for the PC model. |
get_deciles_from_components()
|
Function to calculate deciles from components and coefficients |
get_PCA_loadings()
|
Helper function to get PC loadings or components from raw data |
get_sd_center()
|
Helper function to calculate centers and standard deviation for the PC model. |
hello()
|
Hello, World! |
PC_model()
|
Function to calculate deciles using PC model |