Re: [R] Error : 'start' contains NA values when fitting frank copula

2018-04-21 Thread Soumen Banerjee
Hi Martin, Thanks for the reply. I tried to make a toy example so that I could get the same error. I have attached the data file for which the error occurs in my program. The code after loading this file is - fr_cop = frankCopula(dim=6) fit_fr_cop = fitCopula(fr_cop,pobs(data),method="mpl") This

Re: [R] Error : 'start' contains NA values when fitting frank copula

2018-04-21 Thread Martin Maechler
> Soumen Banerjee > on Sat, 21 Apr 2018 17:22:56 +0800 writes: > Hello! I am trying to fit a copula to some data in R and > I get the error mentioned above. This is the code for a > reproducible example - (not really reproducible: You did not set the random seed, so the

[R] Error : 'start' contains NA values when fitting frank copula

2018-04-21 Thread Soumen Banerjee
Hello! I am trying to fit a copula to some data in R and I get the error mentioned above. This is the code for a reproducible example - library(copula) data = matrix(data=runif(600),nrow=200,ncol=3) data[,2] = 2*data[,1] data[,3] = 3*data[,1] fr_cop = frankCopula(dim=3) fit_fr_cop = fitCopula(fr_c