Displaying 20 results from an estimated 10000 matches similar to: "random effects are mixture of normals"
2005 Dec 15
1
generalized linear mixed model by ML
Dear All,
I wonder if there is a way to fit a generalized linear mixed models (for repeated  binomial data)  via a direct Maximum Likelihood Approach. The "glmm" in the "repeated" package (Lindsey), the "glmmPQL" in the  "MASS" package (Ripley) and "glmmGIBBS"  (Myle and Calyton) are not using the full maximum likelihood as I understand. The
2004 Nov 18
1
gibbs sampling for mixture of normals
hi
i'm looking for a gibbs sampling algorithm for R for the case of mixture of K
normals, and in particular for the case of bivariate normals.
i'd be grateful if anyone could send its own R-routine, at least for the
univariate case.
thank you in advance
matteo
2006 Nov 27
0
EM algorithm for truncated multivariate mixture of normals
I couldn't find a direct answer in CRAN to this question, so I'm asking
with some trepidation. I have a multivariate dataset (data.frame) with
columns that can be expressed as a set of mixed normals (at least I think)
and need to impute values that have constraints (truncated mixture of
normals where the values cannot be below zero). If there isn't a package
that can do this, is there
2004 May 18
0
nlme: Initial parameter estimates
Hello,
I am trying to fit a nlme (non linear mixed effect). I am using  the SelfStart function SSlogis. However the  data in my hand  contains  few observations per subject  (4 or less), so the nlsList doesn't work...  In this case I should fixe initial parameter estimates. I  remark that  values of initial estimates have a greater effect on the model fit (i.e. loglikelihood,  AIC and also on
2004 May 25
0
NLME
Hi everyone,
Does the selfstart function SSlogis of the "nlme" library  allows the introduction of time  varying covariates ?
For example how can I interpret the xmid parameter (reperesenting the age at which we reach the half of the asymptote) if I want to explain it by a some time varying covariate?
Thanks in adavance,
Abderrahim
Abderrahim Oulhaj, Phd in Statistics
Oxford
2011 Apr 04
1
Difference in mixture normals and one density
Hello,
I am trying to find out if R can do the following:
I have a mixture of normals say f = 0.2*Normal(2, 5) + 0.8*Normal(3,2)
How do I find the difference in the densities at any particular point of f
and at Normal(2,5)?
-- 
Thanks,
Jim.
	[[alternative HTML version deleted]]
2007 May 25
0
Scale mixture of normals
Dear Friends,
Is there an R package which implements regression
models with error distributions following a scale
mixture of normals? 
Thanks
Anup
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
2007 Aug 04
2
Mixture of Normals with Large Data
All:
I am trying to fit a mixture of 2 normals with > 110 million observations. I
am running R 2.5.1 on a box with 1gb RAM running 32-bit windows and I
continue to run out of memory. Does anyone have any suggestions.
Thanks so much,
Tim
	[[alternative HTML version deleted]]
2004 Mar 12
0
Latent trait models
Hi,
I am looking for any  procedure in R to fit  "Latent variables models" in particular "Latent trait models (i.e. for binary data)". could anyone help me?
Many thanks ,
Dr Abderrahim Oulhaj
Oxford University
Department of Pharmacology
Mansfield Road
Oxford OX1 3QT
Tel:  +44 1865 224098
Fax: +44 1865 224099
Email: abderrahim.oulhaj@pharmacology.oxford.ac.uk
2009 Jun 12
1
Mixture of normals
Can anyone send me the R code for fitting a mixture of normal distributions.
Or in fact any'combination' of mixtures of distributions. I looke dta mix
but it is still not clear to me.
Jim
	[[alternative HTML version deleted]]
2007 Feb 23
3
mixture of 2 normals - starting values
Hi,
I have a problem of estimating a mixture of two normal distributions.  I
need to find the starting points automatically, since this is a part of a
larger piece of image processing code.
I found the mix2normal1 function in VGAM package that mentions a method of
finding starting values for mu1 and mu2 but refers the reader to a book by
Everitt and Hand.  Unfortunately, I do not have an easy
2002 Oct 22
5
Mixture of Univariate Normals
Dear list,
Can anyone provide a package or code for estimating the parameters of a
mixture of c (c >=2) univariate normal distributions?
I've tried the algorithm provided by Venables & Ripley (1999) p 263, for
the mixture of two normal, but I don't find the "ms" function in R. I've
used nls instead, but I'm not sure if it works the same.
The data I have is very
2005 Sep 12
1
Glmm for multiple outcomes
Dear All,
I wonder if there is an efficient way to fit the  generalized linear mixed model  for multivariate outcomes.
More specifically, Suppose that for a given subject i and at a  given time j we observe a multivariate  outcome Yij = (Y_ij1, Y_ij2, ..., Y_ijK). 
 where Y_ijk is a binomial(n_ijk, p_ijk). 
One way to jointly model  the data is to use the following specification:
g(p_ijk) =
2011 Apr 22
1
How to generate normal mixture random variables with given covariance function
Dear All,
Suppose Z_i, i=1,...,m are marginally identically distributed as a two normal mixture p0*N(0,1) + (1-p0) *N( miu_i, 1) where miu_i are  identically distributed according to a mixture and I have  generated Z_i one by one . 
Now suppose these m random variables are jointly m-dimensional normal with correlation matrix M= (m_ij).
How to proceed next or how to start correctly ? 
Question:  
2009 Nov 25
1
fitting mixture of normals distribution to asset return data
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091125/6a78f78b/attachment-0001.pl>
2009 Aug 06
0
Fitting Mixture of Non-Central Student's t Distributions
Dear Ingmar & Dave,
Thanks a lot for your help and sorry for the late reply.
Finally, I've found a way to separate the mixture of distributions
(empirically). But the gamlss package looks great, I'm sure it will help
me during my further studies.
Kind regards,
Susanne
On 15 Jun 2009, at 20:09, Ingmar Visser wrote:
> Dear Susanne & Dave,
> 
> The gamlss package family
2006 Feb 08
1
Mixture normal distribution
Dear R helper,
I hope that u can help me to sort out my problem
because I sent an E-mail last night to R-list but I
have not receive any help and at the same time I think
this problem is not so hard.
I have used the following functions before 
> K<-10
> prime<-c(2,3,5,7,11,13,17)
> UN<-seq(1:K)%*%t(sqrt(prime))
> U1<-UN-as.integer(UN)
> U<-matrix(qnorm(U1),K,7)
2009 Apr 30
1
finite mixture model (2-component Weibull): plotting Weibull 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 Weibull mixture -- where the components have a large overlap, and 
 I am trying to adapt the "mclust" package which concern to normal
2010 Mar 20
0
R code for normal mixture EM algorithm
Please help me in writing the R code for this problem. I've been solving this
for 4 days. It was hard for me to solve it. It's a simulation problem in R.
The problem is 
My true model is a normal mixture which is given as 
0.5 N(-0.8,1) + 0.5 N(0.8,1). This model has two components.
I will get a sample size equal to 100 from this model. I will do this 200
times.
That means, I will have