Crickets chirp at different rates depending on their species and the temperature of their environment. Most species chirp at higher rates the higher the temperature is (approximately 62 chirps a minute at 13 Β°C in one common species; each species has its own rate). The relationship between temperature and the rate of chirping is known as Dolbear's Law. Of interest is modeling the temperature (in F) from the chirps observed.
summary(wish.upon.a.star)
Call: lm(formula = temp ~ chirps)
Residuals: Min 1Q Median 3Q Max
-6.515 -1.971 0.490 2.807 5.001
Coefficients: Estimate Std. Error t value Pr(>|t|)
(Intercept) 25.2323 10.0601 2.508 0.026183 *
chirps 3.2911 0.6012 5.475 0.000107 ***
Signif. codes: 0 β***β 0.001 β**β 0.01 β*β 0.05 β.β 0.1 β β 1
Residual standard error: 3.829 on 13 degrees of freedom
Multiple R-squared: 0.6975, Adjusted R-squared: 0.6742
F-statistic: 29.97 on 1 and 13 DF, p-value: 0.0001067