R package: Help to Fit of a Parametric Distribution to Non-Censored or Censored Data
Questions tagged [fitdistrplus]
111 questions
0
votes
0 answers
How to fit a generalized distribution of extreme values in r's fitdistrpuls package?
I would like help with the following.
I want to fit my data to a generalized distribution of extreme values (GEV) and although I have seen that there are packages for this, I would like to use the fitdistplus package because it has several…
0
votes
0 answers
Fit a statistical distribution to truncated data
I have a "truncated dataset" and I would need to infer the distribution that most likely fits the data. Even though I have a "truncated dataset", instead of a "full dataset", I think that the best fitting distribution would be that one that could…

limone
- 279
- 2
- 9
0
votes
1 answer
Custom survival function in flexsurv
I would like to implement a custom survival function in the flexsurv package, similar to Section 4 (pg. 12) here:
https://cran.r-project.org/web/packages/flexsurv/vignettes/flexsurv.pdf
Say I have a dataframe, df, where the status determines if an…

coolhand
- 1,876
- 5
- 25
- 46
0
votes
0 answers
Dataframe grouping and distribution test/choose
I have a Dataframe with 16 variables (x1, x2,...x16). The variables from 1 to 15 are parameters chosed to perform an experiment. The 16th variable is the measured paramater which describe the result of the experiment.
The experiment is repeated a…

M B
- 3
- 1
0
votes
0 answers
How to use fitdist correctly?
I want to fitting about Generalized normal distribution. However, the R code for performing this was input, and the following error occurred. I really need your help to solve this. Help me.
library(fitdistrplus)
data(mtcars)
head(mtcars)
fit <-…

Data Science study
- 11
- 2
0
votes
0 answers
Positive and negative Loglikelihood values for gamma distribution using fitdistrplus in R
I have a dataset and the dataset normalized to the maximum value (values between [0,1] and I try to fit gamma distribution. I am using fitdistrplus and I am estimating the parameters of the distribution while I get the loglikelihood values and AIC…

MariaK
- 1
- 1
0
votes
1 answer
How to transform data after fitting a distribution with gamlss?
I have a data set where observations come from highly distinct groups. Each group may have a wildly different distribution, so I am trying to find the best distribution using fitdist from fitdistrplus, then use gamlssML from the gamlss package to…

Jage
- 453
- 2
- 9
0
votes
1 answer
In R, how do I plot a Weibull probability density function for right censored data using package fitdistrplus?
I am trying to overlay a Weibull probabiliy density function (PDF) for right censored data on a histogram of the data using package fitdistrplus but have been unable to do so.
df is a data.frame containing a dummy data set in the format of my larger…

overcup
- 117
- 7
0
votes
1 answer
Error code 100 using fitdist in the fitdistrplus package for pois and nbinom
I am trying to fit a distribution to my data (ssdist; ssi is the values), however I keep getting thrown the error code below, and I have no idea why. Notably, the error is only thrown for pois and nbinom which are the distributions that I think…

Cole Baril
- 55
- 6
0
votes
2 answers
Shape estimation in truncated Pareto in R
library(VGAM)
library(fitdistrplus)
fitdist(u_NI$k_u, 'truncpareto',
start = list(lower=1,
upper=42016,
shape=1)) -> fit.k_u
length(u_NI$k_u) = 637594
I got this error:

GiulioGCantone
- 195
- 1
- 10
0
votes
1 answer
Problem fitting of Log Pearson Type III in R using method of moments estimators
I am new in R and I am having difficulty in figuring out how to fit Log Pearson Type III using method = mme to the data.
YearThai <- c(2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018)
FlowThai <-…

JOHN WILLIAM VEDEJA
- 11
- 2
0
votes
1 answer
How can I use the results from fitdist to create a probability distribution in R?
I used fitdist from the fitdistrplus package to fit a (gamma) distribution to my data:
fitg <- fitdist(mdt, "gamma")
The result is a list of parameters that describe the fit. I wonder if there is a way to use the result to create cumulative…

Jerome
- 15
- 4
0
votes
0 answers
mle failed to estimate the parameters with error code 100 for pareto
I am trying to fit a pareto distribution to the following data
x <-
c(5857.33154195937, 2352.13410311605, 5868.4139887638, 5084.43835650941,
5544.58859069637, 3469.38719024777, 5935.54817351679, 849.551931991455,
4804.65544410752,…

89_Simple
- 3,393
- 3
- 39
- 94
0
votes
0 answers
Error message when plotting truncated normal distribution with fitditrplus
I am trying to plot different distributions to see which best fits my data ("x"). I am using package fitdistrplus to do this. All the distributions work apart from "tnorm" (truncated normal distribution), which comes up with an error…

EmmaH
- 85
- 6
0
votes
1 answer
MLE of a distribution in R: fitdistrplus (SGT distribution), how do I do it?
For return data I am doing research about the importance of skewness and kurtosis for the cVaR calculation. We are comparing some distributions first, by estimating the parameters of the distribution using fitdist() in R using package…

Enjo Faes
- 35
- 8