Article

Data Science And Analytics For Operations

November 19, 2026

Use of Google Trends to evaluate consumption in the Brazilian olive oil industry

Felipe Pedro Melnik; Bruno Felipe Lenin Souza Bezerra

DOI: 10.22167/2675-6528-202603861

Article derived from a Final Course Work (TCC), with content based on the student’s original work and adapted to the editorial format of the E&S Magazine with the support of the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege for textual synthesis and organization.

Summary

The growth in internet access and digital data analysis tools has demonstrated the relevance of consumer behavior indicators for the olive oil industry in Brazil. The study aimed to evaluate the use of Google Trends as an instrument to measure the consumption potential in this segment, supporting strategic decision-making. The research was conducted through a survey of monthly historical series of Google Trends searches for olive oil brands and sales data (sell-in) by federation unit, over 60 months. Descriptive analyses, correlation measures, and predictive models, including linear regression, SARIMAX, and Random Forest, were applied. The results showed that digital searches presented a significant correlation with sales indicators in some states. The Random Forest model, in particular, identified that the impact of competitor searches on revenue occurred with a 30-day delay, and that the relationship between digital interest and retail purchase is not linear, varying regionally. It was concluded that the use of Google Trends can improve the analytical capacity of managers and researchers, offering subsidies for marketing strategies and production planning, with the possibility of creating a predictive KPI to anticipate revenue drops.

Keywords: Consumer behavior; Market intelligence; Strategic planning; Digital trends.

1. Introduction

In the current market scenario for the olive oil industry, high competitiveness and the growing volume of data on consumer behavior require companies to adopt agile and precise tools for decision-making (Ackermann and Sellitto, 2022). The analysis of sales performance, based on sell-in data, offers a retrospective view of commercial results, indicating a product’s past success.

However, this data presents low predictive power and fails to capture latent interest or unfulfilled demand in specific markets. This information gap is crucial for strategic decision-making (Santini et al., 2015). The popularization of the internet has transformed how people consume information and make purchasing decisions, with a significant part of the consumer journey occurring in the digital environment, generating a vast volume of data on interest and search behavior (Mikalef et al., 2019).

Companies that develop data analysis capabilities tend to make decisions more quickly and with higher quality, resulting in better competitive performance (Bakhshi et al., 2014). However, many organizations, especially in more traditional and smaller sectors, utilize the potential of available data in a limited way. Difficulties include high cost, lack of internal technical knowledge, and cultural resistance to change in decision-making processes (Cabrera-Sánchez and Villarejo-Ramos, 2020).

In this context, the use of more accessible data sources, which do not require large investments or consultancies but can generate valuable information for business planning, gains relevance. One of these sources is Google Trends, a tool that displays the evolution of search volume for specific terms over time and by region. In the literature, Google Trends is used as an indicator of public interest or attention in themes, products, and brands (Choi and Varian, 2012). The premise is that an increase in searches reflects greater curiosity or intention related to the theme.

Previous research has already shown that the inclusion of search data can improve the prediction of economic and market variables (Choi and Varian, 2012; Chumnumpan and Shi, 2019). In the food industry, commercial planning is often based on sales history, neglecting the consumption potential in regions where the brand still has a low presence. Identifying states with consumption potential superior to current sales can represent a competitive advantage.

Thus, the analysis of the volume of searches for terms related to a food category in different states, combined with the sell-in sales history, offers the opportunity to investigate the correlation between digital interest and the brand’s commercial performance, allowing the identification of federative units with potential for sales increase. This work aimed to evaluate the use of Google Trends as an instrument to measure consumption potential in the Brazilian olive oil industry segment, considering its applicability as support for strategic decision-making.

2. Material and Methods

The research was characterized by its applied nature and quantitative approach. The objective was to evaluate the use of Google Trends as an instrument to measure consumption potential in the Brazilian olive oil industry, as established in the introduction. To this end, a survey of secondary data was carried out, from two main sources. This methodology allowed investigating the correlation between digital interest and the brand’s commercial performance.

The first data source consisted of Google Trends, used to measure search interest for terms related to the target brand and its main competitors in the olive oil segment. The second source was the internal sales reports (sell-in) from the company responsible for the target brand. These sales data were aggregated by federation unit (UF), constituting the empirical analysis unit of the study. The combination of these sources allowed for a comprehensive view of market behavior.

The data were collected monthly, covering a period of 60 months, corresponding to the last five years. Specifically, Google search volumes were obtained for the target brand and its main competitors in the Brazilian olive oil market. In parallel, sell-in sales data for the target brand were collected for the same period and aggregation level by UF. Initially, the PyTrends library was used for data collection.

The collected databases were submitted to a treatment and consolidation process. For this stage, the Knime and Excel platforms were used. The procedures included data cleansing, focusing on the removal of seasonalities and promotion effects, and information standardization. This phase was crucial to ensure data quality and consistency before subsequent analyses.

