Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

RSiena (version 1.0.9)

sienaModelCreate: Function to create a model object for parameters to Siena07

Description

Creates a basic object which can be used as an argument for Siena07

Usage

sienaModelCreate(fn = simstats0c, usesimstats0c=TRUE,
     projname = "Siena", MaxDegree = 0, useStdInits = FALSE,
     n3 = 1000, nsub = 4, maxlike = FALSE, diag = TRUE,
     condvarno = 0, condname = "", firstg = 0.2, cond = NA,
     findiff = FALSE, seed = NULL)

Arguments

Value

Returns a model object of class "sienaModel" containing:projnameString value of name of projectuseStdInitsBoolean, see abovechecktimeBoolean, set to TRUE, report time in the phases or notn3number of iterations in Phase 3firstgInitial value of the scale in the Robbins-Munro algorithmmaxratvalue used to control the maximum size of the jumpsmaxmaxratvalue used to control the maximum size of the jumpsFRANSimulation fnmaxlikeis FRAN using maximum likelihood?cconditionalis FRAN using conditional estimation?condvarnonumber of dependent variable on which to conditioncondnamename of dependent variable on which to conditionFinDiff.methodBoolean, should we calculate derivatives using finite differences?nsubNumber of subphases in phase 2diagBoolean - use just the diagonal of the derivative matrix?ModelTypealways 1MaxDegreenamed vector of maximum degree values, or NULL

Details

Model specification is done via this object for Siena7. This function creates an object with the correct elements. Those not available as arguments can be changed manually where desired.

References

See http://www.stats.ox.ac.uk/~snijders/siena/

Examples

Run this code
mymodel <- sienaModelCreate(findiff=FALSE, fn = simstats0c)

Run the code above in your browser using DataLab