13 an introduction to stochastic actor-oriented models (aka siena)

68
An Introduc+on to Stochas+c Actor-Oriented Models (aka SIENA) Dr. David R. Schaefer Arizona State University Social Networks & Health Training Workshop Duke University June 20, 2016

Upload: dnac

Post on 16-Feb-2017

194 views

Category:

Science


0 download

TRANSCRIPT

Page 1: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

AnIntroduc+ontoStochas+cActor-OrientedModels

(akaSIENA)

Dr.DavidR.SchaeferArizonaStateUniversity

SocialNetworks&HealthTrainingWorkshopDukeUniversityJune20,2016

Page 2: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

1Dyadindependentmodels2R(sna)=lnam

Outcome

Figureadaptedfromjimiadams

ModeledInterdependenciesNone w/inDyad1 Dyad+

A;ribute GeneralLinearModel

Actor-PartnerInterdependence

(APIM)

NetworkAutoregressive2 Stochas+c

Actor-OrientedModel(SAOM)Network Erdös-Renyi (MR)QAP

Exponen+alRandomGraph(ERGM/TERGM),Rela+onalEvent

May20,2016 DukeSocialNetworks&HealthWorkshop 2

Sta?s?calModeling&SNA

Page 3: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

WhentouseaSAOM

May20,2016 DukeSocialNetworks&HealthWorkshop 3

•  Ques+onsaboutchangesinnetworkstructureover+me–  Includingmul+plenetworks–  Includingtwo-modenetworks(selec+ngintofoci)

•  Ques+onsabouthownetworksaffectindividual“behaviors,”suchasthroughpeerinfluence–  Includingmul+plebehaviorsandpossiblereciprocaleffects

•  Ques+onsabouttheendogenousassocia+onbetweennetworksandbehavior

Page 4: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Stochas?cActor-OrientedModel

•  AlsocalledStochas+cActor-BasedModel(SABM),or“SIENA”basedonthesobwareusedtoes+matethemodel–  Simula'onInves'ga'onforEmpiricalNetworkAnalysis–  Currentlyes+mableinR(RSiena)

•  Recogni+onthatnetworksandbehaviorareinterdependent–  Behaviorscanaffectnetworkstructure–  Networkstructurecanaffectbehavior–  Thus,both“outcomes”areendogenous–  Complicatesademptstoanswerimportanttheore+calques+ons(e.g.,peerinfluence)

May20,2016 DukeSocialNetworks&HealthWorkshop 4

Page 5: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

NetworkHomogeneityonSmoking

Peer Influence

or

Friend Selection

time t

time t-1

A

C D

B

A

C D

B

A

C D

B

May20,2016 DukeSocialNetworks&HealthWorkshop 5

Page 6: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Smoking-RelatedPopularity

Popularity leads to smoking

or

Smoking enhances popularity

time t

time t-1

C D

B AC D

B A

C D

B A

May20,2016 DukeSocialNetworks&HealthWorkshop 6

Page 7: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

InferringNetwork→Behavior

Requirescontrollingfornetworkselec?onbasedon:1.  Pre-exis+ngsimilarityinthebehavior2.  Similarityonadributescorrelatedwiththebehavior3.  Networkprocesses,suchastriadclosure

•  Canamplifynetwork-behaviorpaderns(seebelow)

May20,2016 DukeSocialNetworks&HealthWorkshop 7

C D

B A

I♥Homophily!

C D

B A

C D

B A

Homophilythrough

Reciprocity

Homophilythrough

Transi?vity

Page 8: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

OverviewofModelPresenta?on

1.  Thegeneralformofthemodel–  Networkfunc+onforrela+onshipchange–  Behaviorfunc+onfor“behavior”change–  Ratefunc+ons

2.  Modeles+ma+onprocedure–  Modelassump+ons–  MCMCes+ma+onalgorithm–  GoodnessofFit

3.  Empiricalexample4.  Extensions&Miscellany

May20,2016 DukeSocialNetworks&HealthWorkshop 8

Page 9: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

1.GeneralSAOMForm

May20,2016 DukeSocialNetworks&HealthWorkshop 9

Page 10: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

•  Discretechangeismodeledasoccurringincon+nuous+me(betweenobserva+ons)throughasequenceofmicrosteps

•  Actorscontroltheiroutgoing+esandbehavior–  Func+onsspecifywhenandhowtheychange

SAOMComponents

DecisionTiming(whenchangesoccur)

DecisionRules(howchangesoccur)

NetworkEvolu+on Networkratefunc+on

Networkobjec+vefunc+on

BehaviorEvolu+on Behaviorratefunc+on

Behaviorobjec+vefunc+on

May20,2016 DukeSocialNetworks&HealthWorkshop 10

Page 11: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

NetworkObjec?veFunc?on

•  Networkchangeismodeledbyallowingactorstoselect+es(byaddingordroppingthem)basedupon:

fi(β,x)isthevalueofthenetworkobjec+vefunc+onforactori,given:•  thecurrentsetofparameteres+mates(β)•  stateofthenetwork(x)•  Forkeffects,representedasski,whichmaybebasedon

–  thenetwork(x),orindividualadributes(z)•  Es+matedwithrandomdisturbance(ε)associatedwithx, z, t andj

•  Goalofmodelfimngistoes+mateeachβk

May20,2016 DukeSocialNetworks&HealthWorkshop 11

fi (β, x) = βkskik∑ (x)+ε(x, z, t, j)

