Displaying 20 results from an estimated 4000 matches similar to: "about pam"
2006 Feb 27
1
clustering
Hi there,
Sorry for the double email. Does R have the packages for the following
clustering methods? And if it does, what the commands for them?
1. SOM (Self-organization map)
2. Graph partitioning:
3. Neural network
4. Probability Binning
Thank you very much!
Linda
[[alternative HTML version deleted]]
2006 May 02
1
Cluster validation methods
Hi All,
Except the "Rand Index", "Dunn Index" and "Silhouette width", are there
other cluster validation methods in R? Could you please also specify the
function?
Thanks!
[[alternative HTML version deleted]]
2006 Apr 01
1
reference paper about SOM
Hi All,
I'm looking for some reference paper about SOM (self organizing map)
algorithm. I tried the paper which is mentioned in
the help page of function "som (package:som)":
http://www.cis.hut.fi/research/papers/som_tr96.ps.Z
But I can't open it for some reason. Could you please help me with it ?
Thanks a lot!
[[alternative HTML version deleted]]
2006 Jul 17
1
use "factor" for categorical covariate in Cox PH model
Hi All,
I'm learning the R codes for Cox PH modeling. Could I ask you what the
function of "factor" in modeling? Thank you!
When dealing with the categorical covariates (for example 3 groups), it
will come out different results if we add the command "factor" in front
of the categorical covariate or not: if we don't add "factor", there is
only one
2006 Jan 20
3
command in survival package
Hi there,
I have a question about one command sentence when I follow the example
in the book of "Survival analysis in S":
> aml1<-aml[aml$group==1]
but I got the error warning: NULL data frame with 23 rows
Thus, I couldn't keep going on the next command:
esf.fit<-survfit(Surv(aml1,status)~1).
and also when I try
> aml1<-aml[aml$group==1,]
2008 Mar 09
1
sampsize in Random Forests
Hi all,
I have a dataset where each point is assigned to a class A, B, C, or
D. Each point is also assigned to a study site. Each study site is
coded with a number ranging between 1-100. This information is stored
in the vector studySites.
I want to run randomForests using stratified sampling, so I chose the option
strata = factor(studySites)
But I am not sure how to control the number of
2006 Jan 25
1
imbalanced classes
Hi Andy,
I know this topic has been discussed before on the R-help, but I was
wondering if you could offer some advice specific to my application.
I'm using the R random forest package to compare two classes of data,
the number of cases in each class relatively low, 28 in class 1 and 9
in class 2. I'd really like to use R environment to analyze this data,
however I'm finding it
2011 Nov 01
1
Sample size calculations for one sided binomial exact test
I'm trying to compute sample size requirements for a binomial exact test.
we want to show that the proportion is at least 90% assuming that it is
95%, with 80% power so any asymptotic approximations are out of the
questions. I was planning on using binom.test to perform the simple test
against a prespecified value, but cannot find any functions for computing
sample size. do any exist?
2005 Oct 27
1
Repost: Examples of "classwt", "strata", and "sampsize" i n randomForest?
"classwt" in the current version of the randomForest package doesn't work
too well. (It's what was in version 3.x of the original Fortran code by
Breiman and Cutler, not the one in the new Fortran code.) I'd advise
against using it.
"sampsize" and "strata" can be use in conjunction. If "strata" is not
specified, the class labels will be used.
2003 Feb 28
1
Pam and Fanny vector length problems
I have "small" problem ...
with the cluster library each time I try to use
the "agnes","pam","fanny" functions with more than 20000 elements
I get the following error:
>Error in vector("double", length) : negative length vectors are not allowed
>In addition: Warning message:
>NAs introduced by coercion
But with the clara
2006 Nov 13
1
random forest regression
Dear all,
I am doing a regression in ramdomForest, using the option "sampsize" reduce
the number of records used to produce the randomForest object.
The manual says "For classification, if sampsize is a vector of the length
the number of strata, then sampling is stratified by strata, and the
elements of sampsize indicate the numbers to be drawn from the strata". I
need my
2009 Mar 20
2
randomForest
Hi!
I am dealing with random forest using R.
Is there a way to sample a fixed no.of rows from a dataset for use with
different trees in random Forest.
To be more clear, my data set contains 1500 rows, and I am growing 500 trees
in Random Forest
Is it possible to sample only 500 rows of data from the data set and use it
for different trees in the forest. I mean each tree of the forest should use
2005 Oct 27
1
Repost: Examples of "classwt", "strata", and "sampsize" in randomForest?
Sorry for the repost, but I've really been looking, and can't find any
syntax direction on this issue...
Just browsing the documentation, and searching the list came up short... I
have some unbalanced data and was wondering if, in a "0" v "1"
classification forest, some combo of these options might yield better
predictions when the proportion of one class is low (less
2006 Apr 03
2
about arguments in "bclust"
Hi All,
Just want to make sure, in function "bclust", do the following argument
only have one option?
argument "dist.method" has one option "Euclidian";
argument "hclust.method" has one option "average";
argument "base.method" has one option "kmeans".
Thank you!
[[alternative HTML version deleted]]
2007 Jan 28
2
help with RandomForest classwt option
Hello there,
I am working on an extremely unbalanced two class classification problems. I
wanna use "classwt" with "down sampling" together. By checking the rfNews()
in R, it looks that classwt is not working yet. Then I looked at the
software from Salford. I did not find the down sampling option. I am
wondering if you have any experience to deal with this problem. Do you
2005 Jul 23
2
cor(X) with P-Value
Friends
I am new to R (and statistics) so am struggling a bit.
Briefly...
I am interested in getting the P-Value from cor(X) where X is a matrix.
I have found cor.test.
Verbosely...
I have 4 vectors and can generate the corellation matrix...
> cor(cbind(X1, X2, X3, X4))
X1 X2 X3 X4
X1 1.00000000 -0.06190365 -0.156972795 0.182547517
X2
2012 Nov 24
6
IMPORTANT!!!! PLEASE HELP ME
Hi,
I want to generate 10000 samples from normal distribution with replacement
case and every sample size is 50. What should I do ?
--
View this message in context: http://r.789695.n4.nabble.com/IMPORTANT-PLEASE-HELP-ME-tp4650676.html
Sent from the R help mailing list archive at Nabble.com.
2009 May 13
2
Problems with randomly generating samples
Dear R users,
Can anyone please tell me how to generate a large number of samples in R, given certain distribution and size.
For example, if I want to generate 1000 samples of size n=100, with a N(0,1) distribution, how should I proceed?
(Since I dont want to do "rnorm(100,0,1)" in R for 1000 times)
Thanks for help
Debbie
2009 May 21
1
Need help on ploting Histograms
this is the command i made for a normal distribution, but when i try to plot
the histograms, i dont know why the bars don't stick on the line...
nsamples<-1000
sampsize<-15
Samples<-matrix(rnorm(nsamples*sampsize,0,1),nrow=nsamples)
a<-apply(Samples,1,var)
NC14<-a*14
x<-0:40
plot(x,dchisq(x,14),type='h')
hist(NC14,freq=F,add=T)
--
View this message in context:
2010 Jul 16
8
save plot
I made a plot, but after I made a second plot, the previous plot was
gone. How can I save all the plots in a file (I do not manually copy
and paste them one by one)?
Thanks.
Linda