rain: Tokyo Rainfall Data

Description Usage Format Details Source References Examples

Description

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.

Usage

1
data("rain")

Format

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.

Details

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.

Source

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).

References

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.

Examples

1
2
3
4
5
6
7
8
## Not run: 
data(rain)

## create data list for passage to spmrf:
tokyo_dat <- list(y=rain$n.rain, sizeN=rain$n.years)


## End(Not run)

jrfaulkner/bnps documentation built on Sept. 27, 2020, 12:34 p.m.