similar to: multivariate lognormal distribution simulation in compositions

Displaying 20 results from an estimated 200 matches similar to: "multivariate lognormal distribution simulation in compositions"

2012 Oct 13
1
hep on arithmetic covariance conversion to log-covariance
Dear All,   is there a function in R that would help me convert a covariance matrix built based on arithmetic returns to a covariance matrix from log-returns?   As an example of the means and covariance from arithmetic:   mu <-c(0.094,0.006,1.337,1.046,0.263) sigma
2020 Oct 15
1
Logreturn variance in Heston model
I have to calculate the logreturn variance in the Heston model. How can I do? Do you know some function that calculates it? Thank you Barbara -- ________________________________________________________ Le informazioni contenute in questo messaggio di posta elettronica sono strettamente riservate e indirizzate esclusivamente al destinatario. Si prega di non leggere, fare copia, inoltrare a
2007 Mar 28
2
fitting data with conditions
Mich besch?ftig folgende Fragestellung. Ich kenne die Verteilung (lognormal) zus?tzlich weiss ich das 99%, das 90% und das 1% Quantil. Gibt es in R eine M?glichkeit die Lognormalverteilung zu finden, das heisst den korrespondierenden logmean und logsd? Vielen Dank f?r ihre Hilfe Gruss Yvonne
2013 Nov 07
1
R interface to C API Rf_logspace_{add,sub}?
Is there an R-language interface to the R API C-language functions Rf_logspace_add() and Rf_logspace_sub()? I don't see one but I may not looking under the right name. Various packages have functions which do that same sort of thing (log(exp(x)+exp(y)) and log(exp(x)-exp(y)) without unnecessary floating point errors). They have names like matrixStats::logSumExp(lx, na.rm=FALSE, ...)
2019 Sep 18
2
How to debug passes
Iulia, You need to check the contents of the hello.ll (or hello.bc) file rather than the input *.c file - ultimately that's what opt consumes. Try compiling without any optimisations: clang -O0 -emit-llvm -S hello.c -c -o hello.ll -Andrzej On 18/09/2019 11:34, iulia_s24 wrote: > Hi, > > Actually I copy-pasted step 5 from the article in which I found the > solution, in the text
2005 Dec 14
2
format(1M) quits if there are pools on disks and no zfs module
Hi. While submitting SDR-0149 on ZFS bug I encountered problem with format utility. This is v240 with snv_29 with internal disks. On s0 slices there is zfs pool (which is not imported). I did unload zfs modules then moved zfs driver and run format. Now format quits just because there''s no zfs module (and not even one zfs pool is imported). It shouldn''t behave that
2008 Oct 28
3
Recommended R books by XLSolutions Corporation
We've listed books we've recommended to our introductory R/R-PLUS courses attendees [1]http://www.experience-rplus.com/books.asp If you'd like to recommend a book, email [2]sue at xlsolutions-corp.com R-PLUS Rocks! R-PLUS Team 24 Hours Tech Support Think Fast, Think Big, Without The High Cost! [3]www.Experience-Rplus.com/Conference.asp
2014 May 13
0
package compositions removed CRAN. Explain please the output?
I notice compositions was removed on CRAN, that's one I want to try out. I downloaded the last tarball, the build output doesn't look that bad. A warning, no errors. $ R CMD build compositions * checking for file ?compositions/DESCRIPTION? ... OK * preparing ?compositions?: * checking DESCRIPTION meta-information ... OK * cleaning src * checking for LF line-endings in source and make
2006 Aug 18
0
Fitting Truncated Lognormal to a truncated data set (was: fitting truncated normal distribution)
Dear List, I am trying to fit Truncated Lognormal to a data set that is 'truncated' from above a certain value, say, 0.01. Below is what I was able to come up with. I would appreciate it if you could review and make any necessary changes. # This is modified off the code for 'dtnorm' of library(msm). dtlnorm <- function (n, mean = 0, sd = 1, lower = -Inf, upper = Inf) {
2014 May 15
0
lognormal frailty in frailtypack
Hi everyone I am attempting to estimate a model with a frailty effect distributed as a lognormal variable.I am using the following code: frailtyPenal(formula, data, ..., RandDist = "LogN") I get the following error message: Error in frailtyPenal(Surv(,) ~ + , : unused argument(s) (RandDist = "") What can I do? Thanks for the help [[alternative HTML version deleted]]
2010 Mar 26
1
Poisson Lognormal
Hi R Users, I'm going to estimate via. ML the parameters in Poisson Lognormal model. The model is: x | lambda ~ Poisson(lambda) lambda ~ Lognormal(a,b) Unfortunately, I haven't found a useful package allowing for such estimation. I tried to use "poilog" package, but there is no equations and it's hard to understand what exactly this package really does. Using it I get the
2008 Jul 17
0
How to compute loglikelihood of Lognormal distribution
Hi, I am trying to learn lognormal mixture models with EM. I was wondering how does one compute the log likelihood. The current implementation I have is as follows, which perform really bad in learning the mixture models. __BEGIN__ # compute probably density of lognormal. dens <- function(lambda, theta, k){ temp<-NULL meanl=theta[1:k] sdl=theta[(k+1):(2*k)]
2004 May 01
2
Generating Lognormal Random variables (PR#6843)
Full_Name: Anthony Gichangi Version: 1.90 OS: Windows XP Pro Submission from: (NULL) (130.225.131.206) The function rlnorm generates negative values for lognormal distribution. x- rlnorm(1000, meanlog = 0.6931472, sdlog = 1) Regards Anthony
2002 Dec 10
1
Lognormal distribution
I am trying to fit a lognormal distribution to a set of data and test its goodness of fit with regard to predicted values. I managed to get so far: > y <- c(2,6,2,3,6,7,6,10,11,6,12,9,15,11,15,8,9,12,6,5) > library(MASS) > fitdistr(y,"lognormal",start=list(meanlog=0.1,sdlog=0.1)) meanlog sdlog 1.94810515 0.57091032 (0.12765945) (0.09034437) But I would
2005 Mar 24
2
Bivariate lognormal distribution
Dear experts! Is there a package that enables to create the bivariate log-normal variables? Thanks a lot, Vicky Landsman. [[alternative HTML version deleted]]
2005 Sep 27
1
Producing empirical bayes estimates in disease mapping for lognormal model
I'm trying to produce empirical bayes estimates based on the lognormal model in disease mapping Is there a way this can be done in R? thanks Oarabile
2005 Nov 18
1
How to generate the random numbers with the lognormal distribution?
Hi,R-list! I am a newbie to the R and what I want to know mostly now is as follow: Using "rnorm()",we could get the random numbers with normal distribution, but how to generate the random numbers with the lognormal distribution? Thank you in advance! 仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭guangxing at ict.ac.cn 仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭2005-11-18
2006 Aug 05
1
AIC for lognormal model
Dear all, I want to compare some different models for a dataset by QQ plots and AIC. I get the following AICs: - linear model: 19759.66 - GAMLSS model: 18702.7 - linear model with lognormal response: -7862.182 The QQ plots show that the lognormal model fits better than the linear model, but still much worse than the GAMLSS. So, in my opinion, the AIC of the lognormal model should be between the
2007 Mar 23
1
generating lognormal variables with given correlation
Dear R users I use simulated data to evaluate a model by sampling the parameters in my model from lognormal distributions. I would like these (lognormal distributed) parameters to be correlated, that is, I would like to have pairwise samples of 2 parameters with a given correlation coefficient. I have seen that a covariance matrix can be fixed when generating random variables from a
2007 Sep 04
0
ML fit of pareto and lognormal distributions to grouped data
Dear list members, I have a set of claims data, which are in ranges and the shape of the distribution is relatively different. I have looked through R help threads and found out that an ideal way is suggested for the gamma distribution ML fitting for grouped data. I just wonder if there is any method that works for lognormal or pareto distribution? An example would be: