Despite the promises and reforms of the government aimed to lower costs of goods, the Filipino people still have not experienced relief from the continuous price hikes of goods. Thus, there have been movements in the government to review this law. However, a review of related literature suggests that existing studies that analyze price movement of agricultural commodities are lacking in either coverage or recency.
Despite being an agricultural country, there is a lack of research regarding price behavior of agricultural products. In recent years, prices of goods have been continuously rising, warranting an investigation behind the possible factors that affect it.
Hence, we used data science to gain insight into the trends and patterns of agricultural prices and subsequently learn the significant factors that affect prices of agricultural goods.
Is there any notable correlation between the prices of different agricultural goods?
Are there any seasonal patterns or events that affected the prices of agricultural goods?
Prices are NOT affected by seasonal trends nor other agricultural goods.
Prices of goods are AFFECTED by time of the year, as well as prices of other goods.
We collected the data regarding retail prices for various agricutural goods from the public database of the Philippine Statistics Authority (PSA). They were downloaded as an excel (.xlsx) file.
Dataset for monthly retail prices are from January 2020 to December 2023.
In total, we have 201 various products with their retail prices spanning over 52 months, giving the dataset a total count of 10,452 items.
We computed the average of the Philippines as a whole, removing the null values that some regions had on certain products.
We used Matplotlib and Seaborn to generate the graphs that showcased relationships within the data.
We used the Pearson Correlation test to find correlations between two different agricultural products. We then used a correlation matrix to visualize correlations of multiple products.
For each crop, we aggregated mean prices and calculated the z-score of their respective prices. We then performed cubic spline interpolation for better visualization. We made four line graphs to visualize seasonality.
Click the link below to know more about the data we've dealt with.
Check out our spreadsheet!Click the link below to check our exploration process.
Our Jupyter Notebook!Spikes in ber months and dips in the following months.
Does not experience drastic changes in prices, but shrimp gets quite cheap during the ber months.
Does not follow some sort of general seasonality.
Gradually increase in price from August up to December.
Establishing correlations between two products allows us to
When two products are correlated, a price change in one means a price change in the other, letting us forecast prices as one product experiences price changes.
Diversifying the production of agricultural goods can protect our farmers from price movements that affect their possible profits.
The price increase during ber months observed throughout multiple products (seafood, meat, grains, rice) indicate higher demand during the holiday seasons.
Dry season rice is harvested during March and April. Hence, during the holiday season, its dwindling stockpiles, compounded with higher demands explains the gradual increase during ber months.
By knowing correlations of products and their seasonality, we can
Farmers can make informed decisions on what to plant in order to offset price movements. This reduces their risk of losing money.
We can carefully predict and plan our purchases and potentially save money, especially in this time where prices of products and services are extremely high.
In conclusion, we reject the null hypothesis. Some of the
main takeaways
of our study include the following:
Prices of some products are affected by inter-product correlation and time of year.
We have verified that ber months or the holiday seasons are time periods wherein prices peak for numerous products.
This study about agricultural products can help us, the consumers, and, most importantly, our farmers.
Due to the sheer number of agricultural products and the amount of possible product pairings, we were unable to investigate all of them. Hence, we recommend taking the time to perform correlation studies between all possible product pairs as well as using data that spans for a longer period.