Learn R Programming

RSiena (version 1.4.7)

print.sienaTest: Print method for Wald and score tests for RSiena results

Description

This method prints Wald-type and score-type tests for results estimated by siena07.

Usage

# S3 method for sienaTest
print(x, ...)

Value

An object of type sienaTest.

Arguments

x

An object of type sienaTest, produced by Wald.RSiena, Multipar.RSiena, or score.Test.

...

Extra arguments (not used at present).

Author

Tom Snijders

Details

The functions Wald.RSiena, Multipar.RSiena, and score.Test produce an object of type sienaTest. These can be printed by this method.

See Also

siena07, Wald.RSiena, Multipar.RSiena, score.Test

Examples

Run this code
mynet <- sienaDependent(array(c(s501, s502), dim=c(50, 50, 2)))
mydata <- sienaDataCreate(mynet)
myeff <- getEffects(mydata)
myalgorithm <- sienaAlgorithmCreate(nsub=1, n3=40, seed=123, projname=NULL)
# nsub=1 and n3=40 is used here for having a brief computation,
# not for practice.
myeff <- includeEffects(myeff, transTrip, transTies)
myeff <- includeEffects(myeff, outAct, outPop, fix=TRUE, test=TRUE)
(ans <- siena07(myalgorithm, data=mydata, effects=myeff, batch=TRUE))
mprs <- Multipar.RSiena(ans, 3, 4)
print(mprs)

Run the code above in your browser using DataLab