Modeling the number of warp breaks per loom

To perform Poisson regression, we will use the warpbreaks dataset contained in the datasets package. This dataset contains the number of breaks in yarn during weaving. The number of warp breaks per loom is given, where a loom corresponds to a fixed length of yarn. The warpbreaks dataset provides the number of warp break imperfections (breaks variable) observed in 54 pieces of yarn of equal length. Each piece of yarn is classified according to two categorical variables: wool(the type of yarn, with levels A and B) and tension(the level of tension applied to that piece—L, M, or H for low, medium, or high). The purpose of the analysis is to determine the effect of wool type (A or B) and tension (low, ...

Get Regression Analysis with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.