To ensure the robustness of the predictive models, a criterion for inclusion and exclusion of Federative Units in the analysis was applied. UFs that presented a zero search index in Google Trends in more than 50% of the analyzed time series, i.e., in more than 30 months, were disregarded. Additionally, cuts based on a Coefficient of Variation (CV) greater than 150% were applied. This measure aimed to isolate the markets where digital interest proved merely anomalous, mitigating the risk of statistical bias.

After applying the selection criteria, the Federative Units validated for the analysis were Bahia (BA), Minas Gerais (MG), Paraná (PR), Rio de Janeiro (RJ), Rio Grande do Sul (RS), and São Paulo (SP). The sales figures from the sell-in data were normalized on a scale of 0 to 1. This normalization aimed to preserve the company’s commercial confidentiality and standardize the variables for the modeling stages.

The data analysis began with the application of descriptive analyses to understand the isolated behavior of interest in brands in the digital environment and internal sell-in data. Next, correlation measures were calculated between search volume and the target brand’s sales. Pearson’s correlation coefficient and the p-value were used to assess the strength and direction of the relationship between the variables. This step provided the basis for understanding market dynamics.

The choice of analytical approaches followed a methodological progression. Initially, linear regression was employed as a baseline model. This technique allowed for the evaluation of the direct and preliminary relationship between search volume and sales. Simple and multiple linear regression was constructed using normalized sales volume as the dependent variable and Google Trends indices of competing brands as independent variables.

To capture the temporal dependence, autocorrelation, and potential seasonal effects inherent in historical sales time series, the SARIMAX model was adopted. The SARIMAX (1,0,0) algorithm was selected based on the AIC and BIC information criteria, which indicated the best parsimonious fit. This model allowed for the combination of sales inertia itself with Google Trends searches as external variables. The objective was to verify if the inclusion of this “memory” improved the ability to predict the impact of competition.

Finally, to explore potential non-linear patterns and relationships between variables, the Random Forest algorithm was used. This Machine Learning approach, based on decision trees with five branches, was employed to offer analytical robustness against more complex market dynamics. The model received as input the search volume of the previous month and the revenue of the previous month (lagged variables). The Random Forest sought to identify more subtle and non-linear patterns in the data.

3. Results and Discussion

This section details the research findings, articulating them with the study problem and the proposed objectives. Initially, a descriptive analysis of Google Trends search interest and sales data (sell-in) is presented, followed by an investigation of the correlations between these variables. Subsequently, the results of the predictive models are discussed, including linear regression, SARIMAX, and Random Forest, which seek to quantify the impact of digital interest on the olive oil brand’s revenue, according to the applied methodology. The results reveal distinct patterns of consumer and market behavior in different federative units, providing subsidies for strategic decision-making.

Descriptive Analysis of Search Interest (Google Trends)

The initial evaluation of the relative volume of searches for target brands and competitors in the Federative Units of Brazil, over sixty months, revealed specific digital interest patterns. After data processing, the UFs of São Paulo, Rio de Janeiro, Minas Gerais, Bahia, Paraná, and Rio Grande do Sul were considered robust for analysis, excluding those with insufficient volume on the Google platform. This rigorous selection ensured the statistical reliability of the sample, mitigating the bias of sample noise and ensuring that the generated correlation coefficients reflected real market dynamics, according to the inclusion and exclusion criteria defined in the methodology.

In the São Paulo market, a notable disparity was observed in the volume of interest among brands. Brands C1 and C2 presented search volume averages very close to each other, at 45.52 and 42.82, respectively, consolidating themselves as the main digital forces in the sample. However, Brand C1 demonstrated greater volatility, with a standard deviation of 41.77 and volume peaks reaching a maximum value of 100, indicating strong seasonality or response to market stimuli. In contrast, the Target Brand registered a substantially lower average volume, of 7.58, but with a highly linear and stable behavior, evidenced by the proximity between its mean and median (7.50) and a low standard deviation of 2.79.

Despite the low absolute variance of Target Brand in São Paulo, the Coefficient of Variation (CV) revealed a distinct market dynamic, with a relative volatility of 36.84% compared to its average search volume. This index surpassed that of Brand C2, which, despite a significantly higher average volume (42.81), demonstrated greater relative stability in the market, with a CV of 25.89%. Brand C1, in turn, confirmed itself as the leader in both absolute volume and relative volatility, with a CV of 41.77%, suggesting it is the brand most sensitive to seasonalities or specific market actions, which directly impacts marketing and communication strategies.

The expanded analysis for other states, following the methodological selection criteria, indicated that the Target Brand concentrates its organic search interest almost entirely in São Paulo and Rio de Janeiro. In the other federative units analyzed, the volumes recorded for this brand were insufficient for inclusion in descriptive statistics and regression models, reinforcing the need for more targeted market penetration strategies for the target brand in other regions, where digital interest is still incipient and does not translate into significant search volume.

In Rio de Janeiro, a crucial market outside of São Paulo, the three brands presented consistent data. Brand C1 led search volume with an average of 38.08, closely followed by Brand C2, with an average of 32.98. Brand C2 stood out for its regularity, presenting the lowest Coefficient of Variation among the three (47%). The Target Brand, although with a more modest presence (average of 10.38), demonstrated a more predictable volume, with a close average and median (11.00), but with proportionally larger fluctuations, reaching a CV of 77%, which suggests sensitivity to external factors, despite apparent stability.

