summary.niqr: Summary After Nonlinear Quantile Regression Coefficients...

Description Usage Arguments Details Author(s) See Also Examples

View source: R/qrcmNL.R

Description

Summary of an object of class “niqr”.

Usage

1
2
## S3 method for class 'niqr'
summary(object, p, ...)

Arguments

object

an object of class “niqr”, the result of a call to niqr.

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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))

qrcmNP documentation built on Feb. 22, 2021, 9:10 a.m.