For this assignment, I chose the Wine Quality dataset from the UCI Machine Learning Repository and the article “Modeling wine preferences by data mining from physicochemical properties”. The dataset contains physicochemical measurements and sensory quality scores for red and white Vinho Verde wines from Portugal. I will focus on the white wine subset to explore how physicochemical properties are related to wine quality. I selected this dataset because of my background in Chemical Engineering, which gives me familiarity with many of the physicochemical variables and allows me to connect my previous knowledge with data science.
Article: “Modeling wine preferences by data mining from physicochemical properties” Cortez, P., Cerdeira, A., Almeida, F., Matos, T., Reis, J. (2009)
I will focus on the white wine subset of the Wine Quality dataset. First, I will load the dataset into R and examine its structure, variables, and data types. I will use quality as the target variable and select relevant physicochemical variables to create a data frame for further analysis. I will then examine how these variables may be related to wine quality and prepare the data for later analysis.
Anticipated Data Challenges
The large size of the dataset and the large number of variables may be challenging for me at this stage. In addition, some variables may be related to each other, which could make the analysis more challenging.
Business Question
Can physicochemical properties help explain the quality of a wine?
Data Question
Which physicochemical variables are most strongly related to a wine’s quality score?
Loading The Data
I loaded the white wine dataset directly from GitHub using its URL so that the analysis can be reproduced on another computer.
I examined the dimensions, column names, and structure of the dataset to better understand its size, variables, and data types before creating the final subset.
I selected seven variables for further analysis: alcohol, volatile acidity, citric acid, residual sugar, density, pH, and quality. These variables represent different physicochemical properties of the wine, while quality is the target variable.
In this assignment, I loaded the white wine dataset into R and created a subset containing physicochemical variables and sensory wine quality scores.
To extend the work of Cortez and colleagues, I could investigate which variables are most important for predicting wine quality.
To verify the findings of the original study, I could apply the same statistical methods to the white wine subset and compare the results with the original study.
To update the study, I could use newer wine quality data, if available, and compare the results with the original dataset. This could help determine whether the relationships between physicochemical properties and wine quality have remained consistent over time.
Citation
I used ChatGPT (GPT-5.6 Luna), developed by OpenAI, to help me understand some of the functions I used in this assignment and to check my work.
OpenAI. (2026). ChatGPT (GPT-5.6 Luna) [Large language model]. [https://chatgpt.com/ Accessed September 7, 2026].