Re: [R] Difficulty in calculating MLE through NLM

2009-07-02 Thread Ravi Varadhan
jhmi.edu - Original Message - From: Madan Gopal Kundu Date: Wednesday, July 1, 2009 9:25 am Subject: [R] Difficulty in calculating MLE through NLM To: r-help > Hi R-friends, > > Attached is the SAS XPORT file that I have imported into R using > following code > lib

Re: [R] Difficulty in calculating MLE through NLM

2009-07-01 Thread Ravi Varadhan
From: Madan Gopal Kundu Date: Wednesday, July 1, 2009 9:25 am Subject: [R] Difficulty in calculating MLE through NLM To: r-help > Hi R-friends, > > Attached is the SAS XPORT file that I have imported into R using > following code > library(foreign) > mydata<-read.xport(&q

[R] Difficulty in calculating MLE through NLM

2009-07-01 Thread Madan Gopal Kundu
Hi R-friends, Attached is the SAS XPORT file that I have imported into R using following code library(foreign) mydata<-read.xport("C:\\ctf.xpt") print(mydata) I am trying to maximize logL in order to find Maximum Likelihood Estimate (MLE) of 5 parameters (alpha1, beta1, alpha2, beta2, p) using N