| Due date | Turn in |
|---|---|
| 11:45pm Mon Aug 25 | Assignment 2 Repo on GitHub has been created |
| 11:45pm Mon Sep 1 | Final solutions available on repo |
ETC5521 Diving Deeper into Data Exploration: Assignment 2
As per Monash’s integrity rules, these solutions are not to be shared beyond this class.
🎯 Goal
The assignment is designed to practice using initial data analysis to prepare data for exploration, and conduct randomisation appropriate tests for significance of patterns. The assignment represents 20% of your final grade for ETC5521. This is an individual assignment.
📌 Guidelines
Accept the GitHub Classroom Assignment provided in Moodle using a GitHub Classroom compatible web browser. This should generate a private GitHub repository that can be found at https://github.com/etc5521-2025. Your GitHub assignment 2 repo should contain the file
assign02.html,README.md,assign02-submission.qmd,assignment.css,etc5521-assignment2.Rproj,.gitignore, and data files generated from your work needed to render your solution file. Code should be available but folded in report.Answer each question in the
assign02-submission.qmdin the repo.For the final submission knit
assign02-submission.qmdwhich will contain your answers. Make sure to provide the link to the script of any Generative AI conversation you employed in arriving at your solution. Note that marks are allocated for overall grammar and structure of your final report.Leave all of your files in your GitHub repo for marking. We will check your git commit history. You should have contributions to the repo with consistent commits over time. (Note: nothing needs to be submitted to Moodle.)
You are expected to develop your solutions by yourself, without discussing any details with other class members or other friends or contacts. You can ask for clarifications from the teaching team and we encourage you to attend consultations to get assistance as needed. As a Monash student you are expected to adhere to Monash’s academic integrity policy. and the details on use of Generative AI as detailed on this unit’s Moodle assessment overview.
We expect that this assignment takes about 10-12 hours of time to complete. You should work on this analysis steadily over the time period between release and due date. Spend a couple of hours soon after the assignment is released getting started, and several hours each of the following two weeks to refine your analysis. Your GitHub
commithistory should reflect this working pattern.
Deadlines:
🛠️ Exercises
The file yarra_wq.xls contains water quality measurements from Victorian Department of Energy, Environment, and Climate Action. Metadata on the stations is provided in SW Metadata.csv.
Your boss has received a complaint from the Rakali Organisation that water quality in the Yarra River has declined. They have tasked you with preparing the data to answer the question “Has water quality declined from the 1990s to recent years?”
Question 1: Conduct an IDA
Check the data for what can be used to prepare it to answer this question, and do the data processing that is needed. This might include:
- Reading and checking types of variables,
- Converting dates into date, month, weekday, hour
- Checking which sites have sufficient measurements
- Checking which parameters (water quality variables like pH, nitrogen, …) have sufficient measurements
You should write out a cleaned data set, called yarra_wq_clean.csv into the data directory.
Question 2: EDA
Make some numerical and graphical summaries to address the main question. These might include side-by-side plots of the distributions of different parameters, and means/standard deviations.
Write some explanatory sentences for each plot and table made, describing what is learned.
Question 3: Check your findings
For three of the plots you have produced, write down what was the null hypothesis being tested. This needs to be based on your ggplot code, not on what was in the plot of the data.
Generate the appropriate lineup, to check whether your summary statements from the previous part were reasonable or not.
Generative AI analysis
In this part, we would like you to actively discuss how generative AI helped with your answers to the assignment questions, and where or how it was mistaken or misleading.
You need to provide a link that makes the full script of your conversation with any generative AI tool accessible to the teaching staff. You should not use a paid service, as the freely available systems will sufficiently helpful.
Marks
| Part | Points |
|---|---|
| Q1 worth | 5 |
| Q2 worth | 7 |
| Q3 worth | 5 |
| GitHub Repo | 3 |
| Generative AI Analysis | -3 |
| Reproducibility, Formatting, Spelling & Grammar | -5 |
Note that the negative marks for “Generative AI Analysis”, “Formatting, Spelling & Grammar” correspond to reductions in scores. You can lose up to 3 marks for poor use of the GAI. For example, no use, basic questions only, no link to the script, and no acknowledgment but clearly used. You can lose up to 5 marks if your report is not reproducible, for poorly formatted and written answers. Three marks will be reserved for appropriate GitHub work, accepting the assignment in a timely fashion and consistent and substantive commits.
Here are some guidelines for code:
- Split chunks that process data and ones that plot data
- It is dangerous to run scraping code or downloading data each render because web sites often change. Always best to scrape once or download once and save the result for the rest of the analysis. (This is general advice not needed for this assignment.)
- Label the chunks - helps to locate errors
- Comment the code so you can remember what each is supposed to do when you come back to it.
- Learn how to name things well, see https://github.com/jennybc/how-to-name-files
Rubric
To help you complete in your report, below is a rubric to guide you to what we are expecting:
| content | Excellent (HD) | Very good (D) | Good (C) | Satisfactory (P) | Unsatisfactory (F) |
|---|---|---|---|---|---|
| Q1 | Saved data is clean, and formatted in a way that the question can be addressed. Limitations of the cleaned data are detailed. Steps taken during the data processing are explained. | Saved data is clean, and formatted in a way that the question can be addressed. Limitations of the cleaned data are mostly detailed. Steps taken during the data processing are provided. | Saved data is clean, and formatted in a way that the question can be reasonably addressed. Limitations of the cleaned data are mentioned. Steps taken during the data processing are provided. | Saved data is clean, and formatted in a way that the question can be reasonably addressed. Steps taken during the data processing are provided. | Saved data is clean, and formatted in a way that the question cannot addressed. Glaring errors in the processing that leave substantial missing data, or incorrect values. Steps taken during the data processing are not clearly provided. |
| Q2 | Plots and summaries are comprehensive, well-designed, polished and concise, and clearly designed to address the primary question. Text is used to summarise the tables and plots. Anything interesting or problematic with the data is discussed. | Plots and summaries are comprehensive, well-designed, and concise, and clearly designed to address the primary question. Text is used to summarise the tables and plots. Anything interesting or problematic with the data is discussed. | Plots and summaries are mostly appropriate, and address the primary question. Text is used to summarise the tables and plots. Interesting or problematic aspects of the data are mentioned. | Plots and summaries are reasonable, and mostly address the primary question. Text is used to summarise the tables and plots. Interesting findings are provided. | Plots and summaries are dont address the primary question. Text is inadequate to describe the tables and plots. No summary of interesting findings. |
| Q3 | Null hypotheses correctly provided, and explained. Appropriate null generating methods used, and explained. A variety of plots are chosen. Findings clearly articulated. | Null hypotheses correctly provided, and explained. Appropriate null generating methods used, and explained. Findings clearly articulated. | Null hypotheses mostly correct, and explained. Appropriate null generating methods used, and explained. Findings documented. | At least one null hypotheses is correct, and explained. At least one appropriate null generating method used, and explained. Findings summarised. | All null hypotheses are incorrect. Inappropriate null generating method used. Findings not summarised. |
| Repo | Actively commiting during entire assignment period, with informative commit messages, done after each small change to the work. Repo accepted in a timely manner. | Actively commiting during entire assignment period, with informative commit messages, done after changes to the work. Repo accepted in a timely manner. | Actively commiting during entire assignment period, done after changes to the work. Repo accepted in a timely manner. | Multiple commits made, at least after each part completed, with informative commit messages. | Repo not accepted in time, and just a few single commits. |
| GAI | GAI used effectively, deeply, and explained, script linked to report (0 deduction) | NA | GAI used but not explained well or inadequate and script linked to report (-0.5) | Shallow use of GAI, script linked to report (-1) | Clearly used but no script linked to report (-3) |
| Reproducibility | No changes needed for report to reproduce exactly as provided. Code is nicely formatted, commented and readable using appropriate tidyverse standards. (0 deduction) | Single change needed for report to reproduce exactly as provided. Code is nicely formatted, commented and readable using appropriate tidyverse standards. (0 deduction) | Just a few changes needed for report to reproduce exactly as provided. Code is formatted, commented and readable using appropriate tidyverse standards. (-0.5) | Multiple changes needed for report to reproduce exactly as provided. Code is readable. (-1) | Cannot easily make changes for report to reproduce at all. Code is not readable. (-3) |
| Spelling/Grammar | Writing style is exceptional, scholarly and succinct that is free from spelling, grammar and punctuation errors. (0 deduction) | Writing style is scholarly, free from spelling, grammar and punctuation errors. (0 deduction) | Writing style is scholarly, but wordy and inconcise. Free from spelling, grammar and punctuation errors. (-0.5) | Writing is scholarly and wordy. Contains some grammatical, punctuation and spelling errors. (-1) | Writing is unscholarly. Many grammatical, punctuation and spelling errors. (-2) |
| References | The appropriate referencing style has been used consistently, with no errors. Includes citations for software used, and data sources. (0 deduction) | The appropriate referencing style has been used consistently, with very few errors, and includes software used, and data sources. (0 deduction) | The appropriate referencing style has been used consistently, and only a few citations missing. (-0.5) | The appropriate referencing style has been used much of the time, missing some major sources that were clearly used. (-1) | Material used from external sources without citation. (-2) |