Penguin body mass model

Penguin study (Python) · updated 1 week ago
QR code for framework.pub/go/p8pp

framework.pub/go/p8pp

Scan the code, or type the address. At framework.pub/go, enter p8pp.

Download PNG Download SVG
Download JSON

Body mass on flipper length and species. Palmer penguins data, 342 penguins with complete measurements.

Python · Regression Ordinary least squares regression

Model formula

body_mass_g ~ flipper_length_mm + species

Coefficients

4 rows × 7 columns

Coefficients
Term Estimate Std. error Test statistic p-value CI lower CI upper
(Intercept) -4031.477 584.151 -6.901 0.000 -5180.507 -2882.447
species[T.Chinstrap] -206.510 57.731 -3.577 0.000 -320.067 -92.954
species[T.Gentoo] 266.810 95.264 2.801 0.005 79.425 454.194
flipper_length_mm 40.705 3.071 13.255 0.000 34.665 46.746

Coefficient plot

Points are estimates. Lines are the 95% confidence interval (Wald t). The dashed line marks zero. The intercept is not shown. Hover a term for its exact values.

Model summary

Summary statistics grouped by sample, fit, inference, sampling, and settings
StatisticValue
Sample and degrees of freedom
Observations 342.000
Model degrees of freedom 3.000
Residual degrees of freedom 338.000
Model fit
R² 0.783
Adjusted R² 0.781
AIC 5029.523
BIC 5044.862
Log likelihood -2510.762
Inference
Confidence level 95%
Interval method Wald t
Additional statistics
Scale 141026.592

Published model summary. Download the original JSON to keep every value, column type, and source detail.