similar to: Refit for flexmix

Displaying 20 results from an estimated 10000 matches similar to: "Refit for flexmix"

2005 Apr 12
1
R Package: mmlcr and/or flexmix
Greetings I'm a relatively new R user and I'm trying to build a latent class model. I've used the 'R Site Search' and it appears there's not much dialogue on these packages On mmlcr, I've gotten it working, but not sure if I'm using it correctly. On flexmix, I can only seem to get results for one class. I'm attaching my code below - if anyone
2011 Jan 12
0
flexmix: predictions on new data from flexmix object
Dear R Users, R Core Team, I currently wonder how to predict the probability of an event with new data resulting from a finite mixture. I read the documentation of the flexmix package and the examples of applications provided on CRAN but I could not find how to predict (except "manually" but I am looking for a simpler solution) the final probability of the mixture (for each individual)
2011 Feb 23
0
negative binomial latent class regression in package flexmix
Hello list, Has anyone had any luck creating an M-step driver for negative binomial regression for use with package flexmix? I've had a look here: http://cran.r-project.org/web/packages/flexmix/vignettes/flexmix-intro.pdf as well as poking around in the flexmix source, but I haven't had much luck getting anything to work. I can't figure out how to a) come up with an initial estimate
2011 Feb 28
0
Gamma mixture models with flexmix
I've been trying with no success to model mixtures of Gamma distributions using the package flexmix (see examples below). Can anyone help me get it to model better? Thanks very much. -Ben ## ## Please help me get flexmix to correctly model mixtures of ## Gamma distributions. See examples below. ## library('flexmix') ## ## Plot a histogram of dat and the Gamma mixture model given
2007 Nov 20
0
try FlexMix RE: mulitmodal distributions
Hi, Marion, I believe the package FlexMix provides a more generalized version of finite mixture modeling than is found in mclust/mclust02. Please see: http://cran.r-project.org/doc/vignettes/flexmix/flexmix-intro.pdf Karen --- Karen M. Green, Ph.D. Karen.Green@sanofi-aventis.com Research Investigator Drug Design Group Sanofi Aventis Pharmaceuticals -----Original Message-----
2009 Dec 04
0
flexmix and mclust help
Hello, I'm trying out flexmix and mclust for the first time on some univariate data which is typically best described as lognormal, but can sometimes be gamma distributed as well. I first tried using EM on mclust assuming the data was lognormally distributed and could only get it to work in "E" mode, i.e. the equal variance mode. I could never get it to work on "V" mode [
2004 Oct 19
0
flexmix version 1.0-0 released
Dear useRs, FlexMix version 1.0-0 has been released on CRAN. FlexMix implements a general framework for finite mixtures of regression models using the EM algorithm. FlexMix provides the E-step and all data handling, while the M-step can be supplied by the user to easily define new models. Existing drivers implement mixtures of standard linear models, generalized linear models and model-based
2004 Oct 19
0
flexmix version 1.0-0 released
Dear useRs, FlexMix version 1.0-0 has been released on CRAN. FlexMix implements a general framework for finite mixtures of regression models using the EM algorithm. FlexMix provides the E-step and all data handling, while the M-step can be supplied by the user to easily define new models. Existing drivers implement mixtures of standard linear models, generalized linear models and model-based
2006 Mar 21
0
finite mixture model, using flexmix
Dear R-users, I would like to use the package flexmix to fit latent classes to a regression model. My data are repeated measurements of bernouilli variables so I can use the binomial family link to the glm function. The design is not balanced, meaning that for some individuals in my data set I have 10 measurements or more, for others I only have 5 or even less. My question is the following. Can
2011 Feb 28
1
mixture models/latent class regression comparison
Dear list, I have been comparing the outputs of two packages for latent class regression, namely 'flexmix', and 'mmlcr'. What I have noticed is that the flexmix package appears to come up with a much better fit than the mmlcr package (based on logLik, AIC, BIC, and visual inspection). Has anyone else observed such behaviour? Has anyone else been successful in using the mmlcr
2009 Nov 09
1
model based clustering with flexmix
Hello all, I am trying to fit a truncated mixture model and I wrote a driver for flexmix following the example in the vignette, but it doesn't work for me: it assigns all data points to one component only, e.g.: > > source('bugged.R') > > Call: > flexmix(formula = x ~ 1, k = 2, model = truncatedmodel(lower = -4, > upper = 4)) > > prior size
2011 Mar 01
1
Problem on flexmix when trying to apply signature developed in one model to a new sample
Problem on flexmix when trying to apply signature developed in one model to a new sample. Dear R Users, R Core Team, I have a problem when trying to know the classification of the tested cases using two variables with the function of flexmix: After importing the database and creating a matrix: BM<-cbind(Data$var1,Data$var2) I see that the best model has 2 groups and use: ex2
2018 Apr 27
0
about combining analysis results using package 'flexmix' and ' mice'
Hi, I am currently using package ?mice? to do multiple imputation for tourist data here. Then the complete datasets (e.g. m>= 100) will be analyzed with a finite mixture model using package ?flexmix?. I have found that it seems no feasible way to combine the multiple results into a final one smoothly using just a few commands. By the way I have seen that package like ?semTools? has such
2007 Apr 16
1
flexmix glm warning
Dear R-helpers & Friedrich Leisch, I'm trying to fit a mixture of regression models on attached data set by doing the following: agl <- read.table("agl.txt") mod1 <- flexmix(resp~gng+csc|Subject,data=agl, model=FLXglm(family="binomial"),k=2) The result is a (varying) number of the following warnings: Warning messages: 1: non-integer #successes in a
2006 Mar 18
0
No subject
To estimate the covariance matrix of e you could use the sample covariance matrix of the residuals. If desired, use its cholesky decomposition to transform to make the error approximately uncorrelated, then refit (and back-transform the coefficient matrix). Stacking the columns of Y and replicating X won't do what you write; it forces each univariate regression to have the same coefficients.
2005 Sep 08
1
clustering: Multivariate t mixtures
Hi, Before I write code to do it does anyone know of code for fitting mixtures of multivariate-t distributions. I can't use McLachan's EMMIX code because the license is "For non commercial use only". I checked, mclust and flexmix but both only do Gaussian. Thanks Nicholas
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 Apr 27
2
refit with binomial model (lme4)
Dear R users, I'm trying to use function 'refit' from lme4 and I get this error that I can't understand: > refit(dolo4.model4,cbind(uu,50-uu)) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "refit", for signature "mer", "matrix" if I try: > refit(dolo4.model4,uu) Error in asMethod(object) :
2005 Apr 16
0
bayesm: a package for Bayesian infererence for Marketing/Micro-Econometrics
We are pleased to announce the release of version 0.0 of bayesm on CRAN. bayesm covers many important models used in marketing and micro-econometrics applications. The package includes: Bayes Regression (univariate or multivariate dep var) Multinomial Logit Multinomial and Multivariate Probit Multivariate Mixtures of Normals Hierarchical Linear Models with a normal prior and covariates
2005 Apr 16
0
bayesm: a package for Bayesian infererence for Marketing/Micro-Econometrics
We are pleased to announce the release of version 0.0 of bayesm on CRAN. bayesm covers many important models used in marketing and micro-econometrics applications. The package includes: Bayes Regression (univariate or multivariate dep var) Multinomial Logit Multinomial and Multivariate Probit Multivariate Mixtures of Normals Hierarchical Linear Models with a normal prior and covariates