Displaying 1 result from an estimated 1 matches for "interarrival_tim".
Did you mean:
interarrival_times
2008 Oct 23
1
distribution fitting
...ent interarrival times that I
am currently analyzing is distributed with a Gamma or General Pareto
distribution. The event arrival granularity is in minutes and interarrival
times are in seconds, so the values I have are 0, 60, 120, 180, and so on...
Here is what I did. Since several values of the interarrival_times array are
zero, to avoid numerical errors when calculating their logarithm, I set them
to 1E-10:
> # fix numerical values
> for (i in 1:length(interarrival_times)) {
+ if (interarrival_times[i] == 0)
+ interarrival_times[i] = 0.0000000001
+ }
Then I defined the negativ...