Are people associating based on gender similarity N
Are people associating based on gender similarity? N 1 N 6 N 3 N 2 N 7 N 8 N 4 N 5 N 9
First Make a Block Model Attribute N 1 N 2 N 3 N 4 N 5 N 6 N 7 N 8 N 9 N 1 Male 0 0 1 1 1 0 N 2 Female 0 0 0 1 1 0 1 N 3 Male 1 0 0 1 1 0 0 N 4 Female 0 1 0 0 1 N 5 Male 0 1 0 0 1 1 1 N 6 Male 1 1 0 0 N 7 Male 1 1 1 0 1 0 N 8 Male 1 0 0 0 1 0 0 N 9 Female 0 1 1 0 0
First Make a Block Model Attribute N 1 N 2 N 3 N 4 N 5 N 6 N 7 N 8 N 9 N 2 Female 0 0 0 1 1 0 1 N 4 Female 0 1 0 0 1 N 9 Female 0 1 1 0 0 N 1 Male 0 0 1 1 1 0 N 3 Male 1 0 0 1 1 0 0 N 5 Male 0 1 0 0 1 1 1 N 6 Male 1 1 0 0 N 7 Male 1 1 1 0 1 0 N 8 Male 1 0 0 0 1 0 0
First Make a Block Model Attribute N 2 N 4 N 9 N 1 N 3 N 5 N 6 N 7 N 8 N 2 Female 0 1 1 0 0 1 1 1 0 N 4 Female 1 0 0 0 1 0 0 N 9 Female 1 1 0 0 0 N 1 Male 0 0 1 0 1 1 1 N 3 Male 0 0 0 1 1 0 N 5 Male 1 0 0 0 0 1 1 N 6 Male 1 1 0 0 1 0 N 7 Male 1 0 0 1 1 0 1 N 8 Male 0 0 0 1 0 1 0
First Make a Block Model Block Densities Attribute N 2 N 4 N 9 N 1 N 3 N 5 N 6 N 7 N 8 N 2 Female 0 1 1 0 0 1 1 1 0 N 4 Female 1 0 0 0 1 0 0 N 9 Female 1 1 0 0 0 N 1 Male 0 0 1 0 1 1 1 N 3 Male 0 0 0 1 1 0 N 5 Male 1 0 0 0 0 1 1 N 6 Male 1 1 0 0 1 0 N 7 Male 1 0 0 1 1 0 1 N 8 Male 0 0 0 1 0 1 0
Naïve Approach – calculate the fraction of same gender ties N 1 N 6 1 2 5 N 3 3 6 7 4 N 2 1 N 7 8 N 4 3 9 10 N 5 2 N 9 72% (13/18) of the edges are between vertices of the same gender
Finding the number of same-class ties (“Turn off the mixed-class ties with a Kronecker Delta”) Kronecker Delta
Finding the number of same-class ties (“Turn off the mixed-class ties with a Kronecker Delta”) Kronecker Delta Actual number of same-class ties
Kleinberg’s method of estimating the number of expected edges…
Proportion of Males and Females N 1 P(male) p = 6/9 N 6 N 3 N 2 N 7 N 8 N 4 N 5 N 9 P(Female) q = 3/9
Probability of Selecting a Male or Female N 1 P(male) p = 6/9 p = 2/3 N 6 N 3 N 2 N 7 N 8 N 4 N 5 N 9 P(Female) q = 3/9 q = 1/3
Probability of a Male selecting a Male-Male, Female-Female, Male-Female N 1 P(male) p = 6/9 p = 2/3 N 6 N 3 P(m-m) p 2 =4/9 N 2 N 7 N 8 N 4 N 5 N 9 P(male-female) P(female-male) 2 pq = 4/9 P(Female) q = 3/9 q = 1/3 P(f-f) q 2 =1/9
Expected number of Male-Male, Female-Female, Male-Female Ties N 1 P(male) p = 6/9 p = 2/3 N 6 N 3 P(m-m) p 2 =4/9 p 2 =8/18 N 2 N 7 N 8 N 4 N 5 N 9 P(male-female) P(female-male) 2 pq = 4/9 2 pq = 8/18 P(Female) q = 3/9 q = 1/3 P(f-f) q 2 =1/9 q 2 =2/18
Expected number of Male-Male, Female-Female, Male-Female Ties N 1 P(male) p = 6/9 p = 2/3 N 6 N 3 P(m-m) p 2 =4/9 p 2 =8/18 8 M-M N 2 N 7 N 8 Total expected # of same gender ties: 10 N 4 N 5 N 9 P(male-female) P(female-male) 2 pq = 4/9 2 pq = 8/18 8 M-F P(Female) q = 3/9 q = 1/3 P(f-f) q 2 =1/9 q 2 =2/18 2 F-F
Newman’s approach “make connections at random while preserving the vertex degrees. Ignoring vertex degrees and making connections truly at random has been show to give much poorer results”
Expected number of same-class ties
Measuring the Presence of Homophily – Calculating modularity • If there is no homophily effect, we should expect to see 10. 36 same gender ties. • Since we see 13 same gender ties instead of 10. 36, there is some evidence of homophily • We see about 3 more same gender ties than we would expect if gender had no effect on tie formation.
Measuring the Presence of Homophily - Calculating modularity • If there is no homophily effect, we should expect to see 57% same gender ties. • Since we see 72% same gender ties instead of 57%, there is some evidence of homophily • We see 14. 6% more same gender ties than what we would expect if gender had no effect on tie formation. • The modularity score is 0. 146
A much easier way to calculate modularity using a “Mixing Matrix”
Making Sociology Relevant: What do we want to say? A few empirical facts: Some racially heterogeneous schools are socially segregated
Making Sociology Relevant: What do we want to say? A few empirical facts: … while other heterogeneous schools are socially integrated. Why?
Making Sociology Relevant: What do we want to say?
Assortative Mixing by Scalar Characteristics
- Slides: 24