Re: [R] maximum likelihood estimation

2007-07-19 Thread Ajay Shah
> I need to perform maximum likelihood estimation on R, but I am not sure > which command to use. I searched on google, and found an example using the > function mlogl, but I couldn't find the package on R. Is there such > function? Or how should i perform my mle? http://www.mayin.org/ajayshah/KB/

Re: [R] maximum likelihood estimation

2007-07-18 Thread Gabor Csardi
On Wed, Jul 18, 2007 at 08:08:50AM -0700, rach.s wrote: > > Hello! > > I need to perform maximum likelihood estimation on R, but I am not sure > which command to use. I searched on google, and found an example using the > function mlogl, but I couldn't find the package on R. Is there such > funct

[R] maximum likelihood estimation

2007-07-18 Thread rach.s
Hello! I need to perform maximum likelihood estimation on R, but I am not sure which command to use. I searched on google, and found an example using the function mlogl, but I couldn't find the package on R. Is there such function? Or how should i perform my mle? Thank you very much. -- View t

Re: [R] maximum likelihood estimation of 5 parameters

2007-01-05 Thread Charles C. Berry
versity >> >> Ph: (410) 502-2619 >> >> Fax: (410) 614-9625 >> >> Email: [EMAIL PROTECTED] >> >> Webpage: http://www.jhsph.edu/agingandhealth/People/Faculty/Varadhan.html >> >> >> >> --

Re: [R] maximum likelihood estimation of 5 parameters

2007-01-05 Thread francogrex
-- > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of francogrex > Sent: Friday, January 05, 2007 10:42 AM > To: r-help@stat.math.ethz.ch > Subject: Re: [R] maximu

Re: [R] maximum likelihood estimation of 5 parameters

2007-01-05 Thread Ken Beath
Using the inverse logistic transform to replace p by exp(xp)/(1+exp(xp)) allows unconstrained fitting of xp. There may still be problems where xp tends to + or - infinity depending on starting values. >>> francogrex <[EMAIL PROTECTED]> 01/05/07 11:54 PM >>> Hi Guys, it would be great if you cou

Re: [R] maximum likelihood estimation of 5 parameters

2007-01-05 Thread Ravi Varadhan
y/Varadhan.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of francogrex Sent: Friday, January 05, 2007 10:42 AM To: r-help@stat.math.ethz.ch Subject: Re: [R] maximum likelihood estimation of 5 parameters Franco, You can provide lower and uppe

Re: [R] maximum likelihood estimation of 5 parameters

2007-01-05 Thread Prof Brian Ripley
On Fri, 5 Jan 2007, francogrex wrote: [quoting Ingmar Vissar without attribution, contrary to the posting guide.] > Franco, > You can provide lower and upper bounds on the parameters if you use optim > with method="L-BFGS-B". > Hth, Ingmar > > Thanks, but when I use L-BFGS-B it tells me that the

Re: [R] maximum likelihood estimation of 5 parameters

2007-01-05 Thread francogrex
Franco, You can provide lower and upper bounds on the parameters if you use optim with method="L-BFGS-B". Hth, Ingmar Thanks, but when I use L-BFGS-B it tells me that there is an error in optim(start, f, method = method, hessian = TRUE, ...) : L-BFGS-B needs finite values of 'fn' -- View this

Re: [R] maximum likelihood estimation of 5 parameters

2007-01-05 Thread Ingmar Visser
Franco, You can provide lower and upper bounds on the parameters if you use optim with method="L-BFGS-B". Hth, Ingmar > From: francogrex <[EMAIL PROTECTED]> > Date: Fri, 5 Jan 2007 04:54:50 -0800 (PST) > To: > Subject: [R] maximum likelihood estimation of 5 parameter

[R] maximum likelihood estimation of 5 parameters

2007-01-05 Thread francogrex
Hi Guys, it would be great if you could help me with a MLE problem in R. I am trying to evaluate the maximum likelihood estimates of theta = (a1, b1, a2, b2, P) which defines a mixture of a Poisson distribution and two gamma prior distributions (where the Poisson means have a gamma distribution,

Re: [R] Maximum likelihood estimation of Regression parameters

2006-06-12 Thread Bart Joosen
encer Graves" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Bart Joosen" <[EMAIL PROTECTED]>; Sent: Sunday, June 11, 2006 5:20 PM Subject: Re: [R] Maximum likelihood estimation of Regression parameters > Have you looked at "lm"? I think that'

Re: [R] Maximum likelihood estimation of Regression parameters

2006-06-11 Thread Spencer Graves
Have you looked at "lm"? I think that's what you want. Also, have you reviewed the "Documentation" list at "www.r-project.org"? Neter, Kutner, nachtsheim & Wasserman has had a long and successful run having first appeared in 1974 and having gone through several editions si

Re: [R] Maximum likelihood estimation of Regression parameters

2006-06-10 Thread Xiaoting Hua
mle(stats4)Maximum Likelihood Estimation is it list above what you want? On 6/10/06, Bart Joosen <[EMAIL PROTECTED]> wrote: Hi, I want to use Maximum likelihood to estimate the parameters from my regression line. I have purchased the book "Applied linear statistical models" fr

[R] Maximum likelihood estimation of Regression parameters

2006-06-10 Thread Bart Joosen
Hi, I want to use Maximum likelihood to estimate the parameters from my regression line. I have purchased the book "Applied linear statistical models" from Neter, Kutner, nachtsheim & Wasserman, and in one of the first chapters, they use maximum likelihood to estimate the parameters. Now I want

Re: [R] Maximum Likelihood Estimation

2006-04-03 Thread Uwe Ligges
Andrej Kastrin wrote: > Uwe Ligges wrote: > >>[EMAIL PROTECTED] wrote: >> >> >> >>>Hi, >>> >>>I would like to know how to configure R so that I can enter some values >>>and compute the Muximum likelihood estimation of my data. >>> >> >>Maximum likelihood estimation of what? >>I do not know

Re: [R] Maximum Likelihood Estimation

2006-04-03 Thread Andrej Kastrin
Uwe Ligges wrote: > [EMAIL PROTECTED] wrote: > > >> Hi, >> >> I would like to know how to configure R so that I can enter some values >> and compute the Muximum likelihood estimation of my data. >> > > Maximum likelihood estimation of what? > I do not know the definition of "Maximum likelih

Re: [R] Maximum Likelihood Estimation

2006-04-03 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: > Hi, > > I would like to know how to configure R so that I can enter some values > and compute the Muximum likelihood estimation of my data. Maximum likelihood estimation of what? I do not know the definition of "Maximum likelihood estimation of [...] data". Uwe Ligge

[R] Maximum Likelihood Estimation

2006-04-03 Thread vkatoma
Hi, I would like to know how to configure R so that I can enter some values and compute the Muximum likelihood estimation of my data. Thanks Victor. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read t

Re: [R] Maximum Likelihood Estimation

2006-03-01 Thread Ben Bolker
Arun Kumar Saha gmail.com> writes: > > hi all, > > Can anyone tell me how to do Maximum Likelihood Estimation in R? > Unfortunately this question is ***way*** too vague for us to answer adequately. A short answer is that R provides general-purpose minimization functions (optim, nlm, nlminb

[R] Maximum Likelihood Estimation

2006-03-01 Thread Arun Kumar Saha
hi all, Can anyone tell me how to do Maximum Likelihood Estimation in R? Thanks in advance Arun -- [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the p

Re: [R] maximum likelihood estimation

2004-10-15 Thread Martin Maechler
> "Roger" == Roger D Peng <[EMAIL PROTECTED]> > on Thu, 14 Oct 2004 17:06:25 -0400 writes: Roger> What lead you to believe that mle() is defunct? It's Roger> still in the `stats4' package in my installation of Roger> R. yes indeed. Just to clarify possible confusions: T

Re: [R] maximum likelihood estimation

2004-10-14 Thread Roger D. Peng
What lead you to believe that mle() is defunct? It's still in the `stats4' package in my installation of R. -roger T. Murlidharan Nair wrote: Since mle is defunct is there anyother function I can use for maximum likelihood estimation ? Thanks ../Murli __

[R] maximum likelihood estimation

2004-10-14 Thread T. Murlidharan Nair
Since mle is defunct is there anyother function I can use for maximum likelihood estimation ? Thanks ../Murli __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posti

Re: [R] Maximum likelihood estimation in R

2004-02-16 Thread Prof Brian Ripley
2.97093013 0.88852969 > (0.08885297) (0.06281083) > > hope this helps. spencer graves > > Rau, Roland wrote: > > >Hi, > > > > > > > >>-Original Message- > >>From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] >

Re: [R] Maximum likelihood estimation in R

2004-02-16 Thread Spencer Graves
ot;normal", list(mean=0, sd=1)) mean sd 2.97093013 0.88852969 (0.08885297) (0.06281083) hope this helps. spencer graves Rau, Roland wrote: Hi, -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent: Sunday, February 15, 2004 10:24 PM To:

Re: [R] Maximum likelihood estimation in R

2004-02-16 Thread DivineSAAM
Hello, Excellent, also the book: Pawitan, Yudi (2001). In all Likelihood: Statistical Modelling and Inference using Likelihood, Clarendon Press, Oxford. Is very good and the associated Web Site is full of MLE using R. Hope this also helps. /oal __ [

RE: [R] Maximum likelihood estimation in R

2004-02-16 Thread Rau, Roland
Hi, > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Sent: Sunday, February 15, 2004 10:24 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [R] Maximum likelihood estimation in R > > Hello, > > Use > > > x=

RE: [R] Maximum likelihood estimation in R

2004-02-15 Thread Liaw, Andy
Or: library(mle) ?mle (which, BTW, uses optim() underneath.) Also, for those not aware of it, fitdistr(x, "normal") just computes mean(x) and (n-1)/n * var(x) and return them. (I can't imagine any reason to do otherwise for normal distribution.) Best, Andy > From: Spencer Graves > > If

Re: [R] Maximum likelihood estimation in R

2004-02-15 Thread Spencer Graves
If, however, you are more interested in general methods for maximizing a likelihood function, I suggest you look at "optim", work the examples on the help page, etc. hope this helps. spencer graves [EMAIL PROTECTED] wrote: Hello, Use x=rnorm(100, mean=3, sd=1) library(MASS) fi

Re: [R] Maximum likelihood estimation in R

2004-02-15 Thread DivineSAAM
Hello, Use > x=rnorm(100, mean=3, sd=1) > library(MASS) >fitdistr(x, "normal") mean sd 2.9331 0.99673982 (0.09967398) (0.07048015) Hope this helps, Shrieb __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/ma

[R] Maximum likelihood estimation in R

2004-02-15 Thread Edward Sun
Dear Sir, I am a new user of R and I am doing a tast, which is: find the maximum likelihood estimate of the parameter of Gaussian distribution for generated 100 numbers by using >x=rnorm(100, mean=3, sd=1). I tried to use following Maximum Likelihood function fn<-function(x) (-50*log((sd(x))^2)

Re: [R] Maximum Likelihood Estimation and Optimisation

2003-07-10 Thread Spencer Graves
From: Fohr, Marc [AM] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 10:17 AM To: [EMAIL PROTECTED] Subject: [R] Maximum Likelihood Estimation and Optimisation Hello, I want to calculate a maximum likelihood funktion in R in order to solve for the parameters of an estimator. Is t

FW: [R] Maximum Likelihood Estimation and Optimisation

2003-07-10 Thread David Barron
July 2003 15:43 To: Fohr, Marc [AM]; [EMAIL PROTECTED] Subject: RE: [R] Maximum Likelihood Estimation and Optimisation Well, lm() produces an OLS solution, which are also MLE solutions for the fixed effects. I think this is an easy way, although maybe not the best. BHHH is a numerical approximation

RE: [R] Maximum Likelihood Estimation and Optimisation

2003-07-10 Thread Harold Doran
: [EMAIL PROTECTED] Subject: [R] Maximum Likelihood Estimation and Optimisation Hello, I want to calculate a maximum likelihood funktion in R in order to solve for the parameters of an estimator. Is there an easy way to do this in R? How do I get the parameters and the value of the maximum

[R] Maximum Likelihood Estimation and Optimisation

2003-07-10 Thread Fohr, Marc [AM]
Hello, I want to calculate a maximum likelihood funktion in R in order to solve for the parameters of an estimator. Is there an easy way to do this in R? How do I get the parameters and the value of the maximum likelihood funktion. More, I want to specify the algorithm of the optimisation abov

Re: [R] Maximum likelihood estimation of a mixture of two weibull distribution

2003-01-22 Thread Peter Dalgaard BSA
"Ivone Figueiredo" <[EMAIL PROTECTED]> writes: > Hi, > > I would like to estimate the parameters of a mixture of two Weibull > distributions by the maximum likelihood method. Is it possible to do it with > fitdist? Yes (in principle at least). Just define your mixture density as something like

[R] Maximum likelihood estimation of a mixture of two weibull distribution

2003-01-22 Thread Ivone Figueiredo
Hi, I would like to estimate the parameters of a mixture of two Weibull distributions by the maximum likelihood method. Is it possible to do it with fitdist? Thanks IF [[alternate HTML version deleted]] __ [EMAIL PROTECTED] mailing list http:/

[R] Maximum likelihood estimation of a mixture of two weibull distribution

2003-01-22 Thread Ivone Figueiredo
Hi, I would like to estimate the parameters of a mixture of two Weibull distributions by the maximum likelihood method. Is it possible to do it with fitdist? Thanks IF [[alternate HTML version deleted]] __ [EMAIL PROTECTED] mailing list http:/