Exercise 7 example data
An example occupancy data set used as exercise 7 in the occupancy website developed by Donovan and Hines.
A data frame with 20 observations (sites) on the following 2 variables.
a character vector containing the presence (1) and absence (0) for each of 5 visits to the site
frequency of sites (always 1)
This is a data set from exercise 7 of Donovan and Hines occupancy web site (http://www.uvm.edu/rsenr/vtcfwru/spreadsheets/?Page=occupancy/occupancy.htm).
# Donovan.7 can be created with
# Donovan.7=convert.inp("Donovan.7.inp")
do.exercise.7=function()
{
data(Donovan.7)
# Estimates from following agree with estimates on website but the
# log-likelihood values do not agree. Maybe a difference in whether the
# constant binomial coefficients are included.
Donovan.7.poisson=mark(Donovan.7,model="OccupRNPoisson",invisible=FALSE,threads=1)
# THe following model was not in exercise 7.
Donovan.7.negbin=mark(Donovan.7,model="OccupRNNegBin",invisible=FALSE,threads=1)
return(collect.models())
}
exercise.7=do.exercise.7()
# Remove # to see output
# print(exercise.7)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.