Description Usage Arguments Details Author(s) See Also Examples
Summary of an object of class “niqr
”.
1 2 |
object |
an object of class “ |
p |
an optional vector of quantiles. |
... |
for future methods. |
A summary of the model is printed.
Gianluca Sottile gianluca.sottile@unipa.it
niqr
, for model fitting; test.fit.niqr
, for goodness of fit test; predict.niqr
and plot.niqr
, for predicting and plotting objects of class “niqr
”.
1 2 3 4 5 6 7 8 9 10 11 12 | n <- 1000
x <- runif(n)
fun <- function(theta, p){
beta0 <- theta[1] + exp(theta[2]*p)
beta1 <- theta[3] + theta[4]*p
cbind(beta0, beta1)}
beta <- fun(c(1,1,1,1), runif(n))
y <- beta[, 1] + beta[, 2]*x
model <- niqr(fun=fun, x0=rep(0, 4), X=cbind(1,x), y=y)
summary(model)
summary(model, p=c(.01,.05))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.