Function that computes the dimension of several objects in a STmodel
object.
loglikeSTdim(STmodel)
STmodel
object for which dimensions are to
be computed.
list containing:
Number of observation times.
Number of temporal basis functions, including the intercept.
Number of distinct locations in the data.
Number of observed locations.
vector of length m
; number of geographic covariates
for each temporal basis functions.
Number of spatio-temporal covariates
vector of length m
; number of parameters for each
covariance-function for the beta-fields.
vector of length m
; total number of
parameters for each
beta-fields, including nugget(s).
number of parameters for the nu-field, same distinction as above.
Total number of parameters, including regression parameters.
Number of covariance parameters.
Other STmodel functions: createCV
,
createDataMatrix
,
createSTmodel
,
dropObservations
,
estimateBetaFields
,
loglikeST
, predictNaive
,
processLUR
, processLocation
,
updateCovf
,
updateTrend.STdata
Other likelihood utility functions: calc.mu.B
,
loglikeSTgetPars
,
loglikeSTnames
# NOT RUN {
##load the data
data(mesa.model)
##compute dimensions for the data structure
loglikeSTdim(mesa.model)
# }
Run the code above in your browser using DataLab