Description Usage Arguments See Also
View source: R/optimize_hyperparameters.R
Optimize hyperparameters for GPRD
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
A numeric vector; the forcing variable |
y |
A numeric vector; the outcome variable |
cutoff |
A numeric vector of length one; the treatment cutoff (default is 0) |
estimator |
A character vector of length one; should be one of "global" or "piecewise". The default is "global". |
b |
A numeric vector giving the prior mean for the coefficients for the
mean function. If |
B |
A numeric matrix giving the prior covariance for the coefficients
for the mean function. If |
method |
A character vector of length one giving the optimization
routine to use; default is "L-BFGS-B", a box-constrained method.
See |
control |
A list of control parameters for optim |
lower |
A numeric vector of length one giving the lower bound for the parameters. The default is 0.1. |
... |
Other arguments passed to |
gprd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.