Description Usage Arguments Value Author(s)
View source: R/getLikelihoodProfile.R
This function computes the likelihood surface in the vicinity of the maximum likelihood estimates of the covariance parameters. Note: this is experimental. This function was initially developed as a workaround to the problem of defining log-normal priors for the covariance parameters when the standard errors extracted by getExpectedSE
were manifestly unreasonable.
1 2 | getLikelihoodProfile(glmssn, which.vary, grid.parameters,
parallelism = "none", n.cores = 1, ...)
|
glmssn |
An object of class |
which.vary |
A vector indicating which of the covariance parameters should be varied. You must vary at least one parameter but you can vary all of them if it suits you. |
grid.parameters |
An OPTIONAL argument. You can pass a list giving the grid of parameter values for which to evaluate the log-likelihood surface. This can be left missing. In this case, the function attempts to guess the grid range and resolution based on the log-scale confidence-interval on each of the varying parameters. |
parallelism |
An OPTIONAL argument. This argument indicates what operating system a parallel cluster should be set up for. This option can be one of "none" (for no parallelism), "osx/linux" or "windows". This is not case sensitive. The input should match the user's operating system. Note that this argument is ignored if the next argument |
n.cores |
An OPTIONAL argument. This argument specifies how many CPUs should be assigned to compute the log-likeihoods in parallel. This argument can be any positive integer. |
... |
Any additional arguments to |
A data.frame
with one column for each covariance parameter and another column for the log-likelihood.
Jay Ver Hoef and Alan R. Pearse
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.