Page 12: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

j3

ego

j4

j2

j1

NetworkDecision

fego(β,x) = -2

xijj∑ + 1.8

xij x jij∑

outdegree reciprocity

fego(β,x) = -2

xijj∑ + 1.8

xij x jij∑

fego(β,x) = -2

xijj∑ + 1.8

xij x jij∑

Duringamicrostep,anactorevaluateshowchangingitsoutgoing+eineachdyadwouldaffectthevalueoftheobjec+vefunc+on(goalistomaximizethevalueofthefunc+on)

ego j1 j2 j3 j4

ego - 1 1 0 0

j1 1 - 0 0 0

j2 0 0 - 0 0

j3 1 0 0 - 0

j4 0 0 0 0 -

May20,2016 DukeSocialNetworks&HealthWorkshop 12

If… outdegree reciprocity sum

Nochange -2*2=-4 1.8*1=1.8 -2.2

Dropj1 -2*1=-2 1.8*0=0 -2

Dropj2 -2*1=-2 1.8*1=1.8 -.2

Addj3 -2*3=-6 1.8*3=3.6 -2.4

Addj4 -2*3=-6 1.8*1=1.8 -4.2

Giventhecurrentstateofthenetwork,egoismostlikelytodropthe?etoj2,becausethatdecisionmaximizestheobjec+vefunc+on

Page 13: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

•  Outdegreealwayspresent•  Networkprocesses(e.g.,reciprocity,transi+vity)•  Adributebased:

–  Sociality:effectofadributeonoutgoing+es–  Popularity:effectofbehavioronincoming+es–  Homophily:ego-altersimilarity–  Note:adributesmaybestableor+me-changing(exogenousorendogenouslymodeled)

•  Dyadicadributes(e.g.,co-membership)

May20,2016 DukeSocialNetworks&HealthWorkshop 13

NetworkObjec?veFunc?onEffects

Page 14: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

•  Predictchangein“behavior,”whichisthegenerictermforanindividualadribute–  Referstoanyamtude,belief,healthfactor,etc.

•  Op+onal:SAOMsdon’trequireoneandthey’renotrelevantformanyques+ons

•  Ordinalmeasurementrequired(~2-10levelsbest)•  Goalistoes+mateeffectofnetworkonbehaviorchange

May20,2016 DukeSocialNetworks&HealthWorkshop 14

BehaviorObjec?veFunc?on

Page 15: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

BehaviorObjec?veFunc?on

•  Choiceprobabili+estaketheformofamul+nomiallogitmodelinstan+atedbytheobjec+vefunc+on

wherezrepresentsthebehavior•  Thefunc+ondictateswhichlevelofthebehavioractorsadopt

–  Actorsevaluateallpossiblechanges•  Increase/decreasebyoneunit,ornochange

–  Op+onwithhighestevalua+onmostlikely

May20,2016 DukeSocialNetworks&HealthWorkshop 15

fiz (β, x, z) = βk

zskiz

k∑ (x, z)+ε(x, z, t,δ)

FigureadaptedfromC.Steglich

Page 16: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

•  Lineartermtocontrolfordistribu+on(quadra+ctermifthebehaviorhas3+levels)

•  Predictorsofpeerinfluence–  Alters’valueonthebehavior,oranotheradributeorbehavior

•  Mul+plespecifica+ons,includingmean,minimum,maximum…

•  Ego’sotherbehaviorsoradributes(e.g.,gender,age)–  Ego’snetworkposi+on(e.g.,degree)–  Interac+onswithreciprocity

May20,2016 DukeSocialNetworks&HealthWorkshop 16

BehaviorObjec?veFunc?onEffects

Page 17: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

BehaviorDecision

May20,2016 DukeSocialNetworks&HealthWorkshop 17

Lineareffect

Quadra+ceffect

Adributeeffect(e.g.age)

Similarityeffect

Howadrac+veiseachlevelofthebehaviorbasedontheseeffects?

Page 18: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Ego,j1 1-|1-1|/2=.5 1(.5-.05)=.45

Ego,j2 1-|1-1|/2=.5 1(.5-.05)=.45

Ego,j3 1-|1-0|/2=0 1(0-.05)=.05

Ego,j4 1-|1-2|/2=0 0(0-.05)=0

Similaritysta?s?c=.95

BehaviorDecision*

May20,2016 DukeSocialNetworks&HealthWorkshop 18

J3(0)

Ego(1)

J4(2)

J1(1)€

xij (simijZ − simZ )

j∑

simijZ =1−|

z i−z j |

/ΔZ

ΔZ =maxij |

z i−z j| = 2 where=

simZ = similarity expected by chance

= similarity expected by chance = .05

simijZ xij (simij

Z − simZ )j2(1)Maintainz=1

First,calculatesimilarityforeachofego’spossibledecisions

*Assumecovariatesuncentered

Page 19: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Ego,j1 1-|0-1|/2=0 1(0-.05)=-.05

Ego,j2 1-|0-1|/2=0 1(0-.05)=-.05

Ego,j3 1-|0-0|/2=.5 1(.5-.05)=.45

Ego,j4 1-|0-2|/2=-.5 0(-.5-.05)=0

Similaritysta?s?c=.35

BehaviorDecision*

May20,2016 DukeSocialNetworks&HealthWorkshop 19

J3(0)

Ego(1)

J4(2)

J1(1)

First,calculatesimilarityforeachofego’spossibledecisions

