Displaying 20 results from an estimated 1000 matches similar to: "Add a function in rq"
2009 Jun 30
2
odd behaviour in quantreg::rq
Hi,
I am trying to use quantile regression to perform weighted-comparisons of the
median across groups. This works most of the time, however I am seeing some
odd output in summary(rq()):
Call: rq(formula = sand ~ method, tau = 0.5, data = x, weights =
area_fraction)
Coefficients:
Value Std. Error t value Pr(>|t|)
(Intercept) 45.44262 3.64706 12.46007
2010 Jan 07
1
Quantreg - 'could not find function"rq"'
Hi all,
I'm having some troubles with the Quantreg package. I am using R
version 2.10.0, and have downloaded the most recent version of Quantreg
(4.44) and SparseM (0.83 - required package). However, when I try to
run an analysis (e.g. fit1<-rq(y~x, tau=0.5)) I get an error message
saying that the function "rq" could not be found. I get the same
message when I try to search
2011 Jul 21
2
Quantreg-rq crashing trouble
Hi
I am using the quantreg package for median regression for a large series
of subsets of data. It works fabulously for all but one subset. When it
reaches this subset, R takes the command and never responds. I end up
having to kill R and restart it.
It appears to be something with the particular data subset, but I can't
pinpoint the problem.
Here are some details
Operating system:
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:
2009 Jul 21
1
package quantreg behaviour in weights in function rq,
Dear all,
I am having v.4.36 of Quantreg package and I noticed strange behaviour when
weights were added. Could anyone please explain me what if the results are
really strange or the behavioiur is normal. As an example I am using dataset
Engel from the package and my own weights.
x<-engel[1:50,1]
y<-engel[1:50,2]
w<-c(0.00123, 0.00050, 0.00126, 0.00183, 0.00036, 0.00100,
0.00122,
2009 Jul 24
1
Fwd: Making rq and bootcov play nice
John,
You can make a local version of bootcov which either:
deletes these arguments from the call to fitter, or
modify the switch statement to include rq.fit,
the latter would need to also modify rq() to return a fitFunction
component, so the first option is simpler. One of these days I'll
incorporate clustered se's into summary.rq, but meanwhile
this seems to be a good alternative.
2003 Oct 10
1
predicted values from rq
Dear statistics and R experts,
I am a new R-user and my statistics is probably more than a bit rusty. So
forgive me if the following question is relatively simple.
I would like to plot the predicted values from a quantile regression
analysis (quantreg v.3.31; R v.1.7.1) so that I can evaluate the fit. My
response variable is tree growth (continuous), and my predictor variables
are height
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
2007 Sep 21
1
help with rq
I used in 2004 an earlier version of R (1.6.0 ?) for quantile regressions
Now I downloaded version 2.5.1-win32 and I cannot A) read my old files (Our
exel working space was saved in csv) and also the series of instructions
does not work, see below (B) rq function is not recognized)
filename <- read.csv("filename.csv",header=TRUE,row.names=1)
fit95
2016 May 06
2
Is it possible to increase MAX_NUM_DLLS in future R releases?
Thanks for all your great answers.
The app I?m working on is indeed an exploratory data analysis tool for gene expression, which requires a bunch of bioconductor packages.
I guess for now, my best solution is to divide my app into modules and load/unload packages as the user switch from one module to another.
This brought me another question: it seems that unload package with the
2011 Apr 03
2
:HELP
Hello,
I want to sum first three terms of each column of matrix.
But I don't calculate with "apply" function.
skwkrt<-function(N=10000,mu=0,sigma=1,n=100,
nboot=1000,alpha=0.05){
x<-rnorm(N,mu,sigma)#population
samplex<-matrix(sample(x,n*nboot,replace=T),nrow=nboot)
#...
}
is that: suppose a is a 5x2 matrix.
a={1,2,3,4,5
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
2011 Apr 28
3
Problem loading quantreg
Hi all,
I'm trying to load the quantreg package but keep running into problems no
matter which method I have tried. Does anybody know what this error (below)
means in plain language and what I might do to get this installed. I have
not had problems downloading/installing/running packages in the past.
thanks in advance,
derek
Begin R output:
trying URL
2006 Jun 07
4
R crashes on quantreg
I was trying "quantreg" package,
lm1 <- lm(y~x)
rq1 <- rq(y~x)
plot(summary(rq1)) #then got a warning says singular value, etc. but this
line can be omited
plot(lm1) #crash here
It happened every time on my PC, Windows XP Pro Serv. Pack 1, Pentium(4)
3.00G.
[[alternative HTML version deleted]]
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
2009 May 08
1
Citing R/Packages Question
I used R and the quantreg package in a manuscript that is currently in
the proofs stage. I cited both R and quantreg as suggested by
citation() and noted the version of R and quantreg that I used in the
main text as
"All tests were computed with the R v2.9.0 statistical programming
language (R Development Core 2008). Quantile regressions were conducted
with the quantreg v4.27 package
2001 Dec 05
1
problem loading quantreg on WinNT
Dear R-help,
Has anyone been able to use the quantreg package on Windows successfully? I
tried to load it and get the following:
> library(quantreg)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"C:/PROGRA~1/R/rw1031/library/quantreg/libs/quantreg.dll":
LoadLibrary failure: The specified procedure could not be found.
Error in
2001 Mar 21
2
RPackage
Please, is there anyone who can give me some suggestions?
(1) I have to use a package from R on my work. The package is the
"quantreg" developed by Koenker (Uni Illinois). I have installed the
package in the R library tree /usr/local/lib/R/ library of my Linux
Operating System. I did R CMD INSTALL -l /usr/local/lib/R/ library
/path/to/quantreg_x.y-z.tar.gz. However, when I call any
2005 Feb 19
3
Problems installing quantreg
Hi All,
I'm trying to install the quantreg library on my MEPIS box (debian-based
linux). When I try >install.packages("quantreg") it fails to loads and
errors with: /usr/bin/ld: cannot find -lblas-3. I tried installing a ton of
packages to fix the missing part but the only thing I manage to do it cause
problems with another shared library and had to re-install a couple of
2005 Feb 19
3
Problems installing quantreg
Hi All,
I'm trying to install the quantreg library on my MEPIS box (debian-based
linux). When I try >install.packages("quantreg") it fails to loads and
errors with: /usr/bin/ld: cannot find -lblas-3. I tried installing a ton of
packages to fix the missing part but the only thing I manage to do it cause
problems with another shared library and had to re-install a couple of