Displaying 20 results from an estimated 500 matches similar to: "Regression trees with an ordinal response variable"
2007 Feb 02
1
Problem with party and ordered factors
Hi All,
i've got a problem using the ctree function of the party package. I've
searched around a lot but couldn't manage it.
I've got an ordered factor as response. As far as i know i have to use
scores to be able to use this ordered factor. But if i do so i get a tree
which predicts all observations as the first level of my ordered factor.
In order to test if i did anything
2007 Oct 10
2
download.file not working
Hi all,
I'm trying to download a file from the net, and the download.file
command leaves it corrupted, i.e excel cannot open it. It seems as if
it's going ok, however.
Does anyone have an idea of what's going on?
regards,
Gustaf Rydevik
----
>download.file(url="http://www.who.int/entity/whosis/whostat2006_demographics.xls",destfile="whodem.xls")
trying URL
2012 May 17
1
ctree for suvival analysis problem
Hi All,
I'm using the party package to grow conditional inference trees for survival
analysis.
When I used party version party_0.9-9991 everything worked well, but when I
update to party_1.0-2 (due to using 64bit R), I get an error. For simplicity
I will show the error I get for the example in the party documentation:
### survival analysis
if (require("ipred")) {
2012 Jan 06
5
add data to a file while doing a loop
Hi,
I would like to know how can I keep adding data to a file while doing a loop and without deleting the data of the previous iteration. Thanks.
2003 May 28
2
Ordinal data - Regression Trees & Proportional Odds
I have a data set w/ an ordinal response taking on one of 10 categories.
I am considering using polr to fit a cumulative logits model. I
previously fit the model in SAS (using proc logistic) which provides a
test for the proportional odds assumption (p < 0.001 for the test). Are
there simple diagnostic plots that can be used to look at the validity
of this assumption and possibly help w/
2008 Jun 25
1
tiff() causes R to crash on WinXP (PR#11804)
Full_Name: Gustaf Rydevik
Version: 2.7.1
OS: Win XP professional
Submission from: (NULL) (130.237.97.254)
The following lines of code crash R 2.7.1 (=cause R to show "The R gui has
encountered a problem and needs to close"....). Replicated on two WinXp
professional machines, as well as by Uwe Ligges.
> sessionInfo()
R version 2.7.1 (2008-06-23)
i386-pc-mingw32
locale:
2007 Sep 15
1
R-2.6.0 for Windows, semi-transparent colours and layout()
Hi,
The added support for semi-transparent colours in `windows' under
R-2.6.0 for Windows is much appreciated.
However, I've discovered that issuing a `layout' (or `par' with
arguments `mfcol'/`mfrow') call and then trying to plot several figures
with semi-transparent colour on the same page results in only the first
one being fully drawn. E.g.
> x <-
2012 Sep 12
1
SNPRelate package error
Dear all,
I am using the R package SNPRelate but I found an error when I run the following command. Do you know what might be the problem? Thanks in advance.
> vcf.fn <- system.file("extdata", "sequence.vcf", package="SNPRelate")
> snpgdsVCF2GDS(vcf.fn, "test.gds")
Start snpgdsVCF2GDS ...
Open
2013 Mar 04
1
Mysterious issues with reading text files from R in ArcGIS and Excel
It seems within the last ~3 months Ive been having issues with writing text or csv files from a R data frame. The problem is multifold and it is hard to filter out what is going on and where the problem is. So, Im hoping someone else has come across this and may provide insight.
My current settings for R:
R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1]
2010 Jun 21
2
ctree
Hello,
This is a re-submittal of question I submitted last week, but haven't rec'd
any responses.
I need to extract the probabilities used to construct the barplots
displayed as part of the graph produced by plot("ctree").
For example,
library(party)
iris.ct <- ctree(Species ~ . , data = iris)
plot(iris.ct)
Instead of a simple example with only 4 terminal nodes, my
2012 Aug 09
4
debug vs regular mode
Dear all,
I had a R segmentation fault, and then invoked debug mode and ran step
by step.
When I reached "terms(Y~X1*X2*...*X16)", I would then have
"segmentation" fault. However, if I just ran this under regular "R
interactive" mode, it would be fine though taking long time.
My questions are:
1. Is there a known limit of terms for a formula?
2. Why does the
2012 Aug 09
4
debug vs regular mode
Dear all,
I had a R segmentation fault, and then invoked debug mode and ran step
by step.
When I reached "terms(Y~X1*X2*...*X16)", I would then have
"segmentation" fault. However, if I just ran this under regular "R
interactive" mode, it would be fine though taking long time.
My questions are:
1. Is there a known limit of terms for a formula?
2. Why does the
2017 Jun 03
3
cygwin1.dll problems when installing packages from source
Hi all,
I am having some problems in updating some packages from source. I start
with :
install.packages("Boom",lib="C:/RownLib",type="source")
I get the following error message :
* installing *source* package 'Boom' ...
** package 'Boom' successfully unpacked and MD5 sums checked
** libs
*** arch - i386
c:/Rtools/mingw_32/bin/g++ -std=gnu++11
2017 Jun 03
2
cygwin1.dll problems when installing packages from source
Hi,
As far as I can see, no.
On checking, I have confirmed that the only location of
cygwin1.dll is :
C:\Rtools\bin
Thanks
Vivek
2017-06-03 12:57 GMT+02:00 Duncan Murdoch <murdoch.duncan at gmail.com>:
> On 03/06/2017 6:31 AM, Vivek Sutradhara wrote:
>
>> Hi all,
>> I am having some problems in updating some packages from source. I start
>> with :
>>
2013 Mar 05
1
R-help Digest, Vol 121, Issue 5
On R 2.15.2 and ArcGIS 9.3.1, it works for me in ArcCatalog but you have to follow the particulars here:
http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Accessing_delimited_text_file_data
For example:
write.table(test, '***.tab', sep = '\t', row.names = F)
The extension .tab and sep = '\t' are required for text files. Didn't test row.names=T but I
2010 Nov 01
0
Extract node names from BinaryTree in package party
Hi there,
I need to extract the variable names from all nodes (except the
terminal nodes) from a ctree object, e.g.
library(party)
mammoct <- ctree(ME ~ ., data = mammoexp)
plot(mammoct)
how can I extract the varnames from node 1 (SYMPT) and node 3 (PB)
from the fitted object "mammoct"?
Many Thanks, Sven
2017 Jun 03
0
cygwin1.dll problems when installing packages from source
On 03/06/2017 6:31 AM, Vivek Sutradhara wrote:
> Hi all,
> I am having some problems in updating some packages from source. I start
> with :
> install.packages("Boom",lib="C:/RownLib",type="source")
>
> I get the following error message :
Do you have multiple copies of cygwin1.dll?
Duncan Murdoch
>
> * installing *source* package
2017 Jun 03
0
cygwin1.dll problems when installing packages from source
On 03/06/2017 7:00 AM, Vivek Sutradhara wrote:
> Hi,
> As far as I can see, no.
>
> On checking, I have confirmed that the only location of
> cygwin1.dll is :
> C:\Rtools\bin
I would re-install Rtools, and make sure C:\Rtools\bin appears first in
your PATH.
Duncan Murdoch
>
> Thanks
> Vivek
>
> 2017-06-03 12:57 GMT+02:00 Duncan Murdoch <murdoch.duncan at
2011 Apr 27
1
ctree and survival problem
Dear all,
I was intrigued by the ctree command and wanted to check it out. I first ran the demo with example(ctree) and did get the survival graphs in the end. Upon doing this with my own data and yielding a "Invalid operation on a survival time" I tried to rerun example(ctree) and now I also get "Invalid operation on a survival time" after the example runs plot(GBSG2ct)...
2010 Apr 07
1
extracting ctree() output information
Hi,
I am new to R and am using the ctree() function to do customer
segmentation. I am using the following code to generate the tree:
treedata$Response<-factor(treedata$Conversion)
fit<-ctree(Response ~
.,controls=ctree_control(mincriterion=0.99,maxdepth=4),data=treedata)
plot(fit)
print(fit)
The variable "Response" above equals 1 if the customer responded to an
offering and