In Minas Gerais, Brand C2 took a comfortable lead, registering the highest average searches in the study in this state, with 54.35, and, at the same time, the most stable behavior of the entire sample, with a Coefficient of Variation of only 31%. Brand C1 also maintained relevance in the state, with an average of 37.95 and controlled volatility, with a CV of 43%. This data indicates a strong digital presence of competing brands, which can influence consumer perception and local market dynamics, requiring in-depth analysis for the target brand.

In Bahia, Brands C2 and C1 registered averages of 46.72 and 40.13, respectively. However, an important difference was observed in the behavior of each: Brand C2 showed moderate oscillations, with a CV of 44%, while interest in Brand C1 proved to be more irregular, with peaks reaching the maximum value on the scale (100) and a CV of 60%. This irregularity of Brand C1 in Bahia may indicate greater sensitivity to specific events or marketing campaigns, while Brand C2 maintains more consistent interest.

In Paraná, Brand C1 stood out with greater clarity, leading search volume with an average of 36.48 and a median of 38.50. The fact that the median surpassed the average indicates that interest remained high for most of the time, being pulled down only at specific moments. Brand C2 occupied the second position, with an average of 29.35, but with a higher relative variation, with a CV of 75% against 59% of the competitor. This difference in volatility suggests that Brand C1 has a more solid base of interest and is less susceptible to extreme fluctuations in the state.

Finally, Rio Grande do Sul proved to be the most volatile market among the analyzed states. Although Brands C1 and C2 presented similar average volumes, with 35.57 and 31.53, respectively, both registered the highest Coefficients of Variation in the entire sample, 85% and 100%, respectively. In the case of Brand C1, the high median (46.50) contrasting with minimums of zero evidences a market with pronounced seasonality, which can be a challenge for marketing and sales planning, requiring flexible strategies adapted to seasonal fluctuations.

Descriptive Analysis of Sales Data (Sell in)

To complement the analysis of consumers’ digital behavior, the Target Brand’s internal sales data (sell in) were subjected to the same descriptive evaluation. The internal database covered sixty periods, aligning with the data extracted from Google Trends for the validated states (BA, MG, PR, RJ, RS, and SP). The invoicing values were normalized on a scale of zero to one, both to preserve the company’s commercial confidentiality and to standardize the variables in the subsequent modeling steps, ensuring comparability between the different federative units.

The sales distribution revealed that Rio Grande do Sul and São Paulo stand out as the most solid and predictable markets in the sample. Rio Grande do Sul registered the highest average (0.501) and the highest median (0.541), while São Paulo presented a very close performance, with an average of 0.483 and a median of 0.515, and the lowest Coefficient of Variation in the study (43.48%), which makes it the most stable state. In both states, the median surpassed the average, indicating that sales remained at high levels most of the time, dropping only at specific moments, which suggests a loyal consumer base and a consolidated market.

Bahia positioned itself as an intermediate and relatively stable market, with an average of 0.449, a median close to 0.435, and controlled dispersion, with a Coefficient of Variation of 46.77%. This behavior indicates a market with growth potential, but which has not yet reached the solidity of the leaders. Moderate stability suggests that, although there are fluctuations, they are not as extreme as in other regions, allowing for more consistent sales planning.

Minas Gerais, Paraná, and Rio de Janeiro, on the other hand, exhibited more unstable behavior. Paraná and Minas Gerais recorded lower average sales, 0.259 and 0.327, respectively, and both presented Coefficients of Variation above 70%. Rio de Janeiro, in turn, stood out as the state with the highest degree of commercial instability in the entire sample, with a CV of 82.30%. In addition to the reduced average of 0.305, Rio de Janeiro presented a high standard deviation of 0.251, indicating that sales alternate between periods of almost zero and sudden peaks in sell-in, which represents a significant challenge for inventory and marketing management.

This variability in sales reinforces the importance of deepening the analysis, investigating the relationship between sell-in data and brand searches on Google. The next step sought to verify, through correlation matrices, whether these oscillations in sell-in are statistically related to the peaks of search interest for the brands in the identified states. Understanding these interconnections is fundamental to developing more effective and predictive strategies that consider both purchasing behavior and the consumer’s digital interest.

Correlation Analysis

With the search interest samples and sales volume (sell in) aligned in the same sixty periods, a correlation analysis was performed between these variables. Pearson’s correlation coefficient and the p-value were used to measure the strength and direction of the relationship between brand searches and the company’s internal revenue in the selected states. This approach allowed for the identification of market dynamics and the influence of digital interest on sales, providing a basis for predictive modeling.

In São Paulo, the state with the most stable sales behavior in the sample, interest in Brand C1 showed a weak but statistically relevant negative correlation (r = -0.28; p = 0.028) with the company’s sales. This suggests that moments of greater consumer interest in this competitor tend to coincide with partial drops in the Target Brand’s sell-in. In contrast, Brands C2 and Target did not show a significant correlation (p > 0.05) in this state, indicating that their search variations do not affect local commercial performance linearly, which points to the complexity of the São Paulo market.

In Rio de Janeiro, the data revealed a more competitive scenario. The correlation with Brand C2 was negative, of moderate to strong intensity and highly significant (r = -0.47; p = 0.0001), and the same was repeated with Brand C1 (r = -0.36; p = 0.004). These numbers help explain the high sales volatility detected in the descriptive stage, in which the growing interest in competitors appears to be directly associated with sales losses for the Target Brand. This dynamic suggests a market where digital competition has a direct and negative impact on the target brand’s performance.

In states where the Target Brand was discarded due to insufficient data volume, the analysis focused on Brands C1 and C2. In Minas Gerais, both Brand C2 (r = -0.35; p = 0.005) and Brand C1 (r = -0.29; p = 0.026) exerted negative and statistically valid pressure on sales. In Paraná and Bahia, on the other hand, no competing brand showed a significant correlation (p > 0.05), which indicates that commercial results in these regions respond to factors not reflected in Google searches, and therefore were not considered in subsequent predictive models.

In Rio Grande do Sul, unlike other states, the correlations found were positive. The growth in interest in Brands C2 (r = 0.38; p = 0.002) and C1 (r = 0.31; p = 0.014) occurred simultaneously with the increase in sales of the Target Brand. This pattern suggests a general expansion of the category in the state, where the market benefits from increased searches for the brands at the same time, without a cannibalization effect between them. This indicates a scenario of total demand growth, where digital interest in competitors does not harm, but accompanies the increase in sales of the target brand.

In general, these results reinforce the hypothesis that digital interest in competing brands functions as an external indicator capable of anticipating variations in internal sales. With the variables of highest correlation identified, the study advanced to the predictive modeling stage, where it was possible to quantify more precisely the size of this impact on revenue. This stage is crucial for transforming descriptive and correlational findings into tools for forecasting and strategic decision support, allowing for more proactive management of sales and brand positioning in the market.

Predictive Modeling: Simple and Multiple Linear Regression

To quantify the impact of consumers’ digital interest on domestic sales, Simple Linear Regression models were constructed. Normalized sales volume (0 to 1) was used as the dependent variable, and Google Trends indices (0 to 100) of competing brands, with significant correlation in the previous step, were employed as independent variables. This modeling served as a starting point for the study, establishing a baseline for comparisons with more complex and robust models.

In São Paulo, the model based on searches for Brand C1 explained about 8% of the variation in sales (R² = 0.0804), with a beta coefficient of -0.0031 (p < 0.05). This means that for every ten-point increase in interest in the competitor on Google, the normalized sales indicator recedes by approximately 0.031 points. The relatively low R² reinforces that the market is influenced by factors other than competitors’ digital interest, indicating the need for more sophisticated models to capture the complexity of sales dynamics.

In Rio de Janeiro, the model using Brand C2 as an explanatory variable achieved an R² of 0.2250 and a beta coefficient of -0.0076 (p < 0.01). This implies that a ten-point increase in Brand C2 is associated with a 0.076-point drop in normalized sell-in. A parallel model with Brand C1 also confirmed a significant negative impact in the same state (R² = 0.13; beta = -0.0046), indicating that Rio de Janeiro is a market with greater competitor pressure impacting the Target Brand’s sell-in. However, when running a multiple regression with both brands as explanatory variables, Brand C2 proved stronger in RJ, and Brand C1’s p-value rose to 0.21, rendering it invalid in the multiple regression.

In Minas Gerais, models with Brands C2 and C1 explained 12.3% and 8.1% of the variation in sales, respectively, with negative coefficients and p-values less than 0.05. This indicates that part of the sell-in is impacted by competitor searches. However, when applying multiple regression, there was a worsening in the p-value for both brands, making the combined model with both variables unfeasible. This limitation suggests that, although there is a relationship, the complexity of the interaction between the searches of the two competing brands and the sales of the target brand cannot be adequately captured by a simple linear model.

In Rio Grande do Sul, the multiple regression model, combining simultaneous interest in Brands C2 and C1, explained 22% of the variation in sales (R² = 0.2201), but with positive coefficients for both brands (beta_C2 = 0.0028; beta_C1 = 0.0022). This numerically reinforces what was observed in the correlation stage: the growth in competitors’ digital search goes hand in hand with the increase in Target Brand sales, suggesting a general expansion of demand for all players in the category. This dynamic is an important differentiator, as it indicates a growing market, where digital competition does not cannibalize, but contributes to the increase in total demand.

These models fulfill the objective of estimating the direct and isolated impact of searches on sales. However, linear regression has an intrinsic limitation: it does not capture the temporal dependence of the data nor the “memory” of the sales series, which is crucial in dynamic markets. Therefore, the study advanced to time series models and non-linear algorithms, seeking to increase the explanatory power of sell-in projections and gain a deeper understanding of the complex relationships between digital interest and commercial performance.

Predictive Modeling: Time series

As traditional linear regression does not explicitly model the temporal dependence and autocorrelation present in data over time, the study moved on to time series modeling. The chosen algorithm was SARIMAX (1,0,0), an approach that combines two elements in the same equation: the inertia of the company’s own sales (how much was sold in the previous period influences the estimate for the current period) and Google Trends searches as external variables. The objective was to verify if adding this “memory” to the model would improve the ability to predict the impact of competition on sales.

