Jonathan,
This is not what we call a reproducible example... what is raw_data? Does it
have something to do with mydata?
what is i?
Roger
url:www.econ.uiuc.edu/~rogerRoger Koenker
emailrkoen...@uiuc.eduDepartment of Economics
vox: 217-333-4558
Roger:
Doh! Just realized I had that error in the code -- raw_data is the same as
mydata, so it should be:
mydata - read.csv(singular.csv)
plot(mydata$predictor,mydata$response)
# A big cloud of points, nothing too weird
summary(mydata)
# No NAs:
# Xresponse predictor
] Singular design matrix in rq
Roger:
Doh! Just realized I had that error in the code -- raw_data is the same as
mydata, so it should be:
mydata - read.csv(singular.csv)
plot(mydata$predictor,mydata$response)
# A big cloud of points, nothing too weird
summary(mydata)
# No NAs:
# X
then use fewer
degrees
of freedom in bs().
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
From: jgrn...@gmail.com [mailto:jgrn...@gmail.com] On Behalf Of Jonathan
Greenberg
Sent: Thursday, April 18, 2013 6:50 AM
To: William Dunlap
Subject: Re: [R] Singular design matrix in rq
William
Quantreggers:
I'm trying to run rq() on a dataset I posted at:
https://docs.google.com/file/d/0B8Kij67bij_ASUpfcmJ4LTFEUUk/edit?usp=sharing
(it's a 1500kb csv file named singular.csv) and am getting the following
error:
mydata - read.csv(singular.csv)
fit_spl - rq(raw_data[,1] ~
Spotfire, TIBCO Software
wdunlap tibco.com
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf
Of Jonathan Greenberg
Sent: Tuesday, April 16, 2013 12:58 PM
To: r-help; Roger Koenker
Subject: [R] Singular design matrix in rq
Quantreggers
6 matches
Mail list logo