In the first section, you already measure room temperature. Now we will try to perform some simple computational statistics using Statsmodels. We will use our measurement results data and then build a linear regression for our data.
First, we should install Statsmodels. This library needs required libraries such as NumPy, SciPy, pandas, and patsy. We can install them using
pip. Type the following command:
$ pip install numpy scipy pandas patsy statsmodels
If you get a problem related to security access, you can run this command using
$ sudo pip install numpy scipy pandas patsy statsmodels
If your computer doesn't have
pip installed, you can install it by following the guidelines at https://pip.pypa.io/en/stable/installing/ ...