Normtemp#

Temperature, gender and hear rate data reconstructed to match summary data from a paper.

From the author: “This article takes data from a paper in the Journal of the American Medical Association that examined whether the true mean body temperature is 98.6 degrees Fahrenheit. Because the dataset suggests that the true mean is approximately 98.2, it helps students to grasp concepts about true means, confidence intervals, and t-statistics. Students can use a t-test to test for sex differences in body temperature and regression to investigate the relationship between temperature and heart rate.”

Initialization#

library(fosdata)
data <- fosdata::normtemp

Accessing fields#

data <- fosdata::normtemp
bpm <- data$bpm # Just a random field in the dataset

Interactive R Sample#

You can use the R editor below to interactively explore the dataset and generate plots. This contains a fully self-contained R environment with fosdata, ggplot2, and dplyr loaded.

webR + fosdata Test

Console
Plot

    
No plot generated yet.
scatterplot

LLM instructions#

If using an LLM, you can copy-paste the following instructions to accompany your prompt to inform the model of the fields and their types in the dataset.

LLM Instructions
The fosdata::normtemp dataset containing the following fields:

fields[3]{name,type,values}:
  temp,numeric,n/a
  gender,integer,n/a
  bpm,integer,n/a

Fields#

Name Description Type Min Max Values
temp temperature of patient in degrees Fahrenheit numeric 96.3 100.8 -
gender gender of patient 1 = male, 2 = female integer 1 2 -
bpm heart rate in beats per minute integer 57 89 -

Source#

“Datasets and Stories” article “What’s Normal? – Temperature, Gender, and Heart Rate” in the Journal of Statistics Education (Shoemaker 1996). http://jse.amstat.org/datasets/normtemp.dat.txt http://jse.amstat.org/v4n2/datasets.shoemaker.html Mackowiak, Wasserman, and Levine, “A Critical Appraisal of 98.6 Degrees F, the Upper Limit of the Normal Body Temperature, and Other Legacies of Carl Reinhold August Wunderlich”, JAMA 1992.