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?

[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

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 function?

[R] Maximum likelihood acf

2007-01-12 Thread Alain Guillet
Hello! I am looking for a function which computes the maximum likelihood estimator of the autocorrelation function for a gaussian time series. Does a such function already exist in R? The estimator by default in R, acf(), uses the method of moments. Thanks a lot, Alain -- Alain Guillet

Re: [R] Maximum likelihood acf

2007-01-12 Thread Prof Brian Ripley
You will need to give us a reference, as the acf is not a parameter in a model in your description and MLEs apply to model parameters. Just possibly ar.mle is what you are looking for, perhaps plus ARMAacf? On Fri, 12 Jan 2007, Alain Guillet wrote: Hello! I am looking for a function which

Re: [R] Maximum likelihood acf

2007-01-12 Thread Alain Guillet
Prof. Brian Ripley, You are right, my question was not clear. In fact, I want to estimate the k first components of the acf, i.e. I want to estimate the k parameters (c(0),c(1),...c(k-1)), where c is the autocorrelation function, by a maximum likelihood estimator. Alain Prof Brian Ripley a

Re: [R] Maximum likelihood acf

2007-01-12 Thread Prof Brian Ripley
On Fri, 12 Jan 2007, Alain Guillet wrote: Prof. Brian Ripley, You are right, my question was not clear. In fact, I want to estimate the k first components of the acf, i.e. I want to estimate the k parameters (c(0),c(1),...c(k-1)), where c is the autocorrelation function, by a maximum

Re: [R] Maximum likelihood acf

2007-01-12 Thread Alain Guillet
In fact, I need it in the general case, not only for an ARMA process. Unfortunately, I have no reference to give so I will code it. Sorry for the trouble. Alain Prof Brian Ripley a écrit : On Fri, 12 Jan 2007, Alain Guillet wrote: Prof. Brian Ripley, You are right, my question was not

[R] maximum likelihood, 1st and 2nd derivative

2007-01-11 Thread francogrex
Hi guys again, it seems I haven't been doing the maximum likelihood estimation correctly. I quote below, can someone explain to me please what does it mean that the 2nd and 3rd derivatives of the function equals zero and how to compute that in R. We have our initial estimated, subjective

Re: [R] maximum likelihood, 1st and 2nd derivative

2007-01-11 Thread Ben Bolker
francogrex francogrex at mail.com writes: [SNIP] This maximisation involves a search in five-dimensional parameter space {θ: α1,α2, β1, β2, P} for the vector that maximises the likelihood as evidenced by the first and second derivatives of the function being zero. The likelihood is L(θ) =

[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

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: r-help@stat.math.ethz.ch Subject: [R] maximum likelihood estimation of 5 parameters Hi

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 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 there is

Re: [R] maximum likelihood estimation of 5 parameters

2007-01-05 Thread Ravi Varadhan
-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 upper bounds

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 could help

Re: [R] maximum likelihood estimation of 5 parameters

2007-01-05 Thread francogrex
Subject: Re: [R] maximum likelihood estimation of 5 parameters 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

Re: [R] maximum likelihood estimation of 5 parameters

2007-01-05 Thread Charles C. Berry
-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 upper bounds

Re: [R] maximum likelihood

2006-07-29 Thread Ben Bolker
Alexandre Bonnet bonnet at gmail.com writes: *hi,* *using articial data, i'm supposed to estimate model* *y(t) = beta(1) + beta(2)*x(t) + u(t), u(t) = gamma*u(t-1) + v(t), t = 1,...,100* *which is correctly specified in two ways: ML ommiting the first observation, and ML using all

[R] maximum likelihood

2006-07-28 Thread Alexandre Bonnet
hi, using articial data, i'm supposed to estimate model y(t) = beta(1) + beta(2)*x(t) + u(t), u(t) = gamma*u(t-1) + v(t), t = 1,...,100 which is correctly specified in two ways: ML ommiting the first observation, and ML using all 100 observation. since i'm still learning how to use R, i would

[R] maximum likelihood

2006-07-28 Thread Alexandre Bonnet
*hi,* *using articial data, i'm supposed to estimate model* *y(t) = beta(1) + beta(2)*x(t) + u(t), u(t) = gamma*u(t-1) + v(t), t = 1,...,100* *which is correctly specified in two ways: ML ommiting the first observation, and ML using all 100 observation.* *since i'm still learning how to use R,

Re: [R] Maximum likelihood estimation of Regression parameters

2006-06-12 Thread Bart Joosen
] Cc: Bart Joosen [EMAIL PROTECTED]; r-help@stat.math.ethz.ch 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's what you want. Also, have you reviewed the Documentation list at www.r

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 since

[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 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 from

Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution

2006-05-26 Thread Chaouch, Aziz
[mailto:[EMAIL PROTECTED] Sent: May 12, 2006 4:35 PM To: Chaouch, Aziz Subject: RE: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution look at the following code: library(copula) par(mfrow = c(2, 2)) x - mvdc(normalCopula(sin(0.5 * pi /2)), c(norm, norm), list(list(mean

Re: [R] Maximum likelihood estimate of bivariatevonmises-weibulldistribution

2006-05-26 Thread Ravi Varadhan
Subject: Re: [R] Maximum likelihood estimate of bivariatevonmises- weibulldistribution Hi, I'm still strugling with this copula model but this seems to be the way to go. I'm now trying to model the marginal distributions and and for wind direction I use a mixture of 2 von mises. I'd like

Re: [R] Maximum likelihood estimate of bivariatevonmises-weibulldistribution

2006-05-26 Thread Chaouch, Aziz
helpful! Regards, Aziz -Original Message- From: Ravi Varadhan [mailto:[EMAIL PROTECTED] Sent: May 26, 2006 12:18 PM To: Chaouch, Aziz Cc: r-help@stat.math.ethz.ch Subject: RE: [R] Maximum likelihood estimate of bivariatevonmises-weibulldistribution Hi Aziz, I am attaching a file

Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution

2006-05-15 Thread Chaouch, Aziz
[mailto:[EMAIL PROTECTED] Sent: May 12, 2006 4:35 PM To: Chaouch, Aziz Subject: RE: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution look at the following code: library(copula) par(mfrow = c(2, 2)) x - mvdc(normalCopula(sin(0.5 * pi /2)), c(norm, norm), list(list(mean

Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution

2006-05-15 Thread Cuvelier Etienne
:35 PM To: Chaouch, Aziz Subject: RE: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution look at the following code: library(copula) par(mfrow = c(2, 2)) x - mvdc(normalCopula(sin(0.5 * pi /2)), c(norm, norm), list(list(mean = 0, sd = 1), list(mean = 0, sd = 1))) contour(x

Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution

2006-05-15 Thread Chaouch, Aziz
Merci Etienne! I'll look at them with great interest. Aziz -Original Message- From: Cuvelier Etienne [mailto:[EMAIL PROTECTED] Sent: May 15, 2006 10:25 AM To: Chaouch, Aziz Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Maximum likelihood estimate of bivariate vonmises

Re: [R] Maximum likelihood estimate ofbivariatevonmises-weibulldistribut

2006-05-13 Thread Alan Cobo-Lewis
r-help@stat.math.ethz.ch on Saturday, May 13, 2006 at 6:00 AM -0500 wrote: One of my friends recently wrote his PhD thesis from University of Leeds under Kanti Mardia's direction. I bet your friend was really angling for that. -- Alan B. Cobo-Lewis, Ph.D. (207) 581-3840 tel

Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution

2006-05-12 Thread Dimitris Rizopoulos
- Original Message - From: Philip He [EMAIL PROTECTED] To: Chaouch, Aziz [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Thursday, May 11, 2006 11:21 PM Subject: Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution On 5/11/06, Chaouch, Aziz [EMAIL

Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution

2006-05-12 Thread Chaouch, Aziz
! Regards, Aziz -Original Message- From: Dimitris Rizopoulos [mailto:[EMAIL PROTECTED] Sent: May 12, 2006 3:01 AM To: Philip He; Chaouch, Aziz Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution - Original Message - From

Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution

2006-05-12 Thread Dimitris Rizopoulos
/ http://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: Chaouch, Aziz [EMAIL PROTECTED] To: Dimitris Rizopoulos [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Friday, May 12, 2006 3:13 PM Subject: RE: [R] Maximum likelihood estimate

Re: [R] Maximum likelihood estimate of bivariatevonmises-weibulldistribution

2006-05-12 Thread Ravi Varadhan
] -- -Original Message- From: [EMAIL PROTECTED] [mailto:r-help- [EMAIL PROTECTED] On Behalf Of Chaouch, Aziz Sent: Friday, May 12, 2006 9:13 AM To: Dimitris Rizopoulos; [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Maximum likelihood estimate

Re: [R] Maximum likelihood estimate of bivariatevonmises-weibulldistribution

2006-05-12 Thread Chaouch, Aziz
and then see how to choose the best copula model as you suggested. Aziz -Original Message- From: Ravi Varadhan [mailto:[EMAIL PROTECTED] Sent: May 12, 2006 1:41 PM To: Chaouch, Aziz; 'Dimitris Rizopoulos'; [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Subject: RE: [R] Maximum likelihood

Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution

2006-05-12 Thread Chaouch, Aziz
, Aziz; [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution the choice of the copula is, in fact, a model selection problem. First, you could have a look at the contour plots of different copulas (preferably

Re: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution

2006-05-12 Thread Chaouch, Aziz
Subject: RE: [R] Maximum likelihood estimate of bivariate vonmises-weibulldistribution look at the following code: library(copula) par(mfrow = c(2, 2)) x - mvdc(normalCopula(sin(0.5 * pi /2)), c(norm, norm), list(list(mean = 0, sd = 1), list(mean = 0, sd = 1))) contour(x, dmvdc, xlim = c(-2.7, 2.7

[R] Maximum likelihood estimate of bivariate vonmises-weibull distribution

2006-05-11 Thread Chaouch, Aziz
Hi, I'm dealing with wind data and I'd like to model their distribution in order to simulate data to fill-in missing values. Wind direction are typically following a vonmises distribution and wind speeds follow a weibull distribution. I'd like to build a joint distribution of directions and

Re: [R] Maximum likelihood estimate of bivariate vonmises-weibull distribution

2006-05-11 Thread Philip He
On 5/11/06, Chaouch, Aziz [EMAIL PROTECTED] wrote: Hi, I'm dealing with wind data and I'd like to model their distribution in order to simulate data to fill-in missing values. Wind direction are typically following a vonmises distribution and wind speeds follow a weibull distribution. I'd

Re: [R] Maximum Likelihood Estimation

2006-04-04 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 the definition of Maximum

[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

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 Ligges

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 likelihood estimation

Re: [R] Maximum likelihood

2006-03-18 Thread Spencer Graves
Have you considered the Bioconductor project (www.bioconductor.org)? If you are not already familiar with their capabilities, I suggest you review their capabilities and consider posting a question to their listserve if you don't find the answer without that. hope this

[R] Maximum likelihood

2006-03-14 Thread Erez Shabo
Hello all, I'm trying to calculate the Maximum likelihood of individuals to get the ancestry. I mixd 3 populations 15 generations in proportion of 20% 20% 60% when each population sorce have diferent genome (0 1 and 2) with frequencies for each one. So now i have individuals looks like 0 0 2 1 1

Re: [R] Maximum likelihood

2006-03-14 Thread Ben Bolker
Erez Shabo shaboerez at gmail.com writes: Hello all, I'm trying to calculate the Maximum likelihood of individuals to get the ancestry. I mixd 3 populations 15 generations in proportion of 20% 20% 60% when each population sorce have diferent genome (0 1 and 2) with frequencies for each

Re: [R] maximum likelihood estimate

2006-03-09 Thread Spencer Graves
I suggest you go to www.r-project.org - CRAN - (select a local mirror) - Packages. Among the offerings there, you will find the following: distr Object orientated implementation of distributions distrEx Extensions of package distr distrSimSimulation classes based on package

[R] maximum likelihood estimate

2006-03-05 Thread suhaila
Hi! Recently I try to find the method maximum likelihood for gamma,weibull,Pearson type III,Kappa Distribution, mixed exponential distribution, skew distribution. I have tried function ms() for gamma two parameters and weibull two parameters.It works but not for Pearson type III. I have problem

[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

Re: [R] Maximum Likelihood Estimation

2006-03-01 Thread Ben Bolker
Arun Kumar Saha arun.kumar.saha at 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

[R] maximum likelihood standard deviation

2005-06-02 Thread Carlo Fezzi
Dear R-helpers, Anybody knows which function can I use to comupute maximum likelihood standard errors? Using the function nlm I can get the estimate of the parameters of any likelihood that I want (for example now I am working on a jump diffusion process) but what about the standard error? Is

Re: [R] maximum likelihood standard deviation

2005-06-02 Thread Dimitris Rizopoulos
: +32/16/337015 Web: http://www.med.kuleuven.ac.be/biostat/ http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm - Original Message - From: Carlo Fezzi [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Thursday, June 02, 2005 1:43 PM Subject: [R] maximum likelihood standard

Re: [R] maximum likelihood standard deviation

2005-06-02 Thread Ben Bolker
Carlo Fezzi fezzi at stat.unibo.it writes: Dear R-helpers, Anybody knows which function can I use to comupute maximum likelihood standard errors? Using the function nlm I can get the estimate of the parameters of any likelihood that I want (for example now I am working on a jump

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: The 'mle'

[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!

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 :- Log likehoood function

2004-10-13 Thread Kunal Shetty
Dear R - users/Helpers I am dealing with bivariate Normal data with missing values. Further I am trying to implement Expectation-Maximization (EM) algorithm to resolve the missing data problem. Now one of the requirements is use the Log likehood function i.e -2Log so as to find a reliable

RE: [R] Maximum Likelihood :- Log likehoood function

2004-10-13 Thread Ted Harding
On 13-Oct-04 Kunal Shetty wrote: Dear R - users/Helpers I am dealing with bivariate Normal data with missing values. Further I am trying to implement Expectation-Maximization (EM) algorithm to resolve the missing data problem. Now one of the requirements is use the Log likehood function

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=rnorm(100, mean=3, sd=1) library(MASS

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 Spencer Graves
(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: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject:Re: [R] Maximum likelihood

Re: [R] Maximum likelihood estimation in R

2004-02-16 Thread Prof Brian Ripley
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=rnorm(100, mean=3, sd=1) library(MASS) fitdistr(x, normal

[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)

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

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)

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,

[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

RE: [R] Maximum Likelihood Estimation and Optimisation

2003-07-10 Thread Harold Doran
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 there an easy way to do this in R? How do I get the parameters and the value of the maximum

FW: [R] Maximum Likelihood Estimation and Optimisation

2003-07-10 Thread David Barron
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 Spencer Graves
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 there an easy way to do this in R? How do I get the parameters and the value of the maximum likelihood

[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

[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