similar to: Selecting Bootstrap Method for Quantile Regression

Displaying 20 results from an estimated 8000 matches similar to: "Selecting Bootstrap Method for Quantile Regression"

2009 May 31
1
warning message when running quantile regression
Hi All, I am running quantile regression in a "for loop" starting with 1 variable and adding a variable at a time reaching a maximum of 20 variables. I get the following warning messages after my "for" loop runs. Should I be concerned about these messages? I am building predictive models and am not interested in inference. Warning messages: 1: In
2024 Sep 06
1
effects() extractor for a quantile reqression object: error message
I'm using quantreg package version 5.98 of 24 May 2024, in R 4.4.1 on Linux Mint. The online documentation for quantreg says, in part, under the description of the rq.object, "The coefficients, residuals, and effects may be extracted by the generic functions of the same name, rather than by the $ operator." I create an rq object for the 0.9 quantile, called qm.9 effects(qm.9)
2024 Sep 06
1
Fwd: effects() extractor for a quantile reqression object: error message
Apologies, forgot to copy R-help on this response. Begin forwarded message: From: Roger Koenker <rkoenker at illinois.edu> Subject: Re: [R] effects() extractor for a quantile reqression object: error message Date: September 6, 2024 at 8:38:47?AM GMT+1 To: "Christopher W. Ryan" <cryan at binghamton.edu> Chris, This was intended to emulate the effects component of lm()
2011 Jul 11
3
quantile regression: out of memory error
Hello, I?m wondering if anyone can offer advice on the out-of-memory error I?m getting. I?m using R2.12.2 on Windows XP, Platform: i386-pc-mingw32/i386 (32-bit). I am using the quantreg package, trying to perform a quantile regression on a dataframe that has 11,254 rows and 5 columns. > object.size(subsetAudit.dat) 450832 bytes > str(subsetAudit.dat) 'data.frame': 11253 obs.
2010 Jan 25
2
Quantile loess smother?
Hello all, I wish to fit a loess smother to a plot of Y`X, but in predicting the 95% quantile. Something that will be a combination of what rq (package quantreg} does, with loess. Is there a function/method for doing this? Thanks, Tal ----------------Contact Details:------------------------------------------------------- Contact me: Tal.Galili@gmail.com | 972-52-7275845 Read me:
2011 Jan 11
1
Confidence interval on quantile regression predictions
I am using the quantreg package to build a quantile regression model and wish to generate confidence intervals for the fitted values. After fitting the model, I have tried running predict() and predict.rq(), but in each case I obtain a vector of the fitted values only. For example: library(quantreg) y<-rnorm(50,10,2) x<-seq(1,50,1)
2006 Oct 27
1
Quantile Regression: Measuring Goodness of Fit
Hi, how to measure the goodness of fit, when using the rq() function of quantreg? I need something like an R^2 for quantile regression, a single number which tells me if the fit of the whole quantile process (not only for a single quantile) is o.k. or not. Is it possible to compare the (conditional) quantile process with the (unconditional) empirical distribution function? Perhaps with a Chi^2
2009 May 29
3
Quantile GAM?
R-ers: I was wondering if anyone had suggestions on how to implement a GAM in a quantile fashion? I'm trying to derive a model of a "hull" of points which are likely to require higher-order polynomial fitting (e.g. splines)-- would quantreg be sufficient, if the response and predictors are all continuous? Thanks! --j
2011 Aug 23
3
Change Variable Labels in Quantile Plot
I have spent hours on this ---looked through the quantreg manual and r-help site--- still couldn't figure out the answer. Can someone please help me on this? I plot the result from quantile regression and want to change the variable labels: temp<-rq(dep~inc+age50, data=newdata, tau=1:9/10) temp2<-plot(summary(temp)) dimnames(temp2)[[1]]<-c("Intercept", "Per Capita
2006 Jul 14
1
Error in Quantile Regression - Clear Message
Dear Users, I loaded my dataset as following: presu <- read.table("C:/_Ricardo/Paty/qtdata_f.txt", header=TRUE, sep="\t", na.strings="NA", dec=".", strip.white=TRUE) dep<-presu[,3]; exo<-presu[,4:92]; When I try: rq(dep ~ exo, ...) or mle.stepwise(dep ~ exo, ...) I got the same error: > rq(dep ~ exo) Error in model.frame(formula, rownames,
2012 Jun 07
1
Quantile regression: Discrepencies Between optimizer and rq()
Hello Everyone, I'm currently learning about quantile regressions. I've been using an optimizer to compare with the rq() command for quantile regression. When I run the code, the results show that my coefficients are consistent with rq(), but the intercept term can vary by a lot. I don't think my optimizer code is wrong and suspects it has something to do with the starting
2018 May 21
2
Bootstrap and average median squared error
Dear R-experts, I am trying to bootstrap (and average) the median squared error evaluation metric for a robust regression. I can't get it. What is going wrong ? Here is the reproducible example. ############################# install.packages( "quantreg" ) library(quantreg) crp <-c(12,14,13,24,25,34,45,56,25,34,47,44,35,24,53,44,55,46,36,67) bmi
2011 Nov 05
2
linear against nonlinear alternatives - quantile regression
Dear all, I would like to know whether any specification test for linear against nonlinear model hypothesis has been implemented in R using the quantreg package. I could read papers concerning this issue, but they haven't been implemented at R. As far as I know, we only have two specification tests in this line: anova.rq and Khmaladze.test. The first one test equality and significance of
2004 Jun 15
1
fit.mult.impute and quantile regression
I have a largish dataset (1025) with around .15 of the data missing at random overall, but more like .25 in the dependent variable. I am interested in modelling the data using quantile regression, but do not know how to do this with multiply imputed data (which is what the dataset seems to need). The original plan was to use qr (or whatever) from the quantreg package as the 'fitter'
2018 May 22
0
Bootstrap and average median squared error
Hello, If you want to bootstrap a statistic, I suggest you use base package boot. You would need the data in a data.frame, see how you could do it. library(boot) bootMedianSE <- function(data, indices){ d <- data[indices, ] fit <- rq(crp ~ bmi + glucose, tau = 0.5, data = d) ypred <- predict(fit) y <- d$crp median(y - ypred)^2 } dat <-
2005 Feb 22
1
Having problems with quantreg
Hi All, I'm still having significantly difficulty getting the quantreg library running in R. I'm running R on MEPIS using the debs created by Dirk Eddelbuettel and placed in apt testing. When I try to install quantreg using the install.packages() function it fails with: /usr/bin/ld: cannot find -lblas-3 Dirk was nice enough to send me a .deb for quantreg which installs without
2012 Jul 28
4
quantreg Wald-Test
Dear all, I know that my question is somewhat special but I tried several times to solve the problems on my own but I am unfortunately not able to compute the following test statistic using the quantreg package. Well, here we go, I appreciate every little comment or help as I really do not know how to tell R what I want it to do^^ My situation is as follows: I have a data set containing a
2008 Jul 10
1
quantile regression estimation results
Dear list, I'm using the quantreg package for quantile regression. Although it's fine, there're is some weird behavior a little bit difficult to understant. In some occasions, the regression results table shows coefficients, t-statistics, standard errors and p-values. However, in other occasions it shows only coefficients and confidence intervals. Therefore, the question is... Is
2012 Oct 30
6
standard error for quantile
Dear all I have a question about quantiles standard error, partly practical partly theoretical. I know that x<-rlnorm(100000, log(200), log(2)) quantile(x, c(.10,.5,.99)) computes quantiles but I would like to know if there is any function to find standard error (or any dispersion measure) of these estimated values. And here is a theoretical one. I feel that when I compute median from given
2011 Oct 14
1
How to keep a coefficient fixed when using rq {quantreg}?
Hello all, I would like to compute a quantile regression using rq (from the quantreg package), while keeping one of the coefficients fixed. Is it possible to set an offset for rq in quantreg? (I wasn't able to make it to work) Thanks, Tal ----------------Contact Details:------------------------------------------------------- Contact me: Tal.Galili at gmail.com |? 972-52-7275845 Read me: