Description Usage Format Details Source References Examples

Binomial data for the number of years with rain exceeding 1 mm in Tokyo, Japan, where data are binned by day of year, and the years are 1951-1989.

1 | ```
data("rain")
``` |

A data frame with 366 observations on the following 3 variables.

`day`

a numeric vector

indicating the day of year. Includes 366 days to accomodate leap years.

`n.years`

a numeric vector

indicating the number of years a particular day occured. There are 39 years and 10 of those are leap years, so day 366 only occurs 10 times.

`n.rain`

a numeric vector

indicating the number of years on which at least 1 mm of rain was recorded for a particular day of year.

The raw data were binary indicators of when daily rainfall exceeded 1 mm in Tokyo, Japan, over the course of 39 consecutive years (1951-1989). These indicators were combined by day of year across years, resulting in a sample size of m = 39 for each of 365 out of 366 possible days, and a size of m = 10 for the additional day that occurred in each of the 10 leap years. These are therefore binomial data where the number of years on each day represent the number of trials and the number of years with rain represent the number of successes.

The raw precipitation data from which the counts were derived were obtained from NOAA's National Center for Climate Information (https://www.ncdc.noaa.gov). A smaller subset of these data (1983-1984) were initially analyzed by Kitagawa (1987).

NOAA's National Center for Climate Information https://www.ncdc.noaa.gov.

Kitagawa, G. 1987. Non-Gaussian state-space modeling of nonstationary time series. *Journal of the American Statistical Association* **82**, 1032–1041.

1 2 3 4 5 6 7 8 |

faulknerjam/bnps documentation built on Oct. 18, 2018, 12:03 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.