Intervals between the times that 129 successive vehicles pass a point
on a road, measured in seconds.
Usage
data(traffic)
Format
The traffic data is a vector of 128 observations.
Source
Bartlett, M.S. (1963)
Statistical estimation of density functions
Sankhya: The Indian Journal of Statistics,
Series A, Vol. 25, No. 3, 245–254.
J<c3><b6>rgensen, B. (1982)
Statistical Properties of the Generalized Inverse Gaussian Distribution.
Lecture Notes in Statistics, Vol. 9, Springer-Verlag, New York
Examples
data(traffic)
str(traffic)
### Fit the generalized inverse Gaussian distribution
gigFit(traffic)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(GeneralizedHyperbolic)
Loading required package: DistributionUtils
Loading required package: RUnit
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/GeneralizedHyperbolic/traffic.Rd_%03d_medium.png", width=480, height=480)
> ### Name: traffic
> ### Title: Intervals Between Vehicles on a Road
> ### Aliases: traffic
> ### Keywords: datasets
>
> ### ** Examples
>
> data(traffic)
> str(traffic)
num [1:128] 2.8 3.4 1.4 14.5 1.9 2.8 2.3 15.3 1.8 9.5 ...
>
> ### Fit the generalized inverse Gaussian distribution
> gigFit(traffic)
Data: traffic
Parameter estimates:
chi psi lambda
2.61984 0.02674 -0.23545
Likelihood: -49.93121
Method: Nelder-Mead
Convergence code: 0
Iterations: 188
>
>
>
>
>
> dev.off()
null device
1
>