September 2015
Beginner to intermediate
608 pages
13h 43m
English
Skewness is the name for the asymmetry of a distribution about its mode. Negative skew, or left skew, indicates that the area under the graph is larger on the left side of the mode. Positive skew, or right skew, indicates that the area under the graph is larger on the right side of the mode.

Incanter has a built-in function for measuring skewness in the stats namespace:
(defn ex-1-20 []
(let [weights (take 10000 (dishonest-baker 950 30))]
{:mean (mean weights)
:median (median weights)
:skewness (s/skewness weights)}))The preceding example shows that the skewness of the dishonest baker's output is about 0.4, quantifying the skew evident in ...
Read now
Unlock full access