Displaying 20 results from an estimated 1000 matches similar to: "Installing R-Packages from zipp file"
2017 Aug 06
1
Help with optim function in R, please?
Hi all,
Many thank in advance for helping me.? I tried to fit Expectation Maximization algorithm for mixture data. I must used one of numerical method to maximize my function.
I built my code but I do not know how to make the optim function run over a different value of the parameters.? That is,
For E-step I need to get the value of mixture weights based on the current (initial) values of
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 Mar 13
2
dmvnorm masked by emdbook
I am using curve3d in the emdbook package to graph a gaussian copula density
function generated via the copula package. Unfortunately, it appears that
emdbook masks dmvnorm from the package mvtnorm in a way that prohibits
copula from generating the gaussian copula. (Sounds very confusing!) For
example,
> library(copula)
> f<-function(x,y) dcopula(normalCopula(0),c(x,y))
>
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 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
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
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
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
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
2008 Mar 22
1
Vectorization Problem
I have the code for the bivariate Gaussian copula. It is written with
for-loops, it works, but I wonder if there is a way to vectorize the
function.
I don't see how outer() can be used in this case, but maybe one can
use mapply() or Vectorize() in some way? Could anyone help me, please?
## Density of Gauss Copula
rho <- 0.5 #corr
R <- rbind(c(1,rho),c(rho,1)) #vcov matrix
id <-
2016 Nov 01
2
libgsl.so.0
On 01/11/16 21:08, Kirill M?ller wrote:
> Did you reinstall the gsl package [1]?
Apparently not. I did a complete update.packages() which reinstalled a
great number of packages (I have a great number in my personal library).
There were complaints about 4 packages, one of which was "copula", but
"gsl" was not one of them.
I would have *thought* that if "gsl"
2015 Oct 05
2
Error generated by .Internal(nchar) disappears when debugging
Hi all,
I have a puzzling problem related to nchar. In R 3.2.1, the internal nchar
gained an extra argument (see
https://stat.ethz.ch/pipermail/r-announce/2015/000586.html)
I've been testing code using the package copula, and at home I'm still
running R 3.2.0 (I know, I know...). When trying the following code, I got
an error:
> library(copula)
> fgmCopula(0.8)
Error in
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 =
2006 Oct 10
1
r 2.4.0
Can someone help interprete the error message below? i was trying to
load the package "copula" from the R command prompt.
> Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) :
in 'copula' methods specified for export, but none defined: show,
summary, persp, contour
Error: package/namespace load failed for 'copula'
Thanks,
Dominique
2013 Mar 17
1
Copula package - normalCopula() param order
Hey all,
I'm trying to construct a 7-dimensional normal copula using the copula package. I'd like to supply as parameter a randomly generated correlation matrix (that I'll convert to a vector so I can feed it to the normalCopula function). What order do the pairwise correlations inside that vector have to be in? In other words: What does the normalCopula function "expect"?
2019 Jun 24
1
Calculation of e^{z^2/2} for a normal deviate z
>>>>> jing hua zhao
>>>>> on Mon, 24 Jun 2019 08:51:43 +0000 writes:
> Hi All,
> Thanks for all your comments which allows me to appreciate more of these in Python and R.
> I just came across the matrixStats package,
> ## EXAMPLE #1
> lx <- c(1000.01, 1000.02)
> y0 <- log(sum(exp(lx)))
> print(y0) ## Inf
2012 Oct 19
1
quantile regression using copulas
Hi all,
Has anyone used the qua.regressCOP2 function from the copBasic package???
The default copula function used in this function is plackett copula and I
wanted to use archimedean copula. Attached below is my code:
mycop<-frankCopula
V=seq(0.001,0.99,by=0.000217)
R<-qua.regressCOP2(0.25,V,cop=mycop,para=c(3.504))
And this is the error I get:
Warning messages:
1: In
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
2009 Sep 23
1
Maximum Likelihood Est. regarding the degree of freedom of a multivariate skew-t copula
Hello,
I have a bigger problem in calculating the Maximum Likelihood Estimator regarding the degree of freedom of a multivariate skew-t copula.
First of all I would like to describe what this is all about, so that you can understand my problem:
I have 2 time series with more than 3000 entries each. I would like to calculate a multivariate skew-t Copula that fits this time series.
Notice:
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]]