I have a set of variables named for countries Algeria to Zimbabwe ordered alphabetically. There are other variables Algeria_cor to Zimbabwe_cor interspersed:
Algeria float %9.0g
Algeria_cor double %9.2f Algeria v2
Angola float %9.0g
Angola_cor double %9.2f Angola v2
Argentina float %9.0g
Argentina1 float %9.0g Argentina education lagged
Argentina_cor double %9.2f Argentina v2
Argentinachange float %9.0g Argentina change education
Armenia_cor double %9.2f Armenia v2
Australia float %9.0g
Australia_cor double %9.2f Australia v2
Austria float %9.0g
Austria_cor double %9.2f Austria v2
Bangladesh float %9.0g
Bangladesh_cor double %9.2f Bangladesh v2
Barbados_cor double %9.2f Barbados v2
Belarus_cor double %9.2f Belarus v2
Belgium float %9.0g
Belgium_cor double %9.2f Belgium v2
etc.
I want to estimate the correlations between each pair : Algeria Algeria_cor, etc. The other correlations are not relevant. I can;t figure out how to do this so any help will be appreciated.
Thanks,
Ric
Algeria float %9.0g
Algeria_cor double %9.2f Algeria v2
Angola float %9.0g
Angola_cor double %9.2f Angola v2
Argentina float %9.0g
Argentina1 float %9.0g Argentina education lagged
Argentina_cor double %9.2f Argentina v2
Argentinachange float %9.0g Argentina change education
Armenia_cor double %9.2f Armenia v2
Australia float %9.0g
Australia_cor double %9.2f Australia v2
Austria float %9.0g
Austria_cor double %9.2f Austria v2
Bangladesh float %9.0g
Bangladesh_cor double %9.2f Bangladesh v2
Barbados_cor double %9.2f Barbados v2
Belarus_cor double %9.2f Belarus v2
Belgium float %9.0g
Belgium_cor double %9.2f Belgium v2
etc.
I want to estimate the correlations between each pair : Algeria Algeria_cor, etc. The other correlations are not relevant. I can;t figure out how to do this so any help will be appreciated.
Thanks,
Ric
Comment