How to lie with statistics

It is important to note that these parameters essentially control how much to attribute the CO2 in the atmosphere to each component. And these controls are rather subjective. The stl package offers a lot of control over how a time series is decomposed, and I think it's up to the data scientist or statistician reading this book (that is you), to do statistics responsibly.

What if we said that a period was five years? Keeping everything the same, we can use the following code and find out:

lies := stl.Decompose(co2s, 60, 84, stl.Additive(), stl.WithIter(1))dieIfErr(lies.Err)plts2 := plotDecomposed(dates, lies)writeToPng(plts2, "CO2 in the atmosphere (ppm), decomposed (Liar Edition)", "lies.png", 25, 25)

The following ...

Get Go Machine Learning Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.