The information criteria calculated for the São Paulo square reinforced the choice of the model (1,0,0). Among the tested specifications, this configuration presented the lowest AIC and BIC values, indicating a better relationship between accuracy and the number of parameters used. The model (1,1,1), in turn, received considerably higher penalties, suggesting that the inclusion of differencing and moving average terms introduced unnecessary complexity to the structure. The same occurred with the model (2,0,0), whose higher BIC indicates that adding a second autoregressive lag did not bring relevant predictive gain.

These results together indicate that the variation of the immediately preceding period (represented by Lag 1) is sufficient to describe the linear behavior of the series, which justifies the adoption of the (1,0,0) model in this work. In São Paulo, the R² advanced little, from 0.0804 to 0.1030, but the bigger problem was the loss of significance of all variables in the model. When trying to combine sales history with searches for Brand C1, the algorithm invalidated both variables simultaneously, with the p-value for Google Trends rising to 0.120 and that for sales inertia to 0.292. The result made it clear that the sales dynamics in São Paulo do not follow a linear logic; therefore, this type of model does not work for this market.

In Rio de Janeiro, the R² jumped from 0.2250 to 0.35, confirming that sales have a strong dependence on their own recent history. However, when combining the autoregressive component with the search index for Brand C2 in the same equation, the weight of the previous month ended up overshadowing the digital variable, and the p-value rose to a non-significant level. Although the model began to explain sales better, it lost the ability to isolate the contribution of Google Trends, which limits its usefulness for understanding the specific impact of digital searches.

For the states of Minas Gerais and Rio Grande do Sul, the SARIMAX modeling showed important limitations. When simultaneously including the search volumes of Brands C1 and C2 as external variables, the results presented non-significant p-values in both cases. This occurs because the two brands tend to arouse consumer interest in similar periods, which makes it difficult to identify, within a linear equation, how much each one individually contributes to revenue. Excluding one of the variables could generate statistically cleaner results, but it would impoverish the analysis and bias the conclusions, highlighting the need for more flexible approaches.

SARIMAX assumes that external variables directly and proportionally affect sales, but commercial reality is more complex. The path between a consumer searching for a brand on Google and the retailer making a purchase involves negotiations, deadlines, and inventory management, factors that create delays and distortions that a linear model cannot capture. Given these limitations, the study moved towards Machine Learning approaches, capable of identifying more subtle and non-linear patterns in the data, with the aim of extracting the real predictive value of Google Trends information for the company’s revenue.

Machine Learning: Decision Tree

The Machine Learning stage aimed to verify whether the impact of online searches on revenue does not follow a linear proportion, depending on combinations of factors and limits. This type of behavior, where the effect changes nature when a certain level of interest is surpassed, would hardly be interpreted by a model that assumes predictable relationships between variables. The application of machine learning algorithms allowed exploring the complexity of these relationships, seeking a more granular understanding of consumer and market behavior.

The chosen algorithm was Random Forest with five branches, an approach based on decision trees that does not start from any predefined formula. Instead, the model learns by itself which variables matter most and how they combine to explain the outcome. Furthermore, lagged variables (lags) were created, so that the algorithm received as input both the search volume from the previous month and the revenue from the previous month (recent market memory), allowing it to capture temporal dynamics and non-linear interactions between variables.

In São Paulo, an increase was observed in the R² of 10.3% in the explanatory power of the SARIMAX model to an R² of approximately 72.6% with Random Forest. When analyzing the decision tree generated by the algorithm, it became clear that the most determining variable for predicting current revenue is consumer interest in Brand C1 in the previous month. The model identified that when this index exceeds 37 points on Google Trends, the company loses natural control of its demand in the following month, and below this limit, the previous month’s sales regain importance.

This discovery indicates something that the linear model had not mapped: the conversion cycle in São Paulo has a thirty-day lag between the peak of digital interest in Brand C1 and the effective impact on revenue. In practice, Random Forest provided commercial management with a concrete monitoring tool to track Google Trends in real-time, becoming a way to anticipate revenue fluctuations in the company’s main market. This predictive capability is crucial for proactively adjusting marketing strategies and production planning.

In Rio de Janeiro, there was a jump in the R² from 35% explanatory power of the SARIMAX model to an R² of approximately 89% with Random Forest. Contrary to the initial assumption that sales would be a reflection of commercial inertia, the decision tree identified the lag in search volume for Brand C2 as the root node and main determinant of revenue. When this index exceeds 26.5 points on Google Trends, the company loses natural control of its demand in the following month, which demonstrates the regional specificity of the relationship between digital interest and sales.

This discovery in Rio de Janeiro will unfold an action plan for greater regional monitoring in competitor searches. While São Paulo suffers the impact of demand dictated by interest in Brand C1, the state of Rio de Janeiro has its own determining variable. Sales inertia in RJ maintains revenue stability only until Brand C2 generates peaks of online interest, proving that the construction of predictive KPIs cannot be generalized nationally, requiring personalized approaches for each market.

The application of Random Forest for Minas Gerais and Rio Grande do Sul circumvented the multicollinearity problem of SARIMAX, selecting Brand C1 as the main predictive variable in both states, with a one-month lag (Lag 1), to preserve the predictive nature of the analysis. The results revealed distinct regional behaviors: in Minas Gerais, moderate variations in digital interest are already sufficient to shift the sales level (cutoff point at 39.5), while Rio Grande do Sul required significant peaks (above 75.5) to alter its conversion level, evidencing a more inertial consumption dynamic.

In both cases, the previous month’s sales history only began to influence the forecast when digital interest surpassed a certain threshold, suggesting that online search behavior acts as a trigger that amplifies the weight of regional history on sales. This complexity in the relationships between digital interest, sales, and historical factors highlights the importance of Machine Learning models for capturing nuances that linear approaches cannot, offering a more accurate view for strategic decision-making in the olive oil sector.

In summary, the research results demonstrate that Google Trends can be a valuable tool for measuring consumption potential in the olive oil industry, supporting strategic decision-making. Although the correlation between digital interest and sales is not linear and varies regionally, Machine Learning models, such as Random Forest, were able to identify complex patterns and temporal lags, such as the impact of competitor searches with a thirty-day delay. These findings allow for the creation of a predictive KPI, which can anticipate revenue drops and support more effective marketing and production planning strategies, directly addressing the study’s objective.

4. Conclusion

This study evaluated the use of Google Trends as an instrument to measure consumption potential in the Brazilian olive oil industry, providing subsidies for strategic decision-making. It was found that digital searches showed a significant correlation with sales indicators in some states, although the relationship between digital interest and retail purchase was not linear and varied regionally. In São Paulo, it was identified that interest in Brand C1, a competitor, impacted the Target Brand’s revenue with a thirty-day delay, especially when the search index exceeded 37 points. In Rio de Janeiro, it was observed that peaks of interest in Brand C2, another competitor, above 26.5 points, were determinants for subsequent demand. In Minas Gerais and Rio Grande do Sul, Brand C1 was selected as the main predictor, with distinct cut-off points for digital interest that altered the sales level. Machine Learning models, such as Random Forest, demonstrated superior capability in identifying these complex patterns and temporal lags, overcoming the limitations of traditional linear models. This approach allowed for a more granular understanding of market dynamics.

The study’s main contribution lies in demonstrating that Google Trends can enhance the analytical capabilities of managers and researchers, offering valuable insights for marketing strategies and production planning. The identification of temporal lags and specific cut-off points for competitor digital interest allows for the creation of a predictive KPI, capable of anticipating revenue drops one month in advance and supporting preventive Trade Marketing actions. However, the study was limited to the analysis of sell-in data, which does not always reflect end-consumer behavior. It is suggested that future research incorporate sell-out data, pricing, and out-of-stock information into the models to obtain a more complete view of market dynamics. The results presented reinforce that consumer searches should be used predictively to inform commercial decision-making.

Bibliographic References

Ackermann, A.E.F.; Sellitto, M.A. 2022. Métodos de previsão de demanda: uma revisão da literatura. Innovar 32(83): 83-98. Disponível em: http://www.scielo.org.co/scielo.php?script=sci_arttext&pid=S0121-50512022000300083. Acesso em: 19 out. 2025.

Bakhshi, H.; Bravo-Biosca, A.; Mateos-Garcia, J. 2014. The analytical firm: estimating the effect of data and online analytics on firm performance. Nesta Report. Disponível em: https://www.nesta.org.uk/report/the-analytical-firm-estimating-the-effect-of-data-and-online-analytics-on-firm-performance/. Acesso em: 12 nov. 2025.

Cabrera-Sánchez, J.; Villarejo-Ramos, A. 2019. Factors affecting the adoption of big data analytics in companies. Revista de Administração de Empresas 59(6): 415-429. Disponível em: Factors affecting the adoption of Big Data analytics in companies | RAE – Revista de Administracao de Empresas. Acesso em: 12 nov. 2025.

Choi, H.; Varian, H. 2011. Predicting the present with Google Trends. Economic Record 88: 2-9. Disponível em: https://people.ischool.berkeley.edu/~hal/Papers/2011/ptp.pdf. Acesso em: 20 nov. 2025.

Chumnumpan, P.; Shi, Y. 2019. Understanding new products market performance using Google Trends. Australasian Marketing Journal 27: 91-103. Disponível em: https://www.sciencedirect.com/science/article/pii/S1441358219300023. Acesso em: 20 nov. 2025.

Mikalef, P.; Krogstie, J.; Pappas, I.O.; Pavlou, P.A. 2019. Exploring the relationship between big data analytics capability and competitive performance: the mediating roles of dynamic and operational capabilities. Information & Management 57(2): 103207. Disponível em: https://doi.org/10.1016/j.im.2019.05.004. Acesso em: 10 nov. 2025.

