Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2 (Homophily) [ 3 points] Consider a graph G=(V,A) with m edges and n nodes of R different types: 1,,R. Let Aij=1 if there

image text in transcribed

Problem 2 (Homophily) [ 3 points] Consider a graph G=(V,A) with m edges and n nodes of R different types: 1,,R. Let Aij=1 if there is an edge {i,j} and Aij=0 otherwise. Given a node i let di be its degree and ti{1,,R} be its type. For any type r{1,,R} let er:=2m1ijAij(ti,r)(tj,r) be the fraction of edges between nodes of type r, where (a,b)=1 if a=b and 0 otherwise. Similarly, let ar:=2m1idi(ti,r) be the fraction of ends of edges attached to vertices of type r. 1. Prove that modularity can be written in terms of only er and ar. Report the formula as well as the steps you used to derive it. (1p) Hint: You may want to use the relation (ti,tj)=r(ti,r)(tj,r). 2. In the fictitious city of Ithacaa there are 85 couples. Ithacaa has citizens of four ethnicity (A, B, C and D). Researchers counted the number of couples whose members were from each possible pairing of ethnic groups and found the following: where younger and older identify the youngest and oldest member in each couple. Compute the terms er and ar for each ethnicity and use your formula to compute modularity. Would you say there is homophily

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

3. How has Starbucks changed since its early days?

Answered: 1 week ago