Description Usage Arguments Value Note Author(s) References See Also Examples
Calculates the profile likelihood for a Siena model for one or two parameters
1 2 3 |
resp |
Value returned from a call to |
x |
A |
data |
A |
effects |
A |
i |
Required. Index of parameter to maximise over. |
j |
Optional. Index of second parameter to maximise over. |
gridl |
Multiplier used to create grid for evaluation |
seqlen |
Number of points for evaluation. |
maxit |
Number of iterations of the optimizer |
method |
Method for |
trace |
trace argument for |
nIter |
Number of samples to use |
... |
Other arguments to be passed to the initialize call. |
A sienaFit
object, with added component zz
containing the points used for the plot.
Produces a plot.
Not for general use
Ruth Ripley
See http://www.stats.ox.ac.uk/~snijders/siena/
1 2 3 4 5 6 7 8 | ## Not run:
mynet1 <- sienaDependent(array(c(tmp3, tmp4), dim=c(32,32,2)))
mydata <- sienaDataCreate(mynet1)
myeff <- getEffects(mydata)
profileLikelihoods(list(theta=c(5,-2, 2)), sienaModelCreate(maxlike=TRUE),
mydata, myeff, i=1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.