Santini, F.O.; Ladeira, W.J.; Sampaio, C.H. 2015. Percepção de valor, atratividade e intenção de compra: revisitando as técnicas de promoção de vendas. Revista Brasileira de Gestão e Negócios 17(56): 1029-1046. Disponível em: https://www.scielo.br/j/rbgn/a/5NNmB6TxtytT7DVh4NpZt5q/?format=pdf. Acesso em: 20 out. 2025.

Article originating from the Final Course Work of the Specialization in Data Science and Analytics of the MBA USP/Esalq

To learn more about the course, click here and access the MBX Academy platform

You may also like

Data Science And Analytics For Operations

November 19, 2026

Polyp-YOLO: an efficient, low-latency detector for polyps in colonoscopies

The early detection of colorectal polyps is crucial for the prevention of colorectal cancer, and real-time computer-aided detection (CADe) systems have shown gains in endoscopic practice. The objective was to develop and validate a lightweight colorectal polyp detector, based on the YOLO architecture, capable of operating on restricted hardware with high precision and low latency. The methodology used public datasets of endoscopic images, partitioning the Kvasir-SEG dataset for training and internal validation, and CVC-ClinicDB and ETIS-Larib Polyp DB for cross-dataset evaluation. Lightweight variants of the YOLOv8, YOLO11, and YOLO26 families with 640×640 pixel input were evaluated. A grid search tested 70 combinations of optimizers and activation functions, and identified AdaBelief and LeakyReLU as the configuration with the best generalization. The optimization pipeline applied unstructured pruning, knowledge distillation, and fine-tuning. The optimized YOLO11n-seg model outperformed the higher-capacity architecture (YOLO26m-seg) in mAP50 and showed similar performance in F1-Score, operating with approximately seven times fewer parameters. It achieved an mAP50 of 0.7929 and an F1-Score of 0.7514 on the ETIS-Larib dataset, and fast inference was demonstrated in different formats, with real-time latencies. The explainability of predictions was validated by Grad-CAM activation maps. The proposed solution demonstrated itself to be a promising experimental tool for diagnostic support, with technical feasibility for integration into environments with reduced computational power, although it requires future clinical validation.

Keywords: Computer-aided detection; Edge computing; Hyperparameter optimization; Endoscopic image segmentation; Medical computer vision.

Data Science And Analytics For Operations

November 19, 2026

Multi-touch Attribution in E-commerce: A Comparison between Markov Chains and Last-Click

The research investigated Multi-touch Attribution (MTA) Models in e-commerce, seeking to overcome the limitations of the Last-Click model, widely used in the market. The objective was to compare the performance of first-order Markov Chains with Last-Click and Position-Based approaches, identifying the value of assistance channels frequently ignored. To this end, Markov Chain algorithms were applied to a large volume of purchase journey data from the Google Merchandise Store, extracted via BigQuery. The study probabilistically mapped the purchase journey and calculated the Removal Effect to quantify channel relevance. The results demonstrated that data-driven models identified the strategic role of discovery (awareness) and assistance channels, which Last-Click neglected in 65% of complex journeys. Simulated financial analysis indicated an approximate 28% hidden efficiency in Cost Per Acquisition (CPA) for Paid Search, compared to the Last-Click model. It was concluded that Markov Chains allowed for a more accurate mapping of purchase journeys, validating the technical feasibility of the modeling and providing evidence for more efficient budget allocation in digital media, mitigating the risk of early divestment in crucial channels.

Keywords: Assistance channels; Data science; E-commerce; Digital marketing; Media optimization.

Data Science And Analytics For Operations

November 19, 2026

Predictive Analysis Methodology for Performance Optimization in E-commerce: Correlation between Public Data and Paid Media

A predictive analysis methodology was developed for e-commerce, integrating transactional data and public search trends. The objective was to develop and validate a predictive model, based on machine learning algorithms, capable of correlating organic search trends with sales performance and paid media costs in the Beauty and Health category of Brazilian e-commerce. The Brazilian E-Commerce Public Dataset by Olist and data from Google Trends were used, processed in Python with the Random Forest Regressor algorithm. A moderate inverse correlation (r = -0.43) with a seven-day lag was identified between organic search volume and purchase. Initial models, based solely on behavioral variables, presented insufficient metrics (R² = -0.47; MAE of R$ 2,120.54). The incorporation of microeconomic (average ticket and shipping) and macroeconomic (exchange rate and Ibovespa index) variables raised the R² of the final model to 0.29, with an MAE of R$ 1,489.63, representing a 24.7% reduction in error compared to the baseline. Temporal cross-validation showed that, in periods of mature operation (2018), the model achieved an R² of 0.42. It was concluded that isolated search volume explains the moment of consumer interest, but not the financial magnitude of sales, making the fusion with transactional and economic data mandatory for predictive viability.

Keywords: Beauty and Health; Consumer Behavior; Google Trends; Machine Learning; Time Series.

Data Science And Analytics For Operations

November 19, 2026

Supply chain risk index for predictive analysis of delays in industrial supply chain

