Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

diamond

Price by size for diamond rings


Description

A data set on 48 diamond rings containing price in Singapore dollars and size of diamond in carats.

Usage

data(diamond)

Format

A data frame with 48 observations on the following 2 variables.

carat

A measurement of a diamond's size

price

Price in Singapore dollars

Details

This data comes from a collection of the Journal of Statistics Education. The accompanying documentation says:

“Data presented in a newspaper advertisement suggest the use of simple linear regression to relate the prices of diamond rings to the weights of their diamond stones. The intercept of the resulting regression line is negative and significantly different from zero. This finding raises questions about an assumed pricing mechanism and motivates consideration of remedial actions.”

Source

This comes from http://www.amstat.org/publications/jse/datasets/diamond.txt. Data set is contributed by Singfat Chu.

Examples

data(diamond)
plot(price ~ carat, diamond, pch=5)

UsingR

Data Sets, Etc. for the Text "Using R for Introductory Statistics", Second Edition

v2.0-6
GPL (>= 2)
Authors
John Verzani <verzani@math.csi.cuny.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.