Displaying 20 results from an estimated 300 matches similar to: "rqss help in Quantreg"
2024 Oct 22
1
invalid permissions
Gurus:
I have a new version of my quantreg package with minimal changes, mainly to fix some obscure fortran problems. It fails R CMD check ?as-cran with the error:
Running examples in ?quantreg-Ex.R? failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plot.rqss
> ### Title: Plot Method for rqss Objects
2024 Oct 22
1
invalid permissions
Dear Prof. Roger Koenker,
On Tue, 22 Oct 2024 09:08:12 +0000
"Koenker, Roger W" <rkoenker at illinois.edu> wrote:
> > fN <- rqss(y~qss(x,constraint="N")+z)
>
> *** caught segfault ***
> address 0x0, cause 'invalid permissions?
Given a freshly produced quantreg.Rcheck directory, I was able to
reproduce this crash by running
R -d gdb
# make
2009 Jun 19
1
result of rqss
Hello,
i have the following data:
x=c(0,0.02,0.03,0.04,0.05,0.06,0.07,0.08,0.09,0.1,0.11,0.12,0.13,0.14,0.15,0.16,0.17,0.18,0.19,0.2,0.21,0.22,0.23,0.25,0.26,0.27,0.46,0.47,0.48,0.49)
y=c(0.48,0.46,0.41,0.36,0.32,0.35,0.48,0.47,0.55,0.56,0.54,0.67,0.61,0.60,0.54,0.51,0.45,0.42,0.44,0.46,0.41,0.43,0.43,0.48,0.48,0.47,0.39,0.37,0.32,0.29)
and tried to get piecewise linear regression. Doing a
2009 Jun 24
2
Memory issues on a 64-bit debian system (quantreg)
Rers:
I installed R 2.9.0 from the Debian package manager on our amd64
system that currently has 6GB of RAM -- my first question is whether
this installation is a true 64-bit installation (should R have access to
> 4GB of RAM?) I suspect so, because I was running an rqss() (package
quantreg, installed via install.packages() -- I noticed it required a
compilation of the source) and
2008 Oct 31
1
Quantile Regression for Longitudinal Data:error message
Quantile Regression for Longitudinal Data.
Hi,
I am trying to estimate a quantile regression using panel data. I am trying
to use the model that is described in Dr. Koenker's article. So I use the
code the that is posted in the following link:
http://www.econ.uiuc.edu/~roger/research/panel/rq.fit.panel.R
I am trying to change the number quantiles being estimated.
I change the codes about
2006 Feb 05
1
how to extract predicted values from a quantreg fit?
Hi,
I have used package quantreg to estimate a non-linear fit to the
lowest part of my data points. It works great, by the way.
But I'd like to extract the predicted values. The help for
predict.qss1 indicates this:
predict.qss1(object, newdata, ...)
and states that newdata is a data frame describing the observations
at which prediction is to be made.
I used the same technique I used
2006 Jun 13
0
rqss.object
Hello,
I am a new user and I am looking for the description of the output of
rqss function (Additive Quantile Regression Smoothing). It is supposed to
be in rqss.object but I could not find any reference to rqss.object
anywhere.
thanks a lot.
Julia
[[alternative HTML version deleted]]
2010 May 24
0
breakpoints in rqss()
Dear list,
I used rqss() in quantreg package for a piecewise linear regression. Can
someone tell me how to find the x values corresponding to the breakpoints
and the slopes for the phases before and after the breakpoints?
I searched the list and gather that there is another package "segmented"
that does that, but my stat is pathetic, and I have difficulty setting the
parameters right
2009 Apr 11
1
data argument and environments
I'm having difficulty with an environmental issue: I have an additive
model fitting function
with a typical call that looks like this:
require(quantreg)
n <- 100
x <- runif(n,0,10)
y <- sin(x) + rnorm(n)/5
d <- data.frame(x,y)
lam <- 2
f <- rqss(y ~ qss(x, lambda = lam), data = d)
this is fine when invoked as is; x and y are found in d, and lam is
found the
2005 Jul 13
3
How to increase memory for R on Soliars 10 with 16GB and 64bit R
Dear all,
My machine is SUN Java Workstation 2100 with 2 AMD Opteron CPUs and 16GB RAM.
R is compiled as 64bit by using SUN compilers.
I trying to fit quantile smoothing on my data and I got an message as below.
> fit1<-rqss(z1~qss(cbind(x,y),lambda=la1),tau=t1)
Error in as.matrix.csr(diag(n)) : cannot allocate memory block of size 2496135168
The lengths of vector x and y are
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
2005 May 30
3
Piecewise Linear Regression
Hi,
I need to fit a piecewise linear regression.
x = c(6.25,6.25,12.50,12.50,18.75,25.00,25.00,25.00,31.25,31.25,37.50,37.50,50.00,50.00,62.50,62.50,75.00,75.00,75.00,100.00,100.00)
y = c(0.328,0.395,0.321,0.239,0.282,0.230,0.273,0.347,0.211,0.210,0.259,0.186,0.301,0.270,0.252,0.247,0.277,0.229,0.225,0.168,0.202)
there are two change points. so the fitted curve should look like
\
\ /\
2006 Mar 16
1
running median and smoothing splines for robust surface f itting
loess() should be able to do robust 2D smoothing.
There's no natural ordering in 2D, so defining running medians can be
tricky. I seem to recall Prof. Koenker talked about some robust 2D
smoothing method at useR! 2004, but can't remember if it's available in some
packages.
Andy
From: Vladislav Petyuk
>
> Hi,
> Are there any multidimenstional versions of runmed() and
>
2015 Mar 25
2
vignette checking woes
Thierry,
I have this:
if (require(MatrixModels) && require(Matrix)) {
X <- model.Matrix(Terms, m, contrasts, sparse = TRUE)
in my function rqss() I've tried variants of requireNamespace too without success.
If I understand properly model.Matrix is from MatrixModels but it calls
sparse.model.matrix which is part of Matrix, and it is the latter function that I'm
not
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 Sep 20
1
Add a function in rq
Hi,
I am trying to add a function in a linear quantile regresion to find a
breakpoint. The function I want to add is:
y=(k+ax)(x<B)+(k+(a-d)B+dx)(x>B)
How do I write it in the rq() function? Do I need to define the parameters
in any way and how do I do that? I'm a biologist new to R.
Thanks!
--
View this message in context:
2007 Aug 30
3
piecewise linear approximation
Dear list,
I have a series of data points which I want to approximate with exactly two
linear functions. I would like to choose the intervals so that the total
deviation from my fitted lines is minimal. How do I best do this?
Thanks!
Kamila
The information transmitted in this electronic communication...{{dropped}}
2005 Jun 08
2
Robustness of Segmented Regression Contributed by Muggeo
Hello, R users,
I applied segmented regression method contributed by Muggeo and got
different slope estimates depending on the initial break points. The results
are listed below and I'd like to know what is a reasonable approach handling
this kinds of problem. I think applying various initial break points is
certainly not a efficient approach. Is there any other methods to deal with
segmented
2004 Mar 03
8
need help with smooth.spline
Dear R listers,
When using smooth.spline to interpolate data, results are generally
good. However, some cases produce totally unreasonable results.
The data are values of pressure, temperature, and salinity from a
probe that is lowered into the ocean, and the objective is to
interpolate temperature and salinity to specified pressures. While
smooth.spline provides excellent values at the
2008 Sep 03
1
Non-constant variance and non-Gaussian errors
Hi Paul,
Take a look at gam() from package mgcv (gam = generalized additive models), maybe this will help you. GAMs can work with other distributions as well. Generalized additive models consist of a random component, an additive component, and a link function relating these two components. The response Y, the random component, is assumed to have a density in the exponential family. I am not sure