November 2018
Beginner to intermediate
348 pages
8h 32m
English
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 ...
Read now
Unlock full access