Stat 220 Portfolio Project 1

Author

Student

Interactive Analysis

Does a Pokemon’s height correlate with their HP?

This section explores whether tankiness of a pokemon has some statistical relationship with its size, helping to better understand whether Pokemon battle stats can be explained by their physiological features that potentially mirror real world assumptions.


Call:
lm(formula = hp ~ height, data = pokemon_df)

Residuals:
     Min       1Q   Median       3Q      Max 
-104.029  -13.215   -1.842   10.009  183.530 

Coefficients:
            Estimate Std. Error t value Pr(>|t|)    
(Intercept)  57.5877     1.0461   55.05   <2e-16 ***
height        9.2547     0.5928   15.61   <2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 23.14 on 947 degrees of freedom
Multiple R-squared:  0.2047,    Adjusted R-squared:  0.2039 
F-statistic: 243.7 on 1 and 947 DF,  p-value: < 2.2e-16

How do Pokemon stat totals vary by primary type?

Pokemon are categorized into 18 types. Intrinsically, no Pokemon are limited in their stat range along delineations by type. This section seeks to explore whether the strength of Pokemon varies statistically by type and if so, which Pokemon types have the highest stat totals. This can help as a preliminary analysis into several further interest areas including fairness in effectiveness/playability of Pokemon within different type groups and potentially observe biases/or why certain biases exist.

             Df  Sum Sq Mean Sq F value   Pr(>F)    
type_1       17 1007618   59272   5.792 9.82e-13 ***
Residuals   931 9527275   10233                     
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1