Displaying 20 results from an estimated 2000 matches similar to: "Modeling inverse relationship with copula"
2006 May 12
3
Maximum likelihood estimate of bivariate vonmises-weibulldistribution
Thanks Dimitris!!! That's much clearer now. Still have a lot of work to
do this weekend to understand every bit but your code will prove very
useful.
Cheers,
Aziz
-----Original Message-----
From: Dimitrios Rizopoulos [mailto:Dimitris.Rizopoulos at med.kuleuven.be]
Sent: May 12, 2006 4:35 PM
To: Chaouch, Aziz
Subject: RE: [R] Maximum likelihood estimate of bivariate
2011 Nov 25
1
Copula Fitting Using R
Hi,
Is anybody using Copula package for fitting copulas to own data?
I have two marginals Log Normal with (parameters 1.17 and 0.76) and Gamma (
2.7 and 1.05)
Which package I should use to fit Gumbel and Clayton Copulas?
Thanks,
fayyad
[[alternative HTML version deleted]]
2011 Sep 18
2
calculating VAR of a (Gumbel) copula
Hello,
I am a new user of R (2.13.1), my operational system is Windows Vista.
I have a problem with the attached file SFEVaRHAC.r, calculating the VAR of
a Gumbel copula, based on the attached GumHAC_VaR_PL_w250_n1000_s2500.txt
1. I had a Error in file(file, "rt") : cannot open the connection message.
I solved it by reading a post in nabble to use setwd(choose.dir()) and
2018 Apr 21
0
Error : 'start' contains NA values when fitting frank copula
>>>>> Soumen Banerjee <soumen08 at gmail.com>
>>>>> 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 data is different every time;
2007 Jul 16
3
R and Copula
hi,
first I want to say that I'm new here, and new with copula and R.
That is the reason why I'm writing, if somebody can help me.
I have to make an example of Copula.
On internet I've found this forum and that copula can calculate with R.
Can somebody help me with the thing how can I start and where can read about
these stuffs.
Thank to all who can help!
--
View this message
2011 Sep 16
1
copula con marginales multivariantes
Hola,
Quiero saber si es posible programar una cópula donde las funciones marginales son multivariantes, siguiendo el esquema
del package ''Copula''. Es decir,
Copula(F(x,y), G(w,z)))
En el caso de funciones marginales univariantes, un ejemplo de la normal multivariante quedaria de la siguiente forma,
2023 Nov 07
1
Concordance and Kendall's tau in copula
Dear
I estimate a sample selection model using the Clayton copula and Burr
and Gaussian marginal. I need to derive ther Kendall'sw tau from the
concordance coefficient by integration. I came across a way to do that
in R long time ago but cannot find it again. Can somewone tell me what
to read and what to use? Thank you.
Steven Yen
2018 Apr 21
2
Error : 'start' contains NA values when fitting frank copula
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_cop,pobs(data),method = "mpl") #Error Here
The error says : Error in fitCopula.ml(copula, u
2013 Apr 21
1
Using copulas with user-defined marginal functions
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, dnorm(y,x%*%beta,
sigma),(1-pnorm((x%*%beta)/sigma)))}
ptobit <- function(beta,sigma, x,
2010 Jun 09
0
fitting t copula
Hi r-users,
I try to fit the t copula using the gamma marginals. But I got error message which I don't really understand.
Thank you for any help given.
myCop.t <- ellipCopula(family = "t", dim = 2, dispstr = "toep", param = 0.5, df = 8)
myCop.t
myMvd <- mvdc(copula = myCop.t, margins = c("gamma", "gamma"), paramMargins = list(list(mean = 0, sd
2008 Apr 30
2
fCopulae
Hello,
Hela wrote :
My problem in a few words is as folow:
I used the fCopulae packages because i have 2 series which are already
transformed in the uniform domain (the space of the copulas functions) and i
estimated with type archmList() from 1 to 22, but i don't know their
names:for exemple the type=4 is the Gumbel Copula...and for the others i
can't have any idea about how can i find
2013 May 03
0
Empirica Copula
Dear users
I am reposting this and hope it will be accepted this time.
I am using copula package to fit my bivariate data and simulation. As
explained in package documentation we can use our own data distribution to
feed on copula as long as we have d, p and q (pdf, cdf and quantile)
functions are available. Hence my code for those are:
# Make the functions for data distribution
2007 Jul 03
1
Empirical copula in R
Hi,
I would like to implement the empirical copula in R, does anyone know if it
is included in a package? I know it is not in the "Copula" package. This one
only includes a gof-test based on the empirical copula process.
Thanks for your help!
Gregor
--
View this message in context: http://www.nabble.com/Empirical-copula-in-R-tf4018319.html#a11412335
Sent from the R help mailing list
2006 Oct 10
2
copula
Dear R-helper,
Is there any thing that I am doing wrong in the following codes:
> norm.cop <- normalCopula(0.5)
> persp(norm.cop, dcopula)
The last command produces what follows
Error in persp(x, y, z, xlim, ylim, zlim, theta, phi, r, d, scale,
expand, :
invalid 'x' argument
In addition: Warning messages:
1: no non-missing arguments to min; returning Inf
2: no
2003 Nov 07
1
Copula functions in R?
Hello
I am writing to you regarding your interest in Copula/copulae and it?s
usage. I am currently studying Copula for my Master thesis and also
therefore have a large interest in it. Now I am looking for information
regarding copula as well as Copula and "R".
Code, information how to calculate or anything would be appreciated!
Since there seem to be little information regarding
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
2005 Feb 08
1
Copula as measure of correlation
Hello
Has anybody implemented a copula correlation in R in order to correlate
between two non-normally distributed time series.
Thanks
Sean
2009 Aug 17
2
Newbie that don't understand R code
I got some R code that I don't understand.
Question as comment in code
//where is t comming from, what is phi inverse
rAC <- function(name, n, d, theta){
#generic function for Archimedean copula simulation
illegalpar <- switch(name,
clayton = (theta < 0),
gumbel = (theta < 1),
frank = (theta < 0),
BB9 = ((theta[1] < 1) | (theta[2] < 0)),
GIG = ((theta[2] < 0) |
2013 Apr 22
0
Copula fitMdvc:
Hello,
I am trying to do a fit a loglikelihood function with Multivariate
distribution via copulas with fitMdvc. The problem is that it
doesn't recognize that my beta is a vector of km parameter and when I try
to run it it say that the length of my initial values is not the same as
the parameter.
Can somebody guide me where my mistake is.
Thanks,
Elisa.
#################################
2009 Apr 22
1
Copula package
Hi R-users,
I would like to use the copula package.? I? the package plus the mvtnorm and try to run the example given, but I got the following message:
install.packages(repos=NULL,pkgs="c:\\Tinn-R\\copula_0.8-3.zip")
norm.cop <- normalCopula(c(0.5, 0.6, 0.7), dim = 3, dispstr = "un")
t.cop <- tCopula(c(0.5, 0.3), dim = 3, dispstr = "toep",
df = 2, df.fixed =