View source: R/mgp.functions.R
Multivariate Gaussian process regression where each of the N outputs is unidimensional. The multivariate output is allowed to have multiple independent realisations.
mgpr(Data, m = NULL, meanModel = 0, mu = NULL)
List of two elements: 'input' and 'response'. The element 'input' is a list of N vectors, where each vector represents the input covariate values for a particular output. The element 'response' is the corresponding list of N matrices (if there are multiple realisations) or vectors (for a single realisation) representing the response variables.
If Subset of Data is to be used in the estimation, m denotes the subset size. It cannot be larger than the total sample size. Default to NULL (Subsetting is not used).
Type of mean function applied to all outputs. It can be
Default to 0. If argument 'mu' is specified, then 'meanModel' will be set to 'userDefined'.
Vector of concatenated mean function values defined by the user. Default to NULL.
A list containing:
Fitted values for the training data
Standard deviation of the fitted values for training data
Number of response variables
Original input variables
Index vector identifying to which output the elements of concatenated vectors correspond to.
Concatenated mean function
Mean model used for each output
'lm' object for each output if the linear regression model is used for the mean functions. NULL otherwise.
Shi, J. Q., and Choi, T. (2011), “Gaussian Process Regression Analysis for Functional Data”, CRC Press.
## See examples in vignette: # vignette("mgpr", package = "GPFDA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.