Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECI correlation with diversity #7

Closed
MaxLugo opened this issue Jul 12, 2019 · 4 comments
Closed

ECI correlation with diversity #7

MaxLugo opened this issue Jul 12, 2019 · 4 comments

Comments

@MaxLugo
Copy link

MaxLugo commented Jul 12, 2019

Great program!

I have a question about the program. I look at the code where you calculate the ECI and PCI. You change the sign (well depending on the resulting vector) so the ECI is always positive correlated with the diversity (and the corresponding PCI). You did this because the sign in the program could be different (of course the opposite sign vector is also the same eigenvector associated with the same eigenvalue and I think python give you the 1st unit length vector found) so doing this you ensure this feature. If you don’t do this, you could end with Japan being the less complex country according to the ECI. So you rule out all those cases.

I made a similar program in python for municipalities in Mexico. I did the same. Doing this, you can replicate the book results, correct?

Right now I am working in crime data. For me it is not clear that the ECI in this case should be always positive correlated with the diversity.

Do you know if exist a math assumption or equation so we can ensure that the ECI should be always positive correlated with diversity?

Thank you for your advice and time,

@matuteiglesias
Copy link
Member

matuteiglesias commented Jul 12, 2019 via email

@MaxLugo
Copy link
Author

MaxLugo commented Jul 13, 2019

Thank you Matias for your quick response. I will wait for any notice. Thank you again.

@agomezlievano
Copy link

Hi Max,

In what follows I assume that you are computing the ECI based on a matrix of municipalities and the prevalence/presence of crimes of different types across those municipalities. Is this right?

To your question "Do you know if exist a math assumption or equation so we can ensure that the ECI should be always positive correlated with diversity?", the answer is no. There is no equation that says that ECI should be positively correlated with diversity. This is because there is no "first principles" derivation (yet) of the ECI that guarantees that it is a mathematical object that actually estimates statistically such a thing like "complexity". We know what eigenvectors do in general, but the latter issue of formally linking the concept of complexity to one specific eigenvector of a specific type of matrix is a still current open research problem.

Having said that, let us assume that ECI does indeed quantify something like "economic complexity", i.e., let us assume that it magically estimates the number of capabilities present in a city. Then, why is it surprising to you that most diverse places are also the places that have the highest "criminal complexity index"? The most diverse cities may also be diverse regarding the "criminal knowhow" available to criminals. Thus, they can recombine all this criminal knowhow in more ways, and commit not only more crimes, but also more different types of crimes, and more "complex" and "sophisticated" crimes. Or maybe I misunderstood your question...?

@MaxLugo
Copy link
Author

MaxLugo commented Jul 14, 2019

Hi Andres,

First of all, thank you for your reply. Yes, I am using a municipality matrix and the associated crime. I already created the program and calculated an index. The program also satisfy that higher crime diversity will be associated with higher crime "complexity". As you mention, some places acquire capabilities to produce more complex crime related to the diversity. I was worry if I was missing something in between. So your answers clarify the issue.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants