Re: [R] Using copulas with user-defined marginal functions

2013-04-21 Thread David Winsemius
Readers of this list should have been advised that this question has also been posted to StackOverflow: (And the unnamed package from which dMvdc is assumed to be coming from is 'copula'.) -- David On Apr 21, 2013, at 4:12 PM, Elisa Taveras Pena wrote: > I am trying to make a loglikelihood fu

[R] Using copulas with user-defined marginal functions

2013-04-21 Thread Elisa Taveras Pena
I am trying to make a loglikelihood function using copulas. I am trying to use mvdc to find the density function. When I run this I got the error that the pdf and cdf of my function tobit doesn't exist. Can somebody guide me where my mistake is? dtobit <- function(beta,sigma, x, y) {ifelse(y>0, dn