Question: Next, visualize the friendship paradox by plotting the average neighbor degree (averaged across all nodes of degree k) as a function of the node degree
Next, visualize the friendship paradox by plotting the average neighbor degree (averaged across all nodes of degree k) as a function of the node degree k in a scatter plot. Compute the Pearson correlation coefficient between the node degree and average neighbor degree as computed above. Based on the results of this test, is the network assortative, disassortative, or neutral? Justify your answer and use a one sample t-test on the Pearson correlation coefficient to evaluate whether your answer is statistically significant
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
