Description Usage Arguments Value Author(s) See Also Examples
Function that computes the dimension of several objects in a STmodel
object.
1 | loglikeSTdim(STmodel)
|
STmodel |
|
list containing:
T |
Number of observation times. |
m |
Number of temporal basis functions, including the intercept. |
n |
Number of distinct locations in the data. |
n.obs |
Number of observed locations. |
p |
vector of length |
L |
Number of spatio-temporal covariates |
npars.beta.covf |
vector of length |
npars.beta.tot |
vector of length |
npars.nu.covf,npars.nu.tot |
number of parameters for the nu-field, same distinction as above. |
nparam |
Total number of parameters, including regression parameters. |
nparam.cov |
Number of covariance parameters. |
Johan Lindstrom
Other STmodel functions: createCV
,
createDataMatrix
,
createSTmodel
,
dropObservations
,
estimateBetaFields
,
loglikeST
, predictNaive
,
processLUR
, processLocation
,
updateCovf
,
updateTrend.STdata
Other likelihood utility functions: calc.mu.B
,
loglikeSTgetPars
,
loglikeSTnames
1 2 3 4 5 | ##load the data
data(mesa.model)
##compute dimensions for the data structure
loglikeSTdim(mesa.model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.