16
Application of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro 1 Zack W. Almquist 1 Carter T. Butts 1,2 1 Department of Sociology 2 Institute for Mathematical Behavioral Sciences University of California – Irvine Presented at MURI Meeting June 3, 2011 This material is based on research supported by the Office of Naval Research under award N00014-08-1-1015. E. Spiro [email protected] University of California, Irvine June 3, 2011

Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Embed Size (px)

Citation preview

Page 1: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Application of Spatial Mixing Modelsto Sampled Data from Facebook

Emma S. Spiro1 Zack W. Almquist1 Carter T. Butts1,2

1Department of Sociology2Institute for Mathematical Behavioral Sciences

University of California – Irvine

Presented at MURI Meeting June 3, 2011

This material is based on research supported by the Office of Naval Research

under award N00014-08-1-1015.

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 2: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

MURI Themes

I Theoretical foundation and substantive problems

I Statistical methods

I Fast algorithms and new data structures

I Rich models of large-scale data with complex covariates

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 3: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Spatial Bernoulli Graphs, (Butts 2002)

I A simple family of models for spatially embedded socialnetworks

Pr(Y = y|D) =∏{i ,j}

B(Yij = yij |Fd (Dij)

)(1)

I Y ∈ {0, 1}N×N

I D ∈ [0,∞)N×N

I Fd : [0,∞) 7→ [0, 1]

I Assumes that dependence among edges is absorbed by thedistance structure – edges conditionally independent.

I This model can be expressed in ERG form.

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 4: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Spatial Interaction Function

I Decay as a power law in distance

Fd(x) =pb

(1 + αx)γ

where 0 ≤ pb ≤ 1 is a baseline tie probability, α ≥ 0 is ascaling parameter, and γ > 0 is the exponent which controlsthe distance effect

I Attenuated power law, arctangent decay, etc.

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 5: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Spatial Bernoulli Models with Covariates

I We can extend the model in a simple way to include tiecovariates

I Add GLM structure to the parameters of the SIF, Fd

Pr(Yij = 1) =pbij

(1 + αijdij)γij

wherepbij = ilogit(θ ∗ Xij)

αij = exp(ψ ∗Wij)

γij = exp(φ ∗ Uij)

and where θ, ψ, and φ are parameter vectors, and X, W, andU are covariate matrices.

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 6: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Application: Selective Mixing on Facebook

I Facebook is an extremely large online social network

I Data: sample of almost 1 million egocentric networks(Gjoka et al. 2010)

I Each Facebook user may indicate a university affiliation,< 4% actually do

I Rich set of covariates at the institution level

I Online context is a best case scenario for equal mixing and“weak” distance effects

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 7: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Model Fitting and Selection

SIF: Fd(x) = pb(1+αx)γ

Model pb Effects α Effects γ Effects SIF BIC

Covar

iate

Inte

rcep

t

Pub/Priv

Prest

ige

Inte

rcep

t

Pub/Priv

Prest

ige

Inte

rcep

t

Pub/Priv

Prest

ige

Model 1√ √ √ √ √ √ √ √

pl 24699480Model 2

√ √ √ √ √ √ √ √apl 24705127

Model 3√ √ √ √ √ √ √ √

pl 24709033Model 4

√ √ √ √ √ √ √apl 24710134

Model 5√ √ √ √ √ √ √

apl 24710827

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 8: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Facebook Friendship Network

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 9: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Facebook Friendship Network

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 10: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

A Model of Facebook Friendship

Parameter Covariate Estimate s.e.

pb Intercept -6.214 0.0048 **Public-Private 0.080 0.0325 **Public-Public -0.610 0.0050 **Prestige Difference -0.019 0.0001 **

α Intercept 1.224 0.0248 **Public-Private -0.376 0.0753 **Public-Public -3.435 0.0260 **Prestige Difference -0.02 0.0001 **

γ Intercept -1.006 0.0020 **Public-Private 0.358 0.0029 **Public-Public 0.901 0.0026 **

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 11: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

A Model of Facebook Friendship

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 12: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Behavior at the Origin

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 13: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Discussion

I Spatial mixing models to sampled data

I Model extension to include covariates

I Non-trivial model fitting procedure

I Inhomogeneous relationship between distance and tieprobability

I Educational inequality and social stratification

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 14: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Facebook Friendship Network

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 15: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Facebook Friendship Network

E. Spiro [email protected] University of California, Irvine June 3, 2011

Page 16: Application of Spatial Mixing Models to · PDF fileApplication of Spatial Mixing Models to Sampled Data from Facebook Emma S. Spiro1 Zack W. Almquist1 Carter T ... Meeting June 3,

Facebook Friendship Network

E. Spiro [email protected] University of California, Irvine June 3, 2011