I am using R studio to estimate paramters for data under Variance Gamma. I want to fit this data to the data and find estimates of parameters. The code I have is x<-c(1291,849,238,140,118,108,87,70,63,58,50,47,21,21,19) library(VarianceGamma) init<-c(0,0.5,0,0.5) vgFit(x, freq = NULL, breaks = NULL, paramStart = init, startMethod = "Nelder-Mead", startValues = "SL", method = "Nelder-Mead", hessian […]

Categories

## Fit Variance gamma to data

- Post author By Full Stack
- Post date June 30, 2020
- No Comments on Fit Variance gamma to data

- Tags : function cannot be evaluated at initial parameters I am not sure what the issue is?, [[ 87, 0, 0.5, 0.5) vgFit(x, 108, 118, 140, 19) library(VarianceGamma) init<-c(0, 21, 238, 47, 50, 58, 63, 70], 849, breaks = NULL, freq = NULL, hessian = FALSE, I am using R studio to estimate paramters for data under Variance Gamma. I want to fit this data to the data and find estimates of parameters, llsklp, method = "Nelder-Mead", method = startMethodSL, null, paramStart = init, plots = TRUE) The error I got was: Error in optim(paramStart, startMethod = "Nelder-Mead", startValues = "SL"