print.sienaTest | R Documentation |
This method prints Wald-type and score-type tests for results
estimated by siena07
.
## S3 method for class 'sienaTest'
print(x, ...)
x |
An object of type |
... |
Extra arguments (not used at present). |
The functions Wald.RSiena
, Multipar.RSiena
,
and score.Test
produce an object of type sienaTest
.
These can be printed by this method.
An object of type sienaTest
.
Tom Snijders
siena07
, Wald.RSiena
,
Multipar.RSiena
, score.Test
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.