summary.niqr {qrcmNP} | R Documentation |
Summary After Nonlinear Quantile Regression Coefficients Modeling
Description
Summary of an object of class “niqr
”.
Usage
## S3 method for class 'niqr'
summary(object, p, ...)
Arguments
object |
an object of class “ |
p |
an optional vector of quantiles. |
... |
for future methods. |
Details
A summary of the model is printed.
Author(s)
Gianluca Sottile gianluca.sottile@unipa.it
See Also
niqr
, for model fitting; testfit.niqr
, for goodness of fit test; predict.niqr
and plot.niqr
, for predicting and plotting objects of class “niqr
”.
Examples
n <- 300
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))
[Package qrcmNP version 0.2.1 Index]