Displaying 20 results from an estimated 500 matches similar to: "package mclust: cdens, EMclust?"
2005 Oct 21
1
finite mixture model (2-component gaussian): plotting component gaussian components?
Dear Knowledgeable R Community Members,
Please excuse my ignorance, I apologize in advance if this is an easy question, but I am a bit stumped and could use a little guidance.
I have a finite mixture modeling problem -- for example, a 2-component gaussian mixture -- where the components have a large overlap, and
I am trying to use the "mclust" package to solve this problem.
I need
2007 Mar 23
0
plotting dnorm() issued from mclust models
Dear all
I have a problem in fitting lines() of the normal distributions
identified with Mclust on a histogram or a mclust1Dplot. Here is some
sample code to explain :
set.seed(22)
foo <- c(rnorm(400, 10, 2), rnorm(500, 17, 4))
mcl <- Mclust(foo, G=2)
mcl.sd <- sqrt(mcl$parameters$variance$sigmasq)
mcl.size <- c(length(mcl$classification[mcl$classification==2]),
2003 Nov 16
1
help with EMclust
we have implemented teh following code for determinging the clustering
model of a dataset.
bicvals <- EMclust( hdata, 7)
sumry1 <- summary(bicvals, hdata,7) # summary object for emclust()
print(sumry1)
This set of code gives the following output
classification table:
1 2 3 4 5 6 7
1 1 1 4 1 1 1
which I think means there is 1 gene in the 1st cluster...1 gene in the
2nd cluster ,
2002 Feb 14
1
Subsets in mclust
Dear group,
I want to use the mclust package on large data, and therefore I want to use
a subset in the initial clustering phase. From help(mclust):
k: If `k' is specified, the hierarchical clustering phase will
use a sample of size `k' of the data in the initial
hierarchical clustering phase. The default is to use the
entire data set.
m2 is a
2008 Oct 20
1
Mclust problem with mclust1Dplot: Error in to - from : non-numeric argument to binary operator
Dear list members,
I am using Mclust in order to deconvolute a distribution that I
believe is a sum of two gaussians.
First I can make a model:
> my.data.model = Mclust(my.data, modelNames=c("E"), warn=T, G=1:3)
But then, when I try to plot the result, I get the following error:
> mclust1Dplot(my.data.model, parameters = my.data.model$parameters, what = "density")
2005 Mar 07
3
R crashes using the em function of package mclust (PR#7719)
Hi,
I got the same problem like
http://tolstoy.newcastle.edu.au/R/devel/04/11/1204.html
R crashes when I use the em function from the mclust package on
univariate data and on a special case on bivariate data (when the matrix
is not provided as written in the manual).
It seems as if the problem is the format of the data to be analyzed.
Operating System: Windows XP (SP2)
R version: R-2.0.1
The
2010 Sep 22
0
Help with mclust package
Hi,
I am trying to run th mclust package on a variable "Tuberculin indurations"
recorded as mm. The file has only one variable. When I run the package I get
NULL value for mu and sigma. Can anybody say why?
This is the program:
library("mclust")
mc<-Mclust(x.trab,G=1:9,warn=TRUE)
mc
mc$mu
sqrt(mc$sigmasq)
and the output I get is
> library("mclust")
2004 Oct 19
1
Error message in mclust
I keep on receiving the message below after submitting the following line
using the mclust package. m2 is a 99 X 1 column vector.
* em(modelName = "E", m2, mu = c(25, 50), sigmasq=10, pro = c(0.4,
0.6))
Error in as.double.default(data) : (list) object cannot be coerced to
double.
Why do I receive this error?
Thank,
Brian C. Newquist
Research Statistician
2004 Oct 19
1
Windows XP crashes when running the EM algorithm in MCLUST
Whenever I submit the following command >result <- em("E", m1, mu=c(25, 50),
sigmasq=10, pro=c(0.49,0.51)) in MCLUST , I experience a problem with my
Windows XP. Has anyone had this type of problem?
I receive the general "send report" dialogue box and my program is no longer
able to run. Should I change any of my system settings? Let me know if you
think of anything
2004 May 06
0
Problem with mclust surfacePlot function
I am trying to follow the mclust examples in "MCLUST: Software for Model
Based Clustering, Density Estimation and Disriminant Analysis" by Chris
Fraley and Adrian Raftery, but I cannot reproduce the density and
uncertainty surfaces for the Lansing Woods maples. I am using R 1.8.1 with
the code below. The same code works fine in S-Plus 6.2
Am I missing something or is this a bug?
2007 Oct 03
0
help with mclust
Dear all,
I am attempting to model some one-dimensional data using Gaussian
mixture model with mclust. Generally, the data that I have have 3
overlapping populations (with one of them being the majority, and the
other two combining to less than 15%) and for some reason, mclust
consistently ignores the smaller peaks, giving me strange values for the
means (completely anti-intuitive in terms of
2007 Oct 03
1
FW: help with mclust
> No HTML this time. Sorry
Dear all,
I am attempting to model some one-dimensional data using Gaussian mixture model with mclust.? Generally, the data that I have have 3 overlapping populations (with one of them being the majority, and the other two combining to less than 15%) and for some reason, mclust consistently ignores the smaller peaks, giving me strange values for the means
2012 Nov 04
1
Struggeling with nlminb...
Hallo together,
I am trying to estimate parameters by means of QMLE using the nlminb
optimizer for a tree-structured GARCH model. I face two problems.
First, the optimizer returns error[8] false convergence if I estimate the
functions below. I have estimated the model at first with nlm without any
problems, but then I needed to add some constraints so i choose nlminb.
2011 Mar 03
2
lattice custom axis function -- right side margins
Dear R help list,
I have a plot with two different vertical scales that I want to display
on either side of the plot. It's quite similar to the
Fahrenheit-Centigrade example in the examples section of the
documentation for axis.default.
The right-side axis is clipped off, though, and I haven't been able to
figure out anything with viewport() and clipping or trellis.par.set to
fix
2006 Jan 05
4
Q: R 2.2.1: Memory Management Issues?
Dear Developers:
I have a question about memory management in R 2.2.1 and am wondering if you would be kind enough to help me understand what is going on.
(It has been a few years since I have done software development on Windows, so I apologize in advance if these are easy questions.)
-------------
MY SYSTEM
-------------
I am currently using R (version 2.2.1) on a PC running Windows 2000
2003 Aug 05
2
Error on mclust
Hi All,
I am trying to cluster a one-dimensional data (see the file attached) using
Mclust() but got an error message like:
>Mclust(x)
Error in rep(1, n) : Object "n" not found
When I do a simulation sometimes it works sometimes doesn't.
>Mclust(c(rnorm(50),rnorm(56,-0.5)))
Error in rep(1, n) : Object "n" not found
>Mclust(c(rnorm(56),rnorm(56,-0.5)))
best
2012 Apr 11
0
mosaic 0.4 on CRAN
One of the products of Project MOSAIC (funded by an NSF CCLI grant)
has been the development of an R package with the goal of making it
easier to use R, especially in teaching situations. We're not quite
ready to declare that we've reached version 1.0, but version 0.4 does
represent a fairly large step in that direction. You can find out
more about the package on CRAN or by installing
2012 Apr 11
0
mosaic 0.4 on CRAN
One of the products of Project MOSAIC (funded by an NSF CCLI grant)
has been the development of an R package with the goal of making it
easier to use R, especially in teaching situations. We're not quite
ready to declare that we've reached version 1.0, but version 0.4 does
represent a fairly large step in that direction. You can find out
more about the package on CRAN or by installing
2007 Dec 12
2
problem applying a conditional formula to each element of a matrix
I'm applying a function (Cov.f) defined below to each element of a
distance matrix. When I run the code below, I get a warning message
(below) and elements of returned matrix [2,3] and [3,2] are not zero
as I would expect. Clearly, there is an error... What am I doing
wrong? Thanks. --Dale
Warning message:
In if (h <= phi) { :
the condition has length > 1 and only the first element
2003 Nov 19
1
size of graphics device
Dear all,
In many cases, I need a plotting region much bigger than the screen (e.g. for maps or for graphs with many labels).
A. MS-Windows
if I try
windows(width=25, height=25, rescale="fixed")
it seems to be OK (a screen with scrollbars, exactly what I need)
but if I try then
plot(faithful$eruptions, faithful$waiting)
I receive
Error in plot.new() : Outer margins too large