Linear-Regression-Tool (Concept)
This tool demonstrates a simple linear regression algorithm applied to a dummy dataset representing GDP per capita in Germany over several years.
The provided dataset consists of pairs of years and corresponding GDP per capita values. The data I used is from the World Bank national accounts data, and OECD National Accounts data files (https://data.worldbank.org/indicator/NY.GDP.PCAP.CD?locations=DE).
The tool predicts the GDP per capita for a target year using linear regression. The predicted value (shown in green) is visualized using the bar chart below.
Details:
year | predicted value | slope | intercept |
---|---|---|---|