xij (simijZ − simZ )

j∑

simijZ =1−|

z i−z j |

/ΔZ

ΔZ =maxij |

z i−z j| = 2 =

simZ = similarity expected by chance

= similarity expected by chance = .05

simijZ xij (simij

Z − simZ )j2(1)Decreasetoz=0

*Assumecovariatesuncentered

where

Page 20: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Ego,j1 1-|2-1|/2=0 1(0-.05)=-.05

Ego,j2 1-|2-1|/2=0 1(0-.05)=-.05

Ego,j3 1-|2-0|/2=-.5 1(-.5-.05)=-.45

Ego,j4 1-|2-2|/2=.5 0(.5-.05)=0

Similaritysta?s?c=-.55

BehaviorDecision*

May20,2016 DukeSocialNetworks&HealthWorkshop 20

J3(0)

Ego(1)

J4(2)

J1(1)€

xij (simijZ − simZ )

j∑

simijZ =1−|

z i−z j |

/ΔZ

ΔZ =maxij |

z i−z j| = 2 =

simZ = similarity expected by chance

= similarity expected by chance = .05

simijZ xij (simij

Z − simZ )j2(1)Increasetoz=2

First,calculatesimilarityforeachofego’spossibledecisions

*Assumecovariatesuncentered

where

Page 21: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

BehaviorDecision*

May20,2016 DukeSocialNetworks&HealthWorkshop 21

If… linear quad age similarity sum

Dropto0 -.5*0=0 .25*0=0 .1*10*0=0 1*.35=.35 .35

Stayat1 -.5*1=-.5 .25*1=.25 .1*10*1=1 1*.95=.95 1.7

Upto2 -.5*2=-1 .25*4=1 .1*10*2=2 1*-.55=-.55 1.45

*Assumecovariatesuncentered

Second,calculatethecontribu+onsforeachoftheothereffects

Page 22: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

BehaviorDecision*

May20,2016 DukeSocialNetworks&HealthWorkshop 22

If… linear quad age similarity sum

Dropto0 -.5*0=0 .25*0=0 .1*10*0=0 1*.35=.35 .35

Stayat1 -.5*1=-.5 .25*1=.25 .1*10*1=1 1*.95=.95 1.7

Upto2 -.5*2=-1 .25*4=1 .1*10*2=2 1*-.55=-.55 1.45

*Assumecovariatesuncentered

Theseeffectspullegotowardthe

extremes

Theposi+veagebpushesego’s

behaviorupward

Similaritypushesegotostaythe

same

Altogether,thegreatestcontribu+ontothebehaviorfunc+oncomesfromegochoosingtomaintainthesamebehaviorlevel

Page 23: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

•  Necessaryforbothnetworkandbehavior•  Determinethewai+ng+meun+lactor’schancetomakedecisions•  Func+onofobservedchanges

–  Butnotthesameasthenumberofchangesobserved–  Separaterateparameterforeachperiodbetweenobserva+ons

•  Wai+ng+medistributeduniformlybydefault,butdifferencescanbemodeledbasedon:•  Actoradributes:dosometypesofactorsexperiencemoreor

lesschange•  Degree:doactorswithmore/fewer+esexperienceadifferent

volumeofchange

May20,2016 DukeSocialNetworks&HealthWorkshop 23

RateFunc?ons

Page 24: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

2.SAOMEs+ma+on

May20,2016 DukeSocialNetworks&HealthWorkshop 24

Page 25: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

SAOMEs?ma?on

•  Goalduringes+ma+onistoiden+fyparametervalues(i.e.,amodel)thatproducenetworkswhosesta+s+csarecenteredontargetsta+s+cs–  Sameasmodeledeffectsmeasuredatt1+

•  Robbins-Monroalgorithminthreephases1.  Ini+alizeparameterstar+ngvalues2.  Usesimula+onstorefineparameteres+mates(nextslide)

•  Alargenumberofsimula+onitera+ons,nestedin4+subphases•  Actordecisionsand+mingbasedonobjec+veandratefunc+ons•  Updateparameteres+matesabereachsimula+onitera+on

–  Adempttominimizedevia+onofendingstatefromtarget3.  Addi+onalsimula+ons(2,000+)tocalculatestandarderrorsbasedon

parameteres+matesfromphase2

May20,2016 DukeSocialNetworks&HealthWorkshop 25

Page 26: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

MarkovChainAlgorithm

May20,2016 DukeSocialNetworks&HealthWorkshop 26

Ini+alizeatfirstobserva+on

Actorsdraw:1)  Wai+ng+mefornetwork2)  Wai+ng+meforbehaviorDeterminedbyratefunc+ons

Shortestwai+ng+me/typeiden+fied

Timeup?Actorchanges+e|behavior

Determinedbyobjec+vefunc+ons

Update+me(nextmicrostep)

“STOP”

YesNo

ForeachstepinaMarkovchain:

Maxitera+ons?

No

Yes

IfPhase2,updateparameters

Storeendingnetwork&behavior

Page 27: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Post-Es?ma?on1

•  CheckforConvergence•  Convergenceachievedwhenmodelisabletoreproduce

observednetwork&behaviorat+me2+–  Foreacheffect,t-ra+otocomparetargetsta+s+cswithdistribu+on(tshouldbe<.10)

– Maximumt-ra+oforconvergence(tconv.max)shouldbelessthan.25

