Displaying 20 results from an estimated 2000 matches similar to: "a question on the use of 'solve'"
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
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
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 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
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
2017 Aug 17
2
PAM Clustering
Dear Germano,
Thank you for your fast reply,
In the above code, *MYData *is the actual data set.
Do not we need to convert *MYData to *the dissimilarity matrix using
*pam(as.dist(**MYData**), k = 10, diss = TRUE*)* code line?*
*Regards.*
On Thu, Aug 17, 2017 at 2:58 PM, Germano Rossi <germano.rossi at gmail.com>
wrote:
> try this
>
> MYdata <-
2017 Aug 17
0
PAM Clustering
Sorry, I never use pam. In the help, you can see that pam require a
dataframe OR a dissimilarity matrix. If diss=FALSE then "euclidean" was use.So,
I interpret that a matrix of dissimilarity is generated automatically.
Problems may be in your data. Indeed
pam(ruspini, 4)$diss
write a dissimilaty matrix
while
pam(MYdata,10)$diss
wite NULL
2017-08-17 16:03 GMT+02:00 Sema Atasever
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
2017 Aug 17
2
PAM Clustering
[This email is either empty or too large to be displayed at this time]
2006 Nov 15
1
cross-validation for count data
Hi everybody,
I'm trying to use cross-validation (cv.glm) for count data. Does someone know which is the appropriate cost function for Poisson distribution?
Thank you in advance.
Valerio.
Conservation Biology Unit
Department of Environmental and Territory Sciences
University of Milano-Bicocca
Piazza della Scienza,1
20126 Milano, Italy.
2017 Aug 17
0
PAM Clustering
try this
MYdata <- read.csv2("data.txt",dec='.')
library(cluster)
cluster.pam = pam(MYdata,10)
table(cluster.pam$clustering)
filenameclu = paste("clusters", ".txt")
write.table(cluster.pam$clustering, file=filenameclu,sep=",")
2017-08-17 10:28 GMT+02:00 Sema Atasever <s.atasever at gmail.com>:
> Dear Authorized Sir / Madam,
>
>
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
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
2010 Jan 15
1
the sample() function
hello R-Wizards!!!!! again i'm invoking your presence!!
since all the fuss about the paradoxes on a computer algorithm generating
"caos" or un-determinancy, i recently grew quite curious about the mechanism
underlying the procedure of NUMBER RADOMIZATION.
could anyone of you, masters, attach me the algorithm (or source code? is it
right?) behind the *sample()* function, so i can
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 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
2010 Oct 17
2
dpois().......bizarre warning messages
Dear Masters,
I have a question to submit
consider the following script
m<-4.95
obs<-rpois(36,m) # i generate 36 realization from a poisson(m)
hist(obs,freq=F)
curve(dpois(x,m),add=T,col="red") #i wish to overlay on the histogram the
theorical poisson density function
errors are returned saing the x vector doesn't contain integers....
really bizarre i can't give