| Course | QSO 250 Business Analytics |
|---|---|
| Module | Module 5 |
| Paper type | undergraduate assignment documenting the cleaning and preparation of a business dataset, with each step, decision and its effect on the record count |
| Length | About 1,120 words, 7 pages |
| Format | APA 7 student paper |
| School | Southern New Hampshire University |
| Program | BS Business Administration |
| Updated | October 2026 |
Free sample paper for QSO 250 Module 5
From 41,800 Raw Contracts to an Analysis-Ready File: A Cleaning Log for Cadenza Music
[Student Name]
Southern New Hampshire University
QSO 250: Business Analytics
Data Preparation Assignment
[Instructor Name]
[Date]
The organization, setting and figures below are a composite written as a model document. No real employer, client, colleague or patient is described.
From 41,800 Raw Contracts to an Analysis-Ready File: A Cleaning Log for Cadenza Music
Introduction
Project One framed an analytics question for Cadenza Music: among new rental contracts started in the fall, which end before the school year does, and what distinguishes them? Answering it requires a clean file of contracts linked to repair tickets. This assignment documents how the raw export of 41,800 contracts from the rental system, covering 2023 through 2025, was prepared for that analysis. Each step records what was found, what was done and why, and how the record count changed. An untouched copy of the export was kept, and all steps were carried out in a spreadsheet with a separate column for each change so they can be repeated.
Profiling the Data
The export has 41,800 rows and 16 fields: contract number, store code, family account, school, grade, instrument, serial number, plan type, monthly rate, payment method, damage waiver, start date, return date, payoff date, status and entry channel. Profiling each field found the problems that the steps below address: test records, duplicate contracts, 147 distinct instrument spellings, 3,640 blank school fields, 86 return dates earlier than start dates, two store codes for the same location and serial numbers typed in mixed formats. Wang and Strong (1996) found that data users care about whether data are complete, consistent and fit for their task, not only accurate, and the profile was organized around those concerns.
Step 1: Remove Records That Do Not Belong
New staff practice entering contracts in a training store, code TRN, and some test contracts were entered in live stores with family names such as "Test" or "Do Not Use." These 312 records were removed. Count: 41,488.
Step 2: Remove Duplicates
A declined payment leaves a saved but unpaid contract behind, and the clerk's second attempt creates a near-twin a few minutes later. Duplicates were defined as records with the same family account, serial number and start date. In each group the record with a valid payment and later status was kept. This removed 1,236 records. Count: 40,252.
Step 3: Standardize Instrument Names
The 147 spellings were mapped to 22 standard instruments using a lookup table built by sorting the unique values and checking ambiguous ones against the serial number's manufacturer prefix. For example, "ASAX," "alto sax (new)" and "Sax Alto" all became Alto Saxophone. Eleven values, such as "horn," were ambiguous between French horn and mellophone and were resolved by serial prefix. No records were removed.
Step 4: Recover Missing Schools
Of 3,640 contracts with no school, 2,050 belonged to families who had another contract with a school recorded in the same school year, usually a sibling's or an earlier rental; for these, the school was filled from that contract only when the grade was consistent. The remaining 1,590 were labeled Unknown School rather than guessed. Batini et al. (2009) note that improvement methods range from correcting data with evidence to changing the processes that create errors; here, filling from related records is evidence-based, and making the web field required is the process fix.
Step 5: Correct Impossible Dates
Eighty-six contracts had return dates before start dates. In 61, the return date's year was clearly a typo, such as 2204 for 2024, and the payment history confirmed the correct year; these were corrected. The other 25 could not be resolved and were excluded from the analysis but kept in the file with a flag. Count for analysis: 40,227.
Step 6: Link Size Exchanges
String players often exchange a smaller violin or cello for a larger one, which the system records as a return and a new contract. Matching returns and new contracts by family account, instrument family and dates within seven days identified 1,140 exchanges. Each pair was linked into one continuing rental, so that exchanges are not counted as early returns. Count: 39,087.
Step 7: Flag Payoffs and Recode Stores
Contracts with a payoff date, 2,030 in all, were flagged, because a family that buys out its instrument has become an owner, not a dropout. Two Columbus stores merged in 2024 and appear under two codes; both were recoded to the surviving store.
Step 8: Normalize Serial Numbers and Join Repair Tickets
Serial numbers were typed with spaces, lowercase letters and the letter O for zero. Normalizing them, removing spaces, converting to uppercase and replacing O with 0 in the numeric portion, raised the share of 2023 to 2025 repair tickets that matched a contract from 88 to 97 percent. Each contract then received a repair delay variable: total days its instrument spent in repair between September 1 and December 31 of its first year.
Step 9: Create Analysis Variables
Following the definitions in Project One, each contract received an early-return flag (returned before June 1 of its first school year, excluding exchanges and payoffs), a fall-start flag (start date July through October), a program size for its school (new fall contracts from that school that season) and a payment method category. The final file follows the layout Wickham (2014) calls tidy, with each measure in its own column and each contract on its own row.
Step 10: Select the Analysis Population
Restricting to fall-start contracts gives the analysis population.
Record counts through the cleaning steps
| Step | Records removed or set aside | Records remaining |
|---|---|---|
| Raw export | 41,800 | |
| Training and test records | 312 | 41,488 |
| Duplicates | 1,236 | 40,252 |
| Unresolvable dates | 25 | 40,227 |
| Size exchanges linked | 1,140 | 39,087 |
| Non-fall starts | 1,147 | 37,940 |
Checks on the Cleaning
Three checks were run after cleaning to make sure the steps had not changed the data in unintended ways. First, the share of contracts by store and by instrument was compared before and after cleaning; no store or instrument share moved by more than half a percentage point, which suggests the removals were not concentrated in one place. Second, a random sample of 200 cleaned contracts was compared line by line with the original export to confirm that each change matched the log. Third, the early-return rate was calculated with and without the 1,590 contracts with unknown schools; including them raised the overall rate slightly, from 21.2 to 21.4 percent, because online sign-ups end early a little more often. That difference will be reported rather than hidden.
The Prepared Dataset
The clean file holds 37,940 new fall contracts from three seasons: 12,310 in 2023, 12,180 in 2024 and 13,450 in 2025. Every contract has a standard instrument, a store, a grade, a payment method, a repair delay value and an early-return flag; 1,590 have Unknown School.
Remaining Limitations
Contracts with unknown schools are more likely to come from online sign-ups and may differ from others, so results by school will be reported with that group shown separately. The file still records when a rental ended but not why.
References
Batini, C., Cappiello, C., Francalanci, C., & Maurino, A. (2009). Methodologies for data quality assessment and improvement. ACM Computing Surveys, 41(3), 1-52. https://doi.org/10.1145/1541880.1541883
Wang, R. Y., & Strong, D. M. (1996). Beyond accuracy: What data quality means to data consumers. Journal of Management Information Systems, 12(4), 5-33. https://doi.org/10.1080/07421222.1996.11518099
Wickham, H. (2014). Tidy data. Journal of Statistical Software, 59(10), 1-23. https://doi.org/10.18637/jss.v059.i10
What the QSO 250 Module 5 instructions ask for
The QSO 250 Module 5 assignment typically asks students to prepare a dataset for analysis and document what they did. Expect to inspect the data, identify problems such as duplicates, missing values, inconsistent categories, invalid values and formatting issues, and apply appropriate fixes, recording each step, the reason for it and how many records it affected. Many versions also ask for new variables needed for the analysis and for a summary of the cleaned dataset. Strong submissions are transparent and reproducible: another analyst could repeat every step from the log. They also explain judgment calls, such as recovering a missing value from other records rather than guessing, and recognize how cleaning choices could affect results.
How this QSO 250 Module 5 data preparation assignment example is built
The assignment logs ten cleaning steps on the contract file of Cadenza Music, a fictional rental chain. It removes 312 training records and 1,236 duplicates created by declined cards, maps 147 instrument spellings to 22 standard names, recovers schools for 2,050 of 3,640 contracts from the same family's other contracts and labels the rest unknown, corrects 61 impossible dates and excludes 25, links 1,140 size exchanges so they are not counted as early returns, flags payoffs, recodes two merged stores and normalizes serial numbers so 97 percent of repair tickets join. Wickham's tidy data rules, Batini and colleagues' survey of quality methods and Wang and Strong's data quality dimensions guide each decision.
Where the QSO 250 Module 5 rubric puts the points
The data preparation assignment in QSO 250 is generally graded on thorough identification of data problems, appropriate and justified cleaning steps, clear documentation of each step and its effect on the data, creation of any variables needed for analysis and a summary of the prepared dataset. Submissions that score well are reproducible, quantify every change and explain judgment calls and their possible effect on findings. Points drop when steps are described vaguely, when records are deleted without justification, when the final dataset is not described or when cleaning choices that could bias results go unmentioned. Organization, tables and APA citations complete the grade.
QSO 250 Module 5 help: the mistakes that cost points
Before changing anything, profile the data: count records, list each field's values, find blanks, duplicates and impossible values. Keep an untouched copy of the original. Then clean in a logical order, starting with records that do not belong, then duplicates, then inconsistent categories, then missing and invalid values, then new variables. For every step write what you found, what you did, why and how many records changed, and keep a running count. A common mistake is deleting any record with a problem, which can shrink and bias the data; another is fixing values by guesswork. When a value cannot be recovered with evidence, label it unknown and keep the record. End with a short description of the clean dataset and its remaining limits.
Get QSO 250 Module 5 written to your instructions
Send the QSO 250 Module 5 instructions and describe your dataset. A writer documents each cleaning step with what was found, what was done and why, shows how the record count changed, explains judgment calls such as when to fix and when to flag and prepares the file for the analysis in Project Two. Your first data preparation assignment is free, usually in two days. The paper above is an original model document written by our desk, not a submitted student paper and not an official Southern New Hampshire University document.
More QSO 250 papers and related BS Business Administration samples
- QSO 250 Module 1 Discussion: Where Analytics Could Help a Music Chain
- QSO 250 Module 2 Data Sources Assignment: What the Business Already Knows About Its Customers
- QSO 250 Module 3 Project One: Framing the Early-Return Problem
- QSO 250 Module 4 Discussion: Can We Trust the Rental Records?
- QSO 250 Module 6 Discussion: Predicting Which Students Will Quit
- QSO 250 Module 7 Project Two: The Data Preparation and Analysis Report
- QSO 250 Module 8 Discussion: Showing the Results to Store Managers
- FIN 335 Module 4 Project One: A Memo on the Underwater Bond Portfolio
- MKT 337 Module 2 Secondary Data Analysis Assignment: What the Ticketing Records Already Say
- HRM 400 Module 5 Milestone Two: What to Say, to Whom, and the Training Behind It
- FIN 320 Module 8 Final Project Financial Analysis Report: Financial analysis report for the board
QSO 250 Module 5 questions, answered
Where can I find a free QSO 250 Module 5 Data Preparation Assignment sample?
The complete QSO 250 Module 5 assignment is on this page: a ten-step cleaning log taking an invented rental chain's contract file from raw to analysis-ready.
What steps are involved in data cleaning?
Profiling the data, removing records that do not belong, removing duplicates, standardizing categories and formats, handling missing and invalid values, creating needed variables and documenting every change.
How should missing values be handled?
Recover them from reliable related records where possible, label them unknown where not and avoid guessing; then check whether records with missing values differ from the rest.
Why document data cleaning?
So the work can be repeated, checked and explained, and so readers understand how cleaning choices may affect the results.
What is a cleaning log?
A record of each data preparation step: what problem was found, what was done, why and how many records were affected, with a running count of the dataset.