I want to study the internal Italian migration using the network analysis.
My nodes are the Italian cities, the edges are people who move from a city to another. I built my edge list in SPSS. I have three columns (source node, target node and weight).
Other variables in my database are relative to the node, some of those are numerical (i.e. city population, GDP pro capita) others categorical (i.e. if in the city there is a university, quality of life).
Other variables are relative to the actors who moves from a node (city) to another: gender, age, and so on.
I want to study the relevance of these variables to structure the internal Italian migration network. In other words I would like to construct a regression model (may be logit) where the dependent variable is my (valued) network and the independent variables are the attributes of nodes and edges. The aim is to understand which of those attributes explains the structure of the network.
How can I do it? Do I need to implement random graph models? p2 or p *? Is there a simple tutorial for R (sna, ergm or other packages)?