This repository presents the practical application of data analysis, statistical modeling, and observability techniques to investigate the financial impacts of Artificial Intelligence (AI) adoption in the technology, finance, and industry sectors. Developed as a capstone project for the MBA in Software Engineering (USP/Esalq), this study combines academic rigor with business insight, delivering clean, reusable, and decision-oriented code.
The project applies Multiple Linear Regression techniques to analyze whether AI adoption had a statistical impact on companies' financial indicators, which include:
- Revenue
- Profit
- ROI (Return on Investment)
The database was built with real data extracted from platforms like Yahoo Finance, Google Finance, TradingView, among other public sources, covering the period from 2020 to 2024. The data was initially gathered in an Excel spreadsheet, but its connection, modeling, and insertion were handled using a PostgreSQL database, with the help of a management tool called DBeaver (*Optional)
![]() |
Python 3.10 | ![]() |
PostgreSQL | ![]() |
Pandas | ![]() |
Statsmodels | ![]() |
Matplotlib | ![]() |
DBeaver |
The data was organized in a relational PostgreSQL database, structured with the following tables:
companiestable: Information about the analyzed companiesinvestmentstable: Semiannual data on revenue, profit, and ROIia_adoptiontable: AI adoption status by company and year
You can adjust the db_config.py file with your credentials to connect to the database:
DB_CONFIG = {
'host': 'localhost',
'port': 5432,
'database': 'TCC_MBA_COMPANIES_IA',
'user': 'your_user',
'password': 'your_password' }
- Clone the repository
git clone https://github.com/your-username/IA_PROJECT_MBA.git - Set up the environment
pip install -r requirements.txt - Configure the database
Editdb_config.pywith your credentials - Run the analysis
python src/IA_TCC/main.py
Done! The regression results will be printed in the console along with charts for visualization and analysis.
This project is licensed under the AGPL-3.0






