effect_container: Overview of SAOM-related functions

Description Usage Arguments References See Also Examples

Description

Overview of functions to specify stochastic actor-oriented models. The naming of effects is in line with the RSiena manual (see reference below).

The following effects are implemented in SAOMs for NetSim so far (to be extended, see RSiena manual for detailed explanations):
OneModeNetworkEffect
- density
- recip
- transTrip
- cycle3
- nbrDist2
- inPop
- outPop
AttributeOneModeNetworkEffect
- altX
- egoX
SimilarityAttributeOneModeNetworkEffect
- simX
- totSim
AttributeEffect
- linear
- quad
MultiplexNetworkEffect - crprod

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
	create_effect_container()
	add_to_effect_container(effectContainer, effect, parameter)
	create_effect(name, ...)
	## S3 method for class 'OneModeNetworkEffect'
create_effect(name, networkIndex, ...)
	## S3 method for class 'AttributeOneModeNetworkEffect'
create_effect(name, attributeIndex, networkIndex, ...)
	## S3 method for class 'SimilarityAttributeOneModeNetworkEffect'
create_effect(name, attributeIndex, networkIndex, meanSimilarityScore, ...)
	## S3 method for class 'AttributeEffect'
create_effect(name, attributeIndex, ...)
	## S3 method for class 'MultiplexNetworkEffect'
create_effect(name, networkIndex1, networkIndex2, ...)
	## S3 method for class 'AttributeMultinomialChoiceNetworkChangeModel'
add_effect(changeModel, effect, attributeIndex, ...)
	get_effect_type(name)

Arguments

effectContainer

An effect container object

effect

An effect object created with create_effects function

parameter

Parameter of the effect specified

name

String name of the effect according to the SIENA manual

changeModel

A SAOM change model

...

Additional parameters depending on the type of the effect (see description above)

attributeIndex

Index of an attribute containing the (changeable) parameter

meanSimilarityScore

mean similarity score according to effect definitions in the SIENA manual

networkIndex

Index of a network

networkIndex1

Index of a network

networkIndex2

Index of a network

References

Ripley, R. M.; Snijders, T. A. B. & Preciado Lopez, P.: Manual for SIENA 4.0. (2012), Oxford: University of Oxford, Department of Statistics; Nuffield College. URL: http://www.stats.ox.ac.uk/~snijders/siena/RSiena_Manual.pdf

See Also

create_multinomial_choice_network_change_model create_multinomial_choice_behavior_change_model create_attribute_multinomial_choice_network_change_model create_tie_swap_updater

Examples

1
2
## See sections 4.1, 4.2 and 4.5 in the package vignette for detailed examples
## Small example:

NetSim documentation built on May 2, 2019, 5:20 p.m.