Learn R Programming

Sleuth3 (version 0.1-6)

ex2226: Number of Moons

Description

Apparently, larger planets have more moons, but is it the volume (as indicated by diameter) or mass that are more relevant, or is it both? These data include the diameter, mass, distance from the sun, and number of moons for 13 planets, gas giants, and dwarf planets in our solar system. Which size variable best explains mean number of moons (possible after accounting for distance from sun). (Consider negative binomial regression.)

Usage

ex2226

Arguments

source

Ramsey, F.L. and Schafer, D.W. (2013). The Statistical Sleuth: A Course in Methods of Data Analysis (3rd ed), Cengage Learning.

References

Wikipedia: http://en.wikipedia.org/wiki/Planet August 10, 2011

See Also

ex0721

Examples

Run this code
str(ex2226)

Run the code above in your browser using DataLab