Data from Mosteller & Wallace (1984) investigating the use of certain keywords (‘may’ in this data set) to identify the author of 12 disputed ‘Federalist Papers’ by Alexander Hamilton, John Jay and James Madison.

data("Federalist")

Format

A 1-way table giving the number of occurrences of ‘may’ in 262 blocks of text. The variable and its levels are

NoNameLevels
1nMay0, 1, ..., 6

References

F. Mosteller & D. L. Wallace (1984), Applied Bayesian and Classical Inference: The Case of the Federalist Papers. Springer-Verlag, New York, NY.

M. Friendly (2000), Visualizing Categorical Data. SAS Institute, Cary, NC.

Source

Michael Friendly (2000), Visualizing Categorical Data, page 19.

Examples

data("Federalist")
gf <- goodfit(Federalist, type = "nbinomial")
summary(gf)
#> 
#> 	 Goodness-of-fit test for nbinomial distribution
#> 
#>                       X^2 df  P(> X^2)
#> Likelihood Ratio 1.964028  4 0.7423751
plot(gf)