This study addressed the development of a Supply Risk Index (SRI) to predict delays in purchase orders from a multinational company in the pulp and paper equipment sector, aiming to support the prioritization of expediting in the supply area. The objective was to estimate in advance the probability and duration of delays in purchase orders, increasing supply chain risk visibility. The methodology employed machine learning techniques, notably the LightGBM algorithm, applied to a historical database of over 150,000 orders extracted from an ERP system. This database contained information on suppliers, material groups, order value, planned delivery time, and open order load. A classification model was developed, with class balancing via SMOTE, to estimate the probability of delay, and a regression model to predict the number of days of delay. Model evaluation used metrics such as F1-score, area under the ROC curve, Brier score, MAE, and RMSE. Interpretability was achieved through SHAP values. The results indicated that the SRI adequately discriminated orders with a higher propensity for delay and provided explanations aligned with the literature on data-driven supply chain risk management. The integration of these components into an automated production workflow allowed for the generation, for each open order, of the probability of delay, a risk score, and the main explanatory factors, supporting the prioritization of supplier expediting.

Keywords: Predictive analytics; Machine learning; Supply chain; Purchase order expediting; LightGBM.

Data Science And Analytics For Operations

November 19, 2026

Turnover Prediction with Machine Learning in People Analytics

Voluntary employee turnover represents a recurring strategic challenge in organizations, with costs estimated between 50% and 200% of the annual salary of each replaced employee. The study aimed to develop, validate, and interpret a predictive turnover model based on machine learning algorithms, evaluating its technical feasibility using a public reference database. The IBM HR Employee Attrition dataset, synthetic in nature, was used, comprising 1,470 records and 35 demographic, professional, and behavioral variables. Three supervised classification algorithms (Logistic Regression, Random Forest, and XGBoost) were implemented and compared, with class imbalance handled by the SMOTE technique applied exclusively to the training set. The XGBoost model with hyperparameters optimized by RandomizedSearchCV and five-fold stratified cross-validation showed the best performance, with an AUC-ROC of 0.8651 on the test set and a Recall of 84.4% on the positive class with an optimized decision threshold. Interpretability analysis using the SHAP framework identified overtime, monthly compensation, and tenure as the main predictors of departure, results consistent with the people management literature. An illustrative financial impact simulation suggested potential economic return, conditioned on validation with real data and calibration of assumptions. The results confirmed the technical feasibility of the approach and its potential value as a decision support tool in People Analytics.

Keywords: Supervised classification; Algorithmic interpretability; Human resources; Talent retention; Voluntary turnover.

Data Science And Analytics For Operations

November 19, 2026

Event-Driven Distributed Cloud Architecture for Bank Credit Contracting

Digital transformation in the banking sector required the modernization of credit flows that were still dependent on legacy systems and manual activities. These generated high operational costs, inconsistency risks, and contracting times of up to 72 hours for the FINIMP product in a large Brazilian bank. Given this scenario, the study aimed to demonstrate that the adoption of a cloud-based microservices-oriented and event-driven architecture could significantly reduce total processing time and operational costs, through the integral automation of the flow and the elimination of manual steps. The research was characterized as applied, with a mixed approach, structured as action research and a single case study. It involved semi-structured interviews, direct observation of the process, documentary analysis, collection of SLA metrics, and the iterative development of a prototype in .NET Core and Angular, executed in a containerized local environment, with scaling designed for AWS. The solution was modeled with strategic Domain-Driven Design, definition of bounded contexts, and application of the Saga pattern for distributed transactional coordination. The results indicated the technical feasibility of the proposed architecture, with a reduction in the estimated timeframe to approximately two hours, improvement in p95 latency of critical steps, increased throughput under controlled load, and an estimated reduction in cost per 1,000 operations processed. There was also a strengthening of security and traceability controls. It was concluded that the proposed approach delivered measurable gains in efficiency, scalability, and operational governance.

Keywords: FINIMP; Idempotence; Microservices; Cost optimization; Distributed systems.

Data Science And Analytics For Operations

November 19, 2026

Assessment of the technical and behavioral viability of residential flexibility in a pilot project of Virtual Power Plant (VPP) in Brazil

The flexibility of electricity consumption in Brazilian households was evaluated. The study assessed the technical and behavioral viability of this flexibility in a pilot project of a Virtual Power Plant (VPP) in Brazil. 10 Demand Response (DR) events were conducted with 30 measured consumer units, between January and March 2026, using quantitative analysis of real smart metering data. The k-means algorithm was applied to segment behavioral profiles and a final evaluation survey was conducted to collect perceptions. The average acceptance rate was 70.6% and the average delivery rate reached 80.1%, with a verified load reduction of 99.3 kWh. Three behavioral engagement profiles were identified, with the full engagement group responsible for 61% of the generated flexibility. The hybrid remuneration model achieved the highest delivery rate (90.4%) and the lowest cost per kWh. The correlation between incentive and percentage reduction was significant in the hybrid phase. The final survey indicated a 96.7% intention to re-participate and a preference for the hybrid model. The results confirmed the technical and behavioral viability of residential flexibility in Brazil as a component of a VPP, demonstrating that consumers respond to DR events when adequately communicated and incentivized.

Keywords: Consumer engagement; Residential flexibility; Smart metering; Demand Response; Virtual Power Plant.