–  Ifconvergencenotreached,rerunwithusinges+matesasnewstar+ngvalues;mayneedtorespecifymodel

May20,2016 DukeSocialNetworks&HealthWorkshop 27

Page 28: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Post-Es?ma?on2

•  GoodnessofFit•  Usesimula+onstocomparenetworksgeneratedbymodelto

sta+s+csNOTexplicitlyinthemodel–  Typicalcandidates:

•  In-&Out-degreedistribu+ons•  TriadCensus•  Geodesicdistribu+on•  Behaviordistribu+on•  Behaviornetworkassocia+ons

May20,2016 DukeSocialNetworks&HealthWorkshop 28

Page 29: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

3.SAOMExample

May20,2016 DukeSocialNetworks&HealthWorkshop 29

Page 30: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

AnEmpiricalExamplewithAdolescentSmoking

•  Na+onalLongitudinalStudyofAdolescentHealth(AddHealth)•  In-homesurveysconducted1994-1995(2waves)

–  Earlierin-schoolsurveyhasnetworkdatabutlimitedbehaviordata

•  Studentsnominatedupto5maleand5femalefriends(directednetwork)–  Friendshipscodedpresent(1)orabsent(0)foreachdyad

May20,2016 DukeSocialNetworks&HealthWorkshop 30

Page 31: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

30-daysmoking

None(0)

1-11days(1)

12+days(2)

JeffersonHigh(AddHealth,1995)

May20,2016 DukeSocialNetworks&HealthWorkshop 31

Page 32: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

•  Helpfultoimaginethenetworkfunc+onasalogis+cregression–  Unitofanalysis:dyad–  Outcome:+epresence(keepingoradding)vs.absence(dissolvingorfailingtoadd)

–  Eacheffectrepresentshowaone-unitchangeintheeffectsta+s+caffectsthelog-oddsofa+e,allelsebeingequal

•  Someeffectsinterpretableusingoddsra+os,but– One-unitchangesmaynotbemeaningful– Allelseisneverequal(anychangealsoaffectstheoutdegreecount,ataminimum)

•  Behaviorfunc+onspecifieshowaone-unitchangeintheeffectsta+s+caffectstheoddsofincreasingbehavioroneunit

May20,2016 DukeSocialNetworks&HealthWorkshop 32

Interpre?ngResults

Page 33: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Networkfunc?on b SERate 10.26*** .49Outdegree -3.91*** .08Reciprocity 1.91*** .09Transi+vetriplets .52*** .04Popularity .29*** .04Extracurric.act.overlap .28*** .06Smokesimilarity .68*** .12Smokealter .14** .05Smokeego -.04 .05Femalesimilarity .24*** .04Femalealter -.11* .05Femaleego -.04 .05Agesimilarity 1.00*** .13Agealter -.01 .03Ageego -.04 .03Delinquencysimilarity .15 .08Delinquencyalter -.04 .04Delinquencyego .02 .04Alcoholsimilarity .27** .10Alcoholalter -.03 .03Alcoholego -.03 .04GPAsimilarity .70*** .13GPAalter -.05 .04GPAego -.02 .04

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

May20,2016 DukeSocialNetworks&HealthWorkshop 33

Rate:Eachactorisgiven~10microstepsinwhichtomakeachangetoitsnetwork•  Adda+e,dropa+e,ormake

nochange

Rate

Page 34: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Networkfunc?on b SERate 10.26*** .49Outdegree -3.91*** .08Reciprocity 1.91*** .09Transi+vetriplets .52*** .04Popularity .29*** .04Extracurric.act.overlap .28*** .06Smokesimilarity .68*** .12Smokealter .14** .05Smokeego -.04 .05Femalesimilarity .24*** .04Femalealter -.11* .05Femaleego -.04 .05Agesimilarity 1.00*** .13Agealter -.01 .03Ageego -.04 .03Delinquencysimilarity .15 .08Delinquencyalter -.04 .04Delinquencyego .02 .04Alcoholsimilarity .27** .10Alcoholalter -.03 .03Alcoholego -.03 .04GPAsimilarity .70*** .13GPAalter -.05 .04GPAego -.02 .04

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

May20,2016 DukeSocialNetworks&HealthWorkshop 34

Outdegree:Thenega+vesignistypical.Itmeansthat+esareunlikely,unlessothereffectsinthemodelmakeaposi+vecontribu+ontothenetworkfunc+on.

density

Page 35: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Networkfunc?on b SERate 10.26*** .49Outdegree -3.91*** .08Reciprocity 1.91*** .09Transi+vetriplets .52*** .04Popularity .29*** .04Extracurric.act.overlap .28*** .06Smokesimilarity .68*** .12Smokealter .14** .05Smokeego -.04 .05Femalesimilarity .24*** .04Femalealter -.11* .05Femaleego -.04 .05Agesimilarity 1.00*** .13Agealter -.01 .03Ageego -.04 .03Delinquencysimilarity .15 .08Delinquencyalter -.04 .04Delinquencyego .02 .04Alcoholsimilarity .27** .10Alcoholalter -.03 .03Alcoholego -.03 .04GPAsimilarity .70*** .13GPAalter -.05 .04GPAego -.02 .04

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

May20,2016 DukeSocialNetworks&HealthWorkshop 35

Reciprocity:Tiesthatcreateareciprocated+earemorelikelytobeaddedormaintained.Thiseffecthoversaround2infriendship-typenetwork.

recip

Page 36: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Networkfunc?on b SERate 10.26*** .49Outdegree -3.91*** .08Reciprocity 1.91*** .09Transi+vetriplets .52*** .04Popularity .29*** .04Extracurric.act.overlap .28*** .06Smokesimilarity .68*** .12Smokealter .14** .05Smokeego -.04 .05Femalesimilarity .24*** .04Femalealter -.11* .05Femaleego -.04 .05Agesimilarity 1.00*** .13Agealter -.01 .03Ageego -.04 .03Delinquencysimilarity .15 .08Delinquencyalter -.04 .04Delinquencyego .02 .04Alcoholsimilarity .27** .10Alcoholalter -.03 .03Alcoholego -.03 .04GPAsimilarity .70*** .13GPAalter -.05 .04GPAego -.02 .04

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

May20,2016 DukeSocialNetworks&HealthWorkshop 36

Transi?vetriplets:Tiesthatcreatemoretransi+vetriadshaveagreaterlikelihood.•  Shouldalsotestinterac+on

withReciprocity(usuallynega+ve)

transTrip

Page 37: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Networkfunc?on b SERate 10.26*** .49Outdegree -3.91*** .08Reciprocity 1.91*** .09Transi+vetriplets .52*** .04Popularity .29*** .04Extracurric.act.overlap .28*** .06Smokesimilarity .68*** .12Smokealter .14** .05Smokeego -.04 .05Femalesimilarity .24*** .04Femalealter -.11* .05Femaleego -.04 .05Agesimilarity 1.00*** .13Agealter -.01 .03Ageego -.04 .03Delinquencysimilarity .15 .08Delinquencyalter -.04 .04Delinquencyego .02 .04Alcoholsimilarity .27** .10Alcoholalter -.03 .03Alcoholego -.03 .04GPAsimilarity .70*** .13GPAalter -.05 .04GPAego -.02 .04

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

May20,2016 DukeSocialNetworks&HealthWorkshop 37

IndegreePopularity:Actorswithmoreincoming+eshaveagreaterlikelihoodofreceivingfuture+es

inPop

Page 38: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Networkfunc?on b SERate 10.26*** .49Outdegree -3.91*** .08Reciprocity 1.91*** .09Transi+vetriplets .52*** .04Popularity .29*** .04Extracurric.act.overlap .28*** .06Smokesimilarity .68*** .12Smokealter .14** .05Smokeego -.04 .05Femalesimilarity .24*** .04Femalealter -.11* .05Femaleego -.04 .05Agesimilarity 1.00*** .13Agealter -.01 .03Ageego -.04 .03Delinquencysimilarity .15 .08Delinquencyalter -.04 .04Delinquencyego .02 .04Alcoholsimilarity .27** .10Alcoholalter -.03 .03Alcoholego -.03 .04GPAsimilarity .70*** .13GPAalter -.05 .04GPAego -.02 .04

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

May20,2016 DukeSocialNetworks&HealthWorkshop 38

DyadicCovariate:Actorswhoshareanextracurricularac+vity(coded1)aremorelikelytohaveafriendship+e

X

Page 39: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Networkfunc?on b SERate 10.26*** .49Outdegree -3.91*** .08Reciprocity 1.91*** .09Transi+vetriplets .52*** .04Popularity .29*** .04Extracurric.act.overlap .28*** .06Smokesimilarity .68*** .12Smokealter .14** .05Smokeego -.04 .05Femalesimilarity .24*** .04Femalealter -.11* .05Femaleego -.04 .05Agesimilarity 1.00*** .13Agealter -.01 .03Ageego -.04 .03Delinquencysimilarity .15 .08Delinquencyalter -.04 .04Delinquencyego .02 .04Alcoholsimilarity .27** .10Alcoholalter -.03 .03Alcoholego -.03 .04GPAsimilarity .70*** .13GPAalter -.05 .04GPAego -.02 .04

Tiesdrivenbysimilarityon:Gender(coulduse“same”effect)AgeAlcoholuseGPAFemaleslessadrac+veasfriendsthanmales.

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

altX

egoX

simX

May20,2016 DukeSocialNetworks&HealthWorkshop 39

Page 40: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Networkfunc?on b SERate 10.26*** .49Outdegree -3.91*** .08Reciprocity 1.91*** .09Transi+vetriplets .52*** .04Popularity .29*** .04Extracurric.act.overlap .28*** .06Smokesimilarity .68*** .12Smokealter .14** .05Smokeego -.04 .05Femalesimilarity .24*** .04Femalealter -.11* .05Femaleego -.04 .05Agesimilarity 1.00*** .13Agealter -.01 .03Ageego -.04 .03Delinquencysimilarity .15 .08Delinquencyalter -.04 .04Delinquencyego .02 .04Alcoholsimilarity .27** .10Alcoholalter -.03 .03Alcoholego -.03 .04GPAsimilarity .70*** .13GPAalter -.05 .04GPAego -.02 .04

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

Tiesdrivenbysimilarityonsmokingbehavior.Smokersmoreadrac+veasfriendsthannon-smokers.

Alter Nonsmoker Smoker

Ego Nonsmoker .25 -.19 Smoker -.51 .41

Similarityisan“interac+on”betweenegoandalter,thusinterpreta+onrequiresconsideringthemaineffectsEgo-alterselec+on:Contribu+onstonetworkobjec+vefunc+onbydyadtype

May20,2016 DukeSocialNetworks&HealthWorkshop 40

