Displaying 20 results from an estimated 600 matches similar to: "explaining a model with rcs() terms"
2009 Sep 30
1
rcs fits in design package
Hi all,
I have a vector of proportions (post_op_prw) such that
>summary(amb$post_op_prw)
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
0.0000 0.0000 0.0000 0.3985 0.9134 0.9962 1.0000
> summary(cut2(amb$post_op_prw,0.0001))
[0.0000,0.0001) [0.0001,0.9962] NA's
1904 1672 1
2005 May 02
2
Restricted cubic spline function ERROR?: glm(Y~rcs(x,5))
Dear all,
Is the restricted cubic spline function working properly in the glm model?
We used glm(y~rcs(x,5), family=binomial) but it seems that for some
theoretical reasons the rcs, restricted cubic spline function can not be
fitted by a glm function. Is this correct?
Regards,
Jan
((Originally, we used lrm(y~ rcs(x,5)) but we couldn't find how to derive
the AIC value of the fitted model.
2011 Jun 11
3
rcspline.plot query
Dear all,
As I am new to the R community - although eager to advance- I would
like to pose a question to the community.
I have an SPSS file which I have imported it in R (with the read.spss
command) which conists of scale (continuous) variable "adiponectin" and
the corresponding categorical value "death" (0=No, 1=Yes). In all there
are 60 observations (among which
2011 May 06
2
rcspline.problem
Dear Dr ;
I am a PhD student at Epidemiology department of National University of
Singapore. I used R command (rcspline.plot) for plotting restricted cubic
spline ??? the model is based on Cox. I managed to get a plot without
adjustment for other covariates, but I have a problem regarding to
adjusting the confounders.
I applied below command to generate the matrix for
2010 Oct 13
1
Building rpm package for Hmisc on Fedora 12
Hi, I'm trying to get the 'xts' library from CRAN packaged for Fedora 12, and
one of its dependencies is 'Hmisc'. I have created a spec file for that using
R2spec, but building it fails with something in building the manual pages:
Warning: ./man/escapeRegex.Rd:22: unknown macro '\backslash'
[similar warnings snipped]
Warning: newline within quoted string at
2007 Mar 04
0
Trouble figuring messages from rcspline.plot
I have an attached data.frame with a binary composite variable (comp)
and a predictor (egfr). I am trying to plot a restricted cubic spline using:
require (Hmisc)
require (Design)
rcspline.plot(x=egfr,y=comp,model="logistic",nk=5,knots=NULL,
xlab="label1", ylab="Label2",
plim=c(0,1), plotcl=TRUE,
showknots=TRUE,
2007 Jul 31
1
How to enable XEN in 2.6.23-rcS kernel?
"Jesper Juhl" <jesper.juhl@gmail.com> writes:
> On 31/07/07, 2004 ruffneck <ruffneck2004@yandex.ru> wrote:
> > Hello to everybody!
> >
> > I did read, that Lguest and Xen was merged to upstream and must be in 2.6.23-rc1 kernel, but I can't see it in "make menuconfig". So, what's the deal? Can anybody explain me, how to enable XEN
2005 Jan 18
1
Permission denied when using RCS from windows with Samba 3.0.10
We just upgraded our server to run Mandrake 10.1. It is using kernel
2.6.8 and we are now using Samba 3.0.10.
I am using the RCS commands on a Windows XP Professional computer.
Before the upgrade, I had no problem checking files out with the "co -l"
command no matter who owned the file.
Now I get a "Permission denied" error unless I'm the owner of the RCS
control
2005 Dec 07
2
[PATCH][XM-TEST] Make sure rcS is executable before ramdisk build
This patch (against unstable) makes sure that the skel/etc/init.d/rcS
file is executable before building the final ramdisk image. This
should fix the problem some people are having with their ramdisk
builds.
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@us.ibm.com
_______________________________________________
Xen-devel mailing list
2007 Jul 31
1
How to enable XEN in 2.6.23-rcS kernel?
"Jesper Juhl" <jesper.juhl@gmail.com> writes:
> On 31/07/07, 2004 ruffneck <ruffneck2004@yandex.ru> wrote:
> > Hello to everybody!
> >
> > I did read, that Lguest and Xen was merged to upstream and must be in 2.6.23-rc1 kernel, but I can't see it in "make menuconfig". So, what's the deal? Can anybody explain me, how to enable XEN
2006 Oct 20
0
R CMD check/build --binary fail with data/RCS map
Hello,
On Windows XP using R 2.4.0pat (2006-10-19 r39674) from CRAN (sorry, no
r-devel) R CMD check of R CMD build --binary fails if package has RCS
folder in data map. This does not happen on my Debian GNU/Linux box with
R 2.4.0 (2006-10-03). Is this a bug?
Here is the transript from the command prompt
C:\Programs\R>R CMD check test
* checking for working latex ... OK
* using log
2008 Dec 01
1
gee + rcs
Hi all,
I have fitted a gee model with the gee package and included restricted cubic spline functions. Here is the model:
chol.g <- gee(SKIN ~ rcs(CHOLT, 3), id=ID, data=chol, family=binomial(link="logit"), corstr="exchangeable")
To extract the log odds I use:
predict.glm(chol.g, type = "link")
Now I want to compute the logg odds for specific CHOLT values
2012 Apr 29
1
RCS (Restriced Cubic Splines)
In the book, "Regression Modeling Strategies", Frank Harrell uses the function rcs() often.
The current version or R and Hmisc library don't appear to have this function.
What is an appropriate substitute?
Thank You
--
Noah Silverman
UCLA Department of Statistics
8208 Math Sciences Building
Los Angeles, CA 90095
[[alternative HTML version deleted]]
2008 Dec 28
1
Logistic regression with rcs() and inequality constraints?
Dear guRus,
I am doing a logistic regression using restricted cubic splines via
rcs(). However, the fitted probabilities should be nondecreasing with
increasing predictor. Example:
predictor <- seq(1,20)
y <- c(rep(0,9),rep(1,10),0)
model <- glm(y~rcs(predictor,n.knots=3),family="binomial")
print(1/(1+exp(-predict(model))))
The last expression should be a nondecreasing
2008 Dec 23
1
newbie problem using Design.rcs
Hi,
I read data from a file. I'm trying to understand how to use Design.rcs by using simple test data first. I use 1000 integer values (1,...,1000) for x (the predictor) with some noise (x+.02*x) and I set the response variable y=x. Then, I try rcs and ols as follows:
m = ( sqrt(y1) ~ ( rcs(x1,3) ) ); #I tried without sqrt also
f = ols(m, data=data_train.df);
print(f);
[I plot original
2009 Jun 04
5
Problem installing RCS on SXCE
I was shocked to find no RCS on SXCE 107. I needed it to update some
RCS archives I had copied over.
No problem - go to sunfreeware and copy it over. No OpenSolaris branch?
The Solaris 10 package should work.
Only the package install appears to complete and does not - as
documented only in a log file, not on my screen.
OK then, the source for RCS should be easily compiled and installed, I
2000 Apr 28
2
Dumping functions to RCS
To keep track of an ongoing programming project, I would like to dump
all my functions to individual ASCII files named xxx.R, yyy.R, etc.
Presently I do so manually in order to use RCS (on a Linux machine),
so I can keep track of all versions, differences, snapshots, etc.
Is there any easy way to dump all functions in the workspace to
individually named files? Thank you very much for
2010 Nov 25
1
How to change value of y axis from log relative Hazard to relative Hazard
http://r.789695.n4.nabble.com/file/n3058505/file.csv file.csv
Hi, Rusers
I have a problem in making a rcspline.plot with a Hmisc package.
My data is in the upload attachment.
My programme as follows:
library(Hmisc)
A<-read.csv("file.csv",header=TRUE)
attach(A)
2009 Oct 23
2
interpretation of RCS 'coefs' and 'knots'
Hi,
I have fit a series of ols() models, by group, in this manner:
l <- ols(y ~ rcs(x, 4))
... where the series of 'x' values in each group is the same, however knots
are not always identical between groups. The result is a table of 'coefs'
derived from the ols objects, by group:
group Intercept top top' top''
1 6.864 0.01 2.241 -2.65
2005 Aug 02
1
RCS/delete on close/delete readonly
Hi
Apologies if this is a FAQ, I've tried Googling...
I'm trying to set up CD-RCS on Windows boxes talking to our Linux Server
(Samba 3.0.10-1.fc1.1.legacy).
Apparently, the way this works is that it needs to be able to delete
files that are read-only and not owned by you; they recommend that you
set "delete readonly = yes" in the config file.
The problem is that this