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

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/Sienatest.r

Description

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

Usage

1
2
## S3 method for class 'sienaTest'
print(x, ...)

Arguments

x

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

...

Extra arguments (not used at present).

Details

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

Value

An object of type sienaTest.

Author(s)

Tom Snijders

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)

RSiena documentation built on Sept. 24, 2020, 3 p.m.