View source: R/update.zitobitQR.R
update.zitobitQR | R Documentation |
This function updates the chains for a model fitted by the function zitobitQR.
## S3 method for class 'zitobitQR' update(object, itNum, thin = 1, sigmaGamma, ...)
object |
Fitted model by the function zitobitQR |
itNum |
Size of the chain that will be added to the current available chain. |
thin |
Thinning parameter for the chains. |
sigmaGamma |
Tuning parameter for the Metropolis-Hasting part of the algorithm. |
... |
other summary parameters (currently not used) |
A list with the updated chains.
zitobitQR
## Not run: set.seed(1) data("BrazilDurableGoods") # Change the number of iterations for better results. model <- zitobitQR(expenditure ~ age + education, tau = 0.5, data = BrazilDurableGoods, itNum = 100, sigmaGamma = 0.10, refresh = 20) model <- update(model, 100, thin=1, sigmaGamma = 0.10, refresh=10) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.