R Dataset / Package lme4 / cbpp
Attachment | Size |
---|---|
dataset-86341.csv | 772 bytes |
Documentation |
---|
On this Picostat.com statistics page, you will find information about the cbpp data set which pertains to Contagious bovine pleuropneumonia. The cbpp data set is found in the lme4 R package. Try to load the cbpp data set in R by issuing the following command at the console data("cbpp"). This may load the data into a variable called cbpp. If R says the cbpp data set is not found, you can try installing the package by issuing this command install.packages("lme4") and then attempt to reload the data with library("lme4") followed by data("cbpp"). Perhaps strangley, if R gives you no output after entering a command, it means the command succeeded. If it succeeded you can see the data by typing cbpp at the command-line which should display the entire dataset. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the cbpp R data set. The size of this file is about 772 bytes. Contagious bovine pleuropneumoniaDescriptionContagious bovine pleuropneumonia (CBPP) is a major disease of cattle in Africa, caused by a mycoplasma. This dataset describes the serological incidence of CBPP in zebu cattle during a follow-up survey implemented in 15 commercial herds located in the Boji district of Ethiopia. The goal of the survey was to study the within-herd spread of CBPP in newly infected herds. Blood samples were quarterly collected from all animals of these herds to determine their CBPP status. These data were used to compute the serological incidence of CBPP (new cases occurring during a given time period). Some data are missing (lost to follow-up). FormatA data frame with 56 observations on the following 4 variables.
DetailsSerological status was determined using a competitive enzyme-linked immuno-sorbent assay (cELISA). SourceLesnoff, M., Laval, G., Bonnet, P., Abdicho, S., Workalemahu, A., Kifle, D., Peyraud, A., Lancelot, R., Thiaucourt, F. (2004) Within-herd spread of contagious bovine pleuropneumonia in Ethiopian highlands. Preventive Veterinary Medicine 64, 27–40. Examples## response as a matrix (m1 <- glmer(cbind(incidence, size - incidence) ~ period + (1 | herd), family = binomial, data = cbpp)) ## response as a vector of probabilities and usage of argument "weights" m1p <- glmer(incidence / size ~ period + (1 | herd), weights = size, family = binomial, data = cbpp) ## Confirm that these are equivalent: stopifnot(all.equal(fixef(m1), fixef(m1p), tolerance = 1e-5), all.equal(ranef(m1), ranef(m1p), tolerance = 1e-5)) ## GLMM with individual-level variability (accounting for overdispersion) cbpp$obs <- 1:nrow(cbpp) (m2 <- glmer(cbind(incidence, size - incidence) ~ period + (1 | herd) + (1|obs), family = binomial, data = cbpp)) -- Dataset imported from https://www.r-project.org. |
Picostat Manual |
---|
How To Register With a Username
How To Register With Google Single Sign On (SSO)
How To Login With a Username and Password
How To Login With Google Single Sign On (SSO)
How To Import a Dataset
How To Perform Statistical Analysis with Picostat
How To Use Educational Applications with Picostat
|
Recent Queries For This Dataset |
---|
No queries made on this dataset yet. |
Title | Authored on | Content type |
---|---|---|
R Dataset / Package Ecdat / RetSchool | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HistData / HalleyLifeTable | March 9, 2018 - 1:06 PM | Dataset |
wage1 | August 29, 2020 - 9:33 AM | Dataset |
R Dataset / Package boot / cd4 | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package psych / blot | March 9, 2018 - 1:06 PM | Dataset |