Displaying 20 results from an estimated 400 matches similar to: "Rpart - user defined split functions"
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
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
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
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
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 Nov 24
1
Splitting criterion in tree and rpart
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20061124/6ac3d11f/attachment.pl
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 21
2
Matrix sum
Someone knows the existence of a function to sum the elements of the same
place A[i,j] B[i,j] of a matrix?thank you
--
Dr. Daniele Riggi, PhD student
University of Milano-Bicocca
Department of Statistics
Building U7, Via Bicocca degli Arcimboldi, 8
20126 Milano, Italy
cell. +39 328 3380690
mailto: daniele.riggi@gmail.com
[[alternative HTML version deleted]]
2009 May 21
1
em algorithm mixture of multivariate normals
Hi,
I would like to know if it is possible to have a "R code" to estimate the
parameters of a mixture of bivariate (or multivariate) normals via EM
Algorithm. I tried to write it, but in the estimation of the matrix of
variance and covariance, i have some problems. I generate two bidimensional
vectors both from different distribution with their own vector means and
variance and
2009 Jun 03
2
problem with uniroot
Hi R-users,I'm trying to solve a non linear equation, to find the degrees of
freedom of a mixture of t student. I'm sure i wrote the minimization
equation in the right way, but when i try to run the EM algorithm to
estimate the parameters of the mixture, the following error will appear:
Error in uniroot(function(z) log(z/2) - digamma(z/2) + 1 - log((z + d)/2) +
:
f() values at end
2002 May 13
1
Spatio-temporal analysis of homicide rates
Dear R-listers,
I would like to carry out a very basic descriptive analysis of homicides
rates in Italy, taking into account both the spatial dimension (103
provinces) and the temporal dimension (10 years), but no covariates. In
practice, what I would like to do is to describe spatio-temporal variation
of homicide rates, identifying those combinations of province-year where
the homicide rate
2009 May 22
0
EM algorithm mixture of multivariate
Hi, i would to know, if someone have ever write the code to estimate the
parameter (mixing proportion, mean, a var/cov matrix) of a mixture of two
multivariate normal distribution. I wrote it and it works (it could find
mean and mixing proportion, if I fix the var/cov matrix), while if I fix
anything, it doesn't work. My suspect is that when the algorithm iterates
the var/cov matrix, something
2009 May 22
0
EM algorithm mixture of multivariate gaussian
Hi, i would to know, if someone have ever write the code to estimate the
parameter (mixing proportion, mean, a var/cov matrix) of a mixture of two
multivariate normal distribution. I wrote it and it works (it could find
mean and mixing proportion, if I fix the var/cov matrix), while if I fix
anything, it doesn't work. My suspect is that when the algorithm iterates
the var/cov matrix, something
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 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
>
2005 Sep 08
1
package installation error (LF versus CR)
Hello,
I have the following problem in installing a package (in windows xp)
>rcmd install -c dlm
[ ..stuff deleted ]
... DLL made
installing DLL
installing R files
installing inst files
installing data files
installing man source files
installing indices
Errore in load(zfile, envir = envir) : l'input ?? stato danneggiato, LF
sostituiti da CR
Esecuzione interrotta
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