| print.sienaTest | R Documentation |
This method prints Wald-type and score-type tests for results
estimated by siena.
## S3 method for class 'sienaTest'
print(x, ...)
x |
An object of type |
... |
Extra arguments (not used at present). |
The function test_parameter produces
an object of type sienaTest.
These can be printed by this method.
An object of type sienaTest.
Tom Snijders
siena, test_parameter.
mynet <- as_dependent_rsiena(array(c(s501, s502), dim=c(50, 50, 2)))
mydata <- make_data_rsiena(mynet)
myeff <- make_specification(mydata)
myalgo <- set_algorithm_saom(nsub=1, n3=40, seed=1291)
# nsub=1, n3=40 is used here for having a brief computation, not for practice.
myeff <- set_effect(myeff, list(transTrip, transTies))
myeff <- set_effect(myeff, list(outAct, outPop), fix=TRUE, test=TRUE)
(ans <- siena(mydata, effects=myeff, control_algo=myalgo,
silent=TRUE, batch=TRUE))
mprs <- test_parameter(ans, tested=c(3, 4))
print(mprs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.