similar to: Splitting criterion in tree and rpart

Displaying 20 results from an estimated 400 matches similar to: "Splitting criterion in tree and rpart"

2009 May 21
1
Rpart - best split selection for class method and Gini splitting index
Dear R-users, I'm working with the Rpart package and trying to understand how the procedure select the best split in the case the method "class" and the splitting index "Gini" are used. In particular I'd like to have look to the source code that works out the best split for un unordered predictor. Does anyone can suggest me which functions in the sources I should
2007 Jan 03
1
User defined split function in Rpart
Dear all, I'm trying to manage with user defined split function in rpart (file rpart\tests\usersplits.R in http://cran.r-project.org/src/contrib/rpart_3.1-34.tar.gz - see bottom of the email). Suppose to have the following data.frame (note that x's values are already sorted) > D y x 1 7 0.428 2 3 0.876 3 1 1.467 4 6 1.492 5 3 1.703 6 4 2.406 7 8 2.628 8 6 2.879 9 5 3.025 10 3 3.494
2009 Jun 04
0
ordered Twoing criterion in classification trees
Dear R users, I'm using the rpart package to build classification trees. I'm interested in implementing the ordered Twoing as a splitting criterion. Does anyone have experience with this task ? Thank you for your help Paolo Paolo Radaelli Dipartimento di Metodi Quantitativi per le Scienze Economiche ed Aziendali Facolt? di Economia Universit? degli Studi di Milano-Bicocca Via Bicocca
2009 Jun 09
3
rpart - the xval argument in rpart.control and in xpred.rpart
Dear R users, I'm working with the rpart package and want to evaluate the performance of user defined split functions. I have some problems in understanding the meaning of the xval argument in the two functions rpart.control and xpred.rpart. In the former it is defined as the number of cross-validations while in the latter it is defined as the number of cross-validation groups. If I am
2009 Mar 25
1
mvtnorm package
Dear all, I would like to ask information about the package mvtnorm in R. It is very useful for me the "qmvnorm" comand, but I see that it can compute only quantile for equicoordinate. Is it possible to have a curve (or a set of values) if we don't want equicoordinates? Thank you Best regards Antonio. -- Antonio Lucadamo, Dipartimento di Scienze Economiche e Metodi Quantitativi
2009 May 04
1
ellipse
Dear all, I'm using the ellipse package and I would like to verify if the confidence region that I build with this package can be equivalent to an Union Intersection Test. I used different value for the t-statistic but I can not find the right equivalence. Does someone know how to choose the right value? Thanks a lot. Antonio -- Antonio Lucadamo, Dipartimento di Scienze Economiche e
2009 May 14
0
Rpart - user defined split functions
Dear all, I'm writing my own method to be used in Rpart by defining the list of functions named init, split and eval. I'm following the example given in the file 'tests/usersplits.R' in the sources. By now I'm able to define the split function (and it works correctly in the tree construction) while I have some problems with the init and the eval function. The task I'm
2009 May 26
0
cross-validation in rpart
Dear R users, I know cross-validation does not work in rpart with user defined split functions. As Terry Therneau suggested, one can use the xpred.rpart function and then summarize the matrix of the predicted values into a single "goodness" value. I need only a confirmation: set for example xval=10, if I correctly understood a single column of the matrix obatined by xpred.rpart gives
2004 Oct 04
4
scatter plot and marginal
Hallo, I would like to add the marginal distributions along the X and the Y axis to a scatter plot. Can anybody help me, please? Thank you, Paolo -- Paolo Bulla Istituto di Metodi Quantitativi Universit?? "L. Bocconi" viale Isonzo 25 20136 Milano paolo.bulla at unibocconi.it
2005 Dec 28
2
R on Mandriva 2006
Hello anyone, I'm trying to install R on Mandriva 2006 distribution via rpm file with the line urpmi R-2.0.0-1mdk.i586.rpm but I got an error message saying that the file is not accessible due to some info problem. I also tried with a source code in R-2.1.1.tar but I think that there is some problem concerning the new version of gcc (4.x), so I downgraded it to gcc 3.4.5 but it does
2006 Mar 03
2
Compute quantiles with values and correspondent frequencies
Dear List, quantile(x) function allows to obtain specified quantiles of a vector of observations x. Is there an analogous function to compute quantiles in the case one have the vector of the observations x and the correspondent vector f of relative frequencies ? Thank you Paolo Radaelli [[alternative HTML version deleted]]
2003 Oct 23
2
Quantreg Package
I've just installed R 1.0.8 (for Windows) and I tried to install the package Quantreg directly from Cran but it's not in the list of downlodable packages. I tried also downloading the zip file and then install it but there is an error. How can I do it? Thank you [[alternative HTML version deleted]]
2004 Apr 09
1
R-estimators
Dear all, could you please suggest me the package I have to install in order to use ranks statistics in regression models (R-Estimators, wilcoxon scores ...) Thanks and Happy Easter Paolo Radaelli [[alternative HTML version deleted]]
2003 Jun 11
1
forcibly disconnect a user
Hi, i want forcibly disconnect a user in a windows xp client after 1 hour that he logs on a samba domain. How can i do? There is also a way to display the time remain of session? Thanks a lot ---------------------------------------------------------- Sig Carlo Busetto Dipartimento di Scienze Economiche Universit? Ca' Foscari Cannaregio n? 873 30121 Venezia Tel 041-2349137 Fax
2006 Aug 25
1
Problems with APC Smart-UPS 1500 USB and, newhidups
Great! Please let the mailing list know if you run into any further problems. -- Peter Paolo Pedroni wrote: > > Alle 16:38, venerd=EC 25 agosto 2006, hai scritto: > > Paolo, > > > > I recently fixed some bugs regarding the report descriptor retrieval. > > Please try it with the newest development version from SVN. You can > > follow the instructions at >
2006 Sep 19
1
help on dirichlet distribution
Dear Gregory R. Warnes, I'm a phd student in statistics, at the University of Milano Bicocca. I'm interested to the methods of estimate the parameters of the Dirichlet distribution. Do you have implemented an algorithm in R? If so, can you give me the script? or, in general, some helps? Best Regards Gianna --------------------------------------------------------------- Gianna Monti
2006 Aug 25
1
Problems with APC Smart-UPS 1500 USB and newhidups driver
Whenever I try to use the newhidups driver with my new UPS I get the following message: #/lib/nut/newhidups -DDD -a SmartUps1500 Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.4) debug level is '3' [...skip unrelevant device...] Checking device (051D/0002) (001/005) - VendorID: 051d - ProductID: 0002 - Manufacturer: American Power Conversion - Product: Smart-UPS 1500 FW:601.3.I USB
2004 Sep 08
1
Case-Cohort Analysis
Hi All, I am in the middle of doing an analysis of a Case-Cohort design. I had three questions about the analysis: a) Does any one know of some public code for developing the patient risk sets (indexed by failure time) or is there a better way to organize the data? b) I was planning to use the Barlow weighting method. Has this or any other weighting method (Prentice, Self-Prentice) been
2009 Nov 09
1
Percentage effects in logistic regression
Dear ALL, I'm trying to figure out what the percentage effects are in a logistic regression. To be more clear, I'm not interested in the effect on y of a 1-unit increase in x, but on the percentage effect on y of a 1% increase in x (in economics this is also often called an "elasticity"). For example, if my independent variables are in logs, the betas can be directly
2008 May 05
2
rpart for survival fits
Hello Gurus: When I plot a survival fit using rpart for the classification tree, for each node, there is a decimal based number above the event/total. I tried to see if it's the exponential ratio or logrithmics, neither seem to be the case. I'm wondering if anyone knows what they are. Thanks, Karen _________________________________________________________________ Find hidden words,