Sea Level Predictor
Created by Darío López Díaz. Work in progress..
The idea of this project is to analyze the global average sea level since 1880, and predict the sea level growth at 2050. The behaviour of the sea level has been approximately linear between 1880 and 2013, for this reason we consider a linear least-squares regression. In order to analize future sea level values we made an adjustment in the last decade due to an explosive growth in this period.
The data source is provided by the US Environmental Protection Agency: Global Average Absolute Sea Level Change, 1880-2014 from the US Environmental Protection Agency using data from CSIRO, 2015; NOAA, 2015. https://datahub.io/core/sea-level-rise
We perform a linear least-squares regression from the SciPy package available in: https://docs.scipy.org/doc/scipy/index.html#
With this linear function, we are able to predict the sea level behaviour. To see if it is correct we can check the fit in to the data plotting the data and the linear regression. We use the statistical data visualization package Seaborn.
We see that the fit of the linear function is correct, but the data suffer an important growth in the last decade. For this reason we consider values above the year 2000 and we compute again the linear regression for this data.
LinregressResult(slope=0.1664272733318682, intercept=-325.7934668059649, rvalue=0.9762875716140618, pvalue=2.4388064141618245e-09, stderr=0.010652933111541163, intercept_stderr=21.375153425608215)
Now we plot the new linear regression together with the data of the last decade until 2050, in this way we can approximately predict the value of the sea level at this years.
We spect in 2050 that the sea level will be 15.38 inches above the normalized value (Year=1880)