Learn R Programming

mpcmp (version 0.3.6)

cottonbolls: Cotton Bolls data set

Description

This data set gives the observed number of bolls produced by the cotton plants at five growth stages: vegetative, flower-bud, blossom, fig and cotton boll; to examine the effect of five defoliation levels (0\

Usage

data(cottonbolls)

Arguments

Format

A data frame with 125 observations on 4 variables.

nc

number of bolls produced by two cotton plants at harvest

stages

growth stage

def

artificial defoliation level

def2

square of def

References

Zeviani, W.M., Riberio P.J. Jr., Bonat, W.H., Shimakura S.E. and Muniz J.A. (2014). The Gamma-count distribution in the analysis of experimental underdispersed data. Journal of Applied Statistics 41, 2616--26.

Examples

Run this code
# NOT RUN {
### Huang (2017) Page 373--375: Underdispersed Cotton bolls data
### Model fitting for predictor V 

data(cottonbolls)
M.bolls <- glm.cmp(nc~ 1+stages:def+stages:def2, data= cottonbolls)
M.bolls
summary(M.bolls)

# }

Run the code above in your browser using DataLab