Page 41: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

Smokingfunc?on b SERate 2.06*** .26Linearshape -.11 .22Quadra+cshape 1.17*** .16Female .16 .19Age -.00 .10ParentSmoking .01 .23Delinquency .44** .16Alcohol -.10 .14GPA -.09 .13Averagesimilarity 2.89*** .91In-degree -.04 .11In-degreesquared .00 .01

May20,2016 DukeSocialNetworks&HealthWorkshop 41

Rate:Studentshavearound2chancesonaverage(microsteps)tochangetheirsmokingbehavior

Rate

Page 42: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

Smokingfunc?on b SERate 2.06*** .26Linearshape -.11 .22Quadra+cshape 1.17*** .16Female .16 .19Age -.00 .10ParentSmoking .01 .23Delinquency .44** .16Alcohol -.10 .14GPA -.09 .13Averagesimilarity 2.89*** .91In-degree -.04 .11In-degreesquared .00 .01

May20,2016 DukeSocialNetworks&HealthWorkshop 42

linear

quad

Page 43: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

Smokingfunc?on b SERate 2.06*** .26Linearshape -.11 .22Quadra+cshape 1.17*** .16Female .16 .19Age -.00 .10ParentSmoking .01 .23Delinquency .44** .16Alcohol -.10 .14GPA -.09 .13Averagesimilarity 2.89*** .91In-degree -.04 .11In-degreesquared .00 .01

May20,2016 DukeSocialNetworks&HealthWorkshop 43

Smoking(z,M=.9) Linear Quad

Raw Centered b=-.11 b=1.17 Sum

0 -.90 .099 .948 1.047

1 .10 -.011 .012 .001

2 1.10 -.121 1.416 1.295

SmokingLevel

Summed

Effe

cts

Incombina+on,thelinearandquadeffectsrepresenttheU-shapedsmokingdistribu+on.•  Kidseitherdon’tsmokeor

smoke12+days/month.

.0

.2

.4

.6

.8

1.0

1.2

1.4

0 1 2

Contribu?ontoBehaviorFunc?on

+ =

+ =

+ =

Page 44: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

Smokingfunc?on b SERate 2.06*** .26Linearshape -.11 .22Quadra+cshape 1.17*** .16Female .16 .19Age -.00 .10ParentSmoking .01 .23Delinquency .44** .16Alcohol -.10 .14GPA -.09 .13Averagesimilarity 2.89*** .91In-degree -.04 .11In-degreesquared .00 .01

EgoCovariate:Delinquencyleadstohigherlevelsofsmoking

May20,2016 DukeSocialNetworks&HealthWorkshop 44

effFrom

Page 45: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

FromSchaefer,D.R.S.A.Haas,andN.Bishop.2012.“ADynamicModelofUSAdolescents’SmokingandFriendshipNetworks.”AmericanJournalofPublicHealth,102:e12-e18.

Smokingfunc?on b SERate 2.06*** .26Linearshape -.11 .22Quadra+cshape 1.17*** .16Female .16 .19Age -.00 .10ParentSmoking .01 .23Delinquency .44** .16Alcohol -.10 .14GPA -.09 .13Averagesimilarity 2.89*** .91In-degree -.04 .11In-degreesquared .00 .01

AverageSimilarity:Studentsadoptsmokinglevelsthatbringthemclosertotheaverageoftheirfriends

xi+−1 xijj∑ (simij

z − simz )

Δ

−−Δ=

jiij

zzsim

jiij zz −=Δ max

May20,2016 DukeSocialNetworks&HealthWorkshop 45

avSim

Page 46: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

•  Howwellisthees+matedmodelabletoreproducefeaturesoftheobserveddatathatwerenotexplicitlymodeled?–  Network

•  Degreedistribu+on•  Geodesicdistribu+on•  Triadcensus

–  Behaviordistribu?on

LotsofroomtoimproveGOFmeasures,especiallybehavior

May20,2016 DukeSocialNetworks&HealthWorkshop 46

GoodnessofFit(GOF)

Page 47: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Cumula?veIndegreeDistribu?onGoodness of Fit of IndegreeDistribution

p: 0

Statistic

0 1 2 3 4 5 6 7 8

139

193

282

343

401

437

459

483491

May20,2016 DukeSocialNetworks&HealthWorkshop 47

Page 48: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

GeodesicDistribu?onGoodness of Fit of GeodesicDistribution

p: 0.001

Statistic

1 2 3 4 5 6 7

1381

2795

5014

7772

10598

12081 11892

May20,2016 DukeSocialNetworks&HealthWorkshop 48

Page 49: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

TriadCensusGoodness of Fit of TriadCensus

p: 0.114

Sta

tistic

(cen

tere

d an

d sc

aled

)

003 012 102 021D 021U 021C 111D 111U 030T 030C 201 120D 120U 120C 210 300

21286492428358 129429

693

11411052

923

625

108

4 171114

5839

91

36

May20,2016 DukeSocialNetworks&HealthWorkshop 49

Page 50: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

SmokingDistribu?onGoodness of Fit of BehaviorDistribution

p: 1

Statistic

0 1 2

222

98

182

May20,2016 DukeSocialNetworks&HealthWorkshop 50

Page 51: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

4.Extensions&Miscellany

May20,2016 DukeSocialNetworks&HealthWorkshop 51

Page 52: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

ExtensionstoBasicModel

May20,2016 DukeSocialNetworks&HealthWorkshop 52

•  interac+ons•  eventhistoryoutcomes•  mul+plebehaviors•  mul+plenetworkop+ons•  valued+es•  mul+levelnetworks•  twomodenetworks•  increasevs.decreasein+esand/orbehavior•  +meheterogeneity•  simula+ons(testinterven+ons)•  ML,Bayeses+ma+on

Page 53: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

AsymmetricPeerInfluence

•  Implicitassump+onthateffectsworkthesamefor:–  Tieforma+onvs.dissolu+on–  Behaviorincreasevs.decrease

•  Unrealis+cforsmoking–  Physical/psychologicaldependence,sociallearning

•  Easytorelaxthisassump+on–  Separatebehaviorobjec+vefunc+oninto:

•  Crea?onfunc?on:onlyconsidersincreases• Maintenancefunc?on:onlyconsidersdecreases

–  Couldmakesimilardis+nc+oninthenetworkfunc+on

May20,2016 DukeSocialNetworks&HealthWorkshop 53

Page 54: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Contribu?onstotheSmokingFunc?on

Contrib

u+on

Prospec+veSmoking

NonsmokingAlters

J=JeffersonHighSchoolS=SunshineHighSchool

FromHaas,StevenA.andDavidR.Schaefer.2014.“WithaLidleHelpfromMyFriends?AsymmetricalSocialInfluenceonAdolescentSmokingIni+a+onandCessa+on.”JournalofHealthandSocialBehavior,55:126-143.

Smokinglevelwithgreatestcontribu+onmostlikelytobeadopted(withcaveatthatactorscanonlymovebehavioronelevelduringagivenmicrostep)

-3-1

13

Current Smoking

Util

.

0 1 2

J

JJ

S

SS

A

-3-1

13

Current Smoking

Util

.

0 1 2

J

JJ

S

SS

B

-3-1

13

Current Smoking

Util

.

0 1 2

JJ

J

S

S

S

C

-3-1

13

Current Smoking

Util

.

0 1 2

J

JJ

SS

S

D

-3-1

13

Current Smoking

Util

.

0 1 2

JJ

JS

SS

E

-3-1

13

Current Smoking

Util

.

0 1 2

J

J

JS

S S

F

-3-1

13

Util

.

0 1 2

J

J

J

SS

S

G

-3-1

13

Util

.

0 1 2

J

J

J

S

S

S

H

-3-1

13

Util

.

0 1 2

J

J

J

S

S

S

I

Contrib

u+on

Prospec+veSmoking

SmokingAlters

-3-1

13

Current Smoking

Util

.

0 1 2

J

JJ

S

SS

A

-3-1

13

Current Smoking

Util

.

0 1 2

J

JJ

S

SS

B

-3-1

13

Current Smoking

Util

.

0 1 2

JJ

J

S

S

S

C

-3-1

13

Current Smoking

Util

.

0 1 2

J

JJ

SS

S

D

-3-1

13

Current Smoking

Util

.

0 1 2

JJ

JS

SS

E

-3-1

13

Current Smoking

Util

.

0 1 2

J

J

JS

S S

F

-3-1

13

Util

.

0 1 2

J

J

J

SS

S

G

-3-1

13

Util

.

0 1 2

J

J

J

S

S

S

H

-3-1

13

Util

.

0 1 2

J

J

J

S

S

S

I

Egoiscurrentlyamoderatesmoker(1)

May20,2016 DukeSocialNetworks&HealthWorkshop 54

Page 55: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

SIENAasanABM

•  Usefultoevaluategoodness-of-fit,decomposenetwork-behaviorassocia+ons,evaluateinterven+ons

•  Usesthesamealgorithmasmodelfimng1.  Fitmodeltoempiricaldata(op+onal)2.  Simulatenetworkevolu+onusinges+matedparametersor

manipula+onsofthem•  Canalsomanipulateini+alcondi+ons(e.g.,networkstructure,behaviordistribu+on,etc.)

3.  Measuresimulatednetwork/behaviorproper+esofinterest

May20,2016 DukeSocialNetworks&HealthWorkshop 55

Page 56: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

DecomposingNetworkHomogeneity

Source Selec?on(%) Influence(%) Sample

Schaeferetal.2012 40 34 U.S.

Merckenetal.2009 17-47 6-23 Europe(6countries)

Merckenetal.2010 31-46 15-22 Finland

Steglichetal.2010 25-34 20-37 Scotland

•  Howmuchnetworkhomogeneityonsmokingisduetoselec?onvs.influence?–  Systema+callysetselec+onandinfluenceparameterstozeroandsimulatenetwork-behaviorco-evolu+on(seeSteglichetal.2010)

May20,2016 DukeSocialNetworks&HealthWorkshop 56

Page 57: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

Evalua?ngInterven?ons

Howdosmoking/friendshipdynamicsaffectsmokingprevalence?•  Manipulatemodelparametersrelatedtokey“interven+on

levers”–  Peerinfluence(absent…strong)–  Smokerpopularity(unpopular…absent…popular)

•  Remainingmodelparametersfromfidedmodel•  Ini+alcondi+ons=observedwave1data

May20,2016 DukeSocialNetworks&HealthWorkshop 57

Page 58: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

ResultsofManipula?ngPeerInfluence(PI)andSmoking-basedPopularity(smokealter)

SchaeferDR,adamsj,HaasSA.2013.SocialNetworksandSmoking:ExploringtheEffectsofPeerInfluence

andSmokerPopularitythroughSimula+ons.HealthEduca'on&Behavior,40(S1):24-32.

May20,2016 DukeSocialNetworks&HealthWorkshop 58

IndependentManipula+onsJointManipula+on

Strongerpeerinfluenceincreasessmokingprevalence,butonlywhensmokersarepopular(nega+veeffectswhensmokersunpopular)

Page 59: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

ContextEffects

Howdotheseeffectsdependuponcontext?•  Randomlymanipulateini+alsmokingprevalence

–  25%ini+alsmokersupto75%•  Randomlydistributesmokersandnonsmokersacrossthe

network–  Similarresultswithempiricalandmodel-basedmanipula+ons

•  Fullresultsinadams,jimi&DavidR.Schaefer.2016.“HowIni+alPrevalenceModeratesNetwork-BasedSmokingChange:Es+ma+ngContextualEffectswithStochas+cActorBasedModels.”JournalofHealth&SocialBehavior57(1):22-38.

May20,2016 DukeSocialNetworks&HealthWorkshop 59

Page 60: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

May20,2016 DukeSocialNetworks&HealthWorkshop 60

SmokingDistribu+on:Empirically-Based,Model-Based,Random

Page 61: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

May20,2016 DukeSocialNetworks&HealthWorkshop 61

PI Parameter01

23

45

6

Smoke Alter Param

eter

-0.4

-0.2

0.0

0.2

0.4

0.6

0.8

Change in S

mokers

-0.2

-0.1

0.0

0.1

0.2

25%Ini+alSmokers 75%Ini+alSmokers

PI Parameter01

23

45

6

Smoke Alter Param

eter

-0.4

-0.2

0.0

0.2

0.4

0.6

0.8

Change in S

mokers

-0.2

-0.1

0.0

0.1

0.2

Contras?ngContexts

Page 62: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

•  Tiesaremoreorlessenduringstates–  Plausibleforfriendshiporcollabora+ons–  Notusefulfor“event”data(e.g.phonecalls)

•  Changeoccursincon+nuous+me•  Markovprocess:futurestateonlyafunc+onofcurrentstate

–  Nolaggedeffects,“grudges”•  Actorscontroloutgoing+esandbehavior•  Onechangeata+me

–  Nocoordinatedorsimultaneouschanges

May20,2016 DukeSocialNetworks&HealthWorkshop 62

Assump?ons

Page 63: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

•  Upto10%probablyok,morethan20%likelyaproblem•  Endogenousnetwork&behaviorimputa+on

– Missingvaluesatt0setto0(network)ormode(behavior)– Missingvaluesatt1+imputedwithlastvalidvalueifpossible,otherwise0

•  Covariatesimputedwiththemean–  Othervaluescanbespecified

•  Imputedvaluesaretreatedasnon-informa+ve,thusnotusedincalcula+ngtargetsta+s+cs–  Convergenceandfitaredeterminedbasedonlyuponobservedcases

May20,2016 DukeSocialNetworks&HealthWorkshop 63

MissingData

Page 64: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

GoodSourcesofInforma?on

May20,2016 DukeSocialNetworks&HealthWorkshop 64

•  RSienamanual•  Snijders,vandeBunt&Steglich,2010•  Steglich,Snijders&Pearson,2010

•  TomSnijders’SIENAwebsitewww.stats.ox.ac.uk/siena/–  Workshops–  Scripts–  Applica+onsintheliterature–  LatestversionofRSiena–  Linktostocnetlistserv–importantupdatesannouncedhere–  “Siena_algorithms.pdf”

Page 65: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

EndofLecture

May20,2016 DukeSocialNetworks&HealthWorkshop 65

Page 66: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

SAOMLab

Ifyouhaven’tdonesoalready:•  Downloadthe“RSienalab.R”scriptfromdropbox•  InstalltheRSienalibrary

– See“RSienalab.R”sec+on1 or– Type:install.packages("RSiena”)

May20,2016 DukeSocialNetworks&HealthWorkshop 66

Page 67: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

•  Onemodeortwomodenetworkwithatleasttwoobserva+ons,eachrepresentedasamatrix–  Tiescoded0,1,10(structural0),11(structural1),orNA

•  Foreach“period”betweenadjacentwaves,stabilitymeasuredbytheJaccardcoefficientshouldbeatleast.25–  Tiespersisted/(+esformed++esdissolved++espersisted)

•  “Completenetworkdata”allactorsw/inboundedsemng–  Someturnoverinsetofactorsallowedbutsameactorsinthedataforeachwave(evenifnotobservedduringwave)

–  Seemanualforhowtodealwithcomposi+onchange•  RecommendedN:30-2000

May20,2016 DukeSocialNetworks&HealthWorkshop 67

DataStructure:Network

Page 68: 13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)

•  Dependentbehaviors–  Time-varyingadributesusedasdependentvariable(s)–  Codedasinteger(e.g.,1-10)–  Last+mepointisused

•  Changingactorcovariates–  Time-varyingadributesusedasindependentvariables–  Last+mepointnotused(onlyapplicablefor3+waves)

•  Constantcovariates–  Ex:age,sex,race/ethnicity,behavior

•  Dyadiccovariates–  Ex:semngsthatdrivecontact NOTE:Covariatesarecenteredbydefault

May20,2016 DukeSocialNetworks&HealthWorkshop 68

Addi?onalDataStructures