similar to: how to fit a copula using real data?

Displaying 20 results from an estimated 8000 matches similar to: "how to fit a copula using real data?"

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
2011 Aug 09
0
testing goodness of fit for t copula
Hi, I'm a new user of R. I'm using package copula implemented in R. I want to know how to test goodness of fit of student's t copula for 3 dimensional cases using real world data. In manual gof test has been performed on the copula families generated from rcopula function that i understood as random data generated from copula? How to perform the test with real/observed data matrix.
2007 Mar 01
1
Fit Student Copula
Hello everybody, I have a big problem that I do not manage to solve ! I will be very grateful if you can solve this ! I want to fit a t Copula with the copula package : > student.cop <- ellipCopula("t", param = c(0.5, 0.6, 0.7), dim = 3, dispstr = "un",df=5) > x<-rcopula(student.cop,1000) > fit <- fitCopula(x, student.cop, c(0.5,0.5,0.5,5)) And there is an
2007 Jul 26
0
Fit t Copula
Hi, I am trying to fit t copula to some data, and I am using the following function in the library(QRMlib). Udatac <- apply(datac, 2, edf,adjust=1) tcopulac <- fit.tcopula.rank(Udatac) But the error message come out "Error in fit.tcopula.rank(Udatac) : Non p.s.d. covariance matrix" Could anyone give me some advice? In fact, I am not sure what the "adjust=1" is used for.
2008 Jun 11
0
Goodness of fit tests for copula
How can i calculate the discrete L2 distance between the empirical copula and the estimated one. -- View this message in context: http://www.nabble.com/Goodness-of-fit-tests-for-copula-tp17779318p17779318.html Sent from the R help mailing list archive at Nabble.com.
2011 Dec 09
1
Goodness of Fit for Copula
Dear All, I'm now working on Archimedean copulas and try to test the goodness of fit. Which packages I should use? I have Clayton copula with parameter (5.35) and Frank (19.5). I found this build function wrote by Yan and Ivan via R Packages, but I'm not sure the matrix for x? Please advice. e.g gofCopula(claytonCopula(1),x) Thank you Regards, Fayyad [[alternative HTML version
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
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,
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;
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
2011 Aug 07
0
Fitting t copula
I'm a new user of R and a novice user in copula R package. I want to fit 3-dimensional t copula for my trivariate data. So I used the command t.cop <- tCopula(c(0.785,0.283,0.613),dim=3,dispstr="un",df=6,df.fixed = TRUE) where c(0.785,0.283,0.613) is the correlation pattern of my data with 0.785 pearson correlation between variable 1-2, 0.283 correlation between 1-3 and 0.613
2006 Oct 06
0
Bivariate Weibull distribution -- Copula
"Jenny Stadt" <jennystadt at yahoo.ca> asked: > > I am struggling in a bivariate Weibull distribution although I > searched R-Site-Help and found suggestion with Copula. Seems the > maximum likelihood estimate is beyond what I can understand. > > My case is: given two known marginal distribution (both are Weibull), > and the correlation between them. How can I
2012 Jul 12
0
Generate random numbers with nested Archimedean Copula
Hi everybody, I try to simulate random numbers from a trivariate nested Archimedean copula. My aim is to correlate two processes with, e.g. theta2, as the so called child pair and then to correlate these two processes with a third one with theta1 (parent). This "figure" tries to capture what I am explaining theta1 theta2
2006 Apr 24
1
Modeling inverse relationship with copula
Dear r list, I posted this on the S list last week since i'm using some of the FinMetrics functions on copula. Knowing there is a copula package in R, I figure this would be an appropriate forum to ask this question. I want to model inverse relationship between two (non-normal, non-symmetric) marginals with the gumbel copula, or with any copula. Say, x is lognormal and y is norm. Since
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
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
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]]
2013 Mar 14
0
Versions 0.50-1 of the np and npRmpi packages released - new features and deprecated options…
Dear useRs, We are pleased to announce that versions 0.50-1 of the np package and its MPI-aware counterpart, the npRmpi package, are now available on CRAN: http://cran.r-project.org/web/packages/np/index.html http://cran.r-project.org/web/packages/npRmpi/index.html In these versions we add new functionality: - new methods for multivariate mixed-data bandwidth selection for unconditional and
2013 Mar 14
0
Versions 0.50-1 of the np and npRmpi packages released - new features and deprecated options…
Dear useRs, We are pleased to announce that versions 0.50-1 of the np package and its MPI-aware counterpart, the npRmpi package, are now available on CRAN: http://cran.r-project.org/web/packages/np/index.html http://cran.r-project.org/web/packages/npRmpi/index.html In these versions we add new functionality: - new methods for multivariate mixed-data bandwidth selection for unconditional and
2006 Oct 23
2
Copula fitting
Hi, Is anybody using Copula package for fitting copulas to own datas? I always got this message: Error in qnorm(p, mean, sd, lower.tail, log.p) : Non-numeric argument to mathematical function thanks, Psl _______________________________________________________________ Ossza meg bar?taival f?nyk?pen meg?r?k?tett ?lm?nyeit. http:\\fototar.t-online.hu