search for: kakulmodani

Displaying 3 results from an estimated 3 matches for "kakulmodani".

2008 Apr 22
4
how to convert non numeric data into numeric?
I am having the following error in my function function(theta,reqdIRR) { theta1<-theta[1] theta2<-theta[2] n<-length(reqdIRR) constant<- n*(theta1+theta2) sum1<-lapply(reqdIRR*exp(theta1),FUN = sum) sum2<-lapply(exp(theta2 - reqdIRR*exp(theta1)),FUN = sum) sum = sum1 + sum2 log.fcn = constant - as.numeric(sum) result = - log.fcn return(result) } *error :
2008 Apr 26
1
How to use the optim function if the length of the objective function is greater than 1?
Hi, Please help me out with this.Im a new user of R. Thanks [[alternative HTML version deleted]]
2008 May 09
0
Log likelihood estimation using bivariate archimedean copula
Hi all, I am trying to build a copula model using the Gumbel Copula and I have two marginal distributions.I know the marginal parameters by using the fitdistr() and optim().The problem is I dont know my copula parameter. I am getting a bit confused of how shall I go about it.I read the previous threads where the query was to estimate all the parameters.How shall I define my log-likelihood