modelling claim loss using tweedie distribution in R [closed] - r

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i want to fit a tweedie compound Poisson Gamma to my loss data using ptweedie.series R command. I am getting problems how to start with my fitting in R. Thanks in advance.

Performing such a fit is illustrated here:
library(tweedie)
example("tweedie-package")

Related

What is the R code for Nested minimization to work out an estimate for c^((k)) in a non linear threshold regression model [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 days ago.
Improve this question
〖〖rx〗(t+12)〗^((k))= α_1 + 〖α_2〗^((k) ) 1(zt≤c^((k) ))+〖β_1〗^((k)) 〖s_t〗^((k))+ 〖β_2〗^((k)) 〖s_t〗^((k)) 1(zt≤c^((k) ))+〖ε(t+12)〗^((k)), That is the regression model
I cant figure out exactly how to input the correct R code for this model using nested minimisation technique

Calculating AWE from mclust package [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Is it possible to calculate the Approximate Weight of Evidence (AWE) from information obtained via the mclust R package?
According to R documentation, you should have access to function awe(tree, data) since version R1.1.7.
From the example on the linked page (in case of broken link),
data(iris)
iris.m _ iris[,1:4]
awe.val <- awe(mhtree(iris.m), iris.m)
plot(awe.val)
Following the formula from Banfield, J. and Raftery, A. (1993) Model-based Gaussian and non-Gaussian clustering. Biometrics, 49, 803-821. -2*model$loglik + model$d*(log(model$n)+1.5) Where model represents the model with number of cluster solutions selected. Keeping this question in the hope that it may help someone in the future.

Interpretation of ACF plot [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Need help on interpreting the acf plot(sin graph pattern)
May be you will need to examine the PACF, you have a large peak in the first lag, followed by a decreasing wave that alternates between positive and negative correlations. Which can mean an autoregressive term of higher order in the data.
Use the partial autocorrelation function to determine the order of the autoregressive term.

r auto arima excluding (0,0,0) [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
For the auto.arima function in forecast package of R, is there a way to let the function omit a model of arima(0,0,0), as I simply assume there must be some correlation within the dataset.
You could try looking at the help for the function
auto.arima(). Check the arguments start.p, start.q,
d,max.d

Generalized gamma random data generation [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
How to generate random data (synthetic data) from a generalized gamma distribution with three parameters (scale, shape and shape)?. Using Matlab or R.
https://en.wikipedia.org/wiki/Generalized_gamma_distribution
Have a look at the VGAM::gengamma function.
See http://www.inside-r.org/packages/cran/vgam/docs/gengamma
Or flexsurv::GenGamma
see http://artax.karlin.mff.cuni.cz/r-help/library/flexsurv/html/GenGamma.html

Resources