DanielWood {NISTnls} | R Documentation |
The DanielWood
data frame has 6 rows and 2 columns giving the
energy radiated from a carbon filament versus the absolute temperature
of the filament.
y |
A numeric vector of the energy radiated from a carbon filament lamp. |
x |
A numeric vector of the temperature of the filament (1000 K). |
This data frame contains the following columns:
These data and model are described in Daniel and Wood (1980), and originally published in E.S.Keeping, "Introduction to Statistical Inference," Van Nostrand Company, Princeton, NJ, 1962, p. 354. The response variable is energy radiated from a carbon filament lamp per cm**2 per second, and the predictor variable is the absolute temperature of the filament in 1000 degrees Kelvin.
Daniel, C. and F. S. Wood (1980). Fitting Equations to Data, Second Edition. New York, NY: John Wiley and Sons, pp. 428-431.
library(NISTnls) data(DanielWood) plot(y ~ x, data = DanielWood) fm1 <- nls(y ~ b1*x**b2, data = DanielWood, trace = TRUE, start = c(b1 = 1, b2 = 5)) fm2 <- nls(y ~ b1*x**b2, data = DanielWood, trace = TRUE, start = c(b1 = 0.7, b2 = 4)) fm3 <- nls(y ~ x**b2, data = DanielWood, trace = TRUE, start = c(b2 = 5), algorithm = "plinear") fm4 <- nls(y ~ x**b2, data = DanielWood, trace = TRUE, start = c(b2 = 4), algorithm = "plinear")