Description Usage Arguments Value Examples
Prediction Interval Profiles
1 2 3 4 5 6 7 8 |
probs |
probabilities at which to calculate a probability interval |
method |
either "tdist", "conformal" or "quantile" |
m.method |
conformal method (quantile, deviation or jackknife) |
an object of class 'pred_profile'
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
set.seed(12345)
x <- rnorm(25)
## t-dist method
pp1 <- pred_profile(x)
## conformal - quantile
pp2 <- pred_profile(x, method = "conformal")
## conformal - deviation
pp3 <- pred_profile(x, method = "conformal", m.method = "deviation")
## conformal - jackknife
pp4 <- pred_profile(x, method = "conformal", m.method = "jackknife")
par(mfrow = c(2,2))
plot(pp1)
plot(pp2)
plot(pp3)
plot(pp4)
par(mfrow=c(1,1))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.