Probability and Statistics / Data Analysis / Python
Probability and Statistics Jigsaw Puzzle: Probability Calculations and Chi-Square Analysis in Python
This technical Probability and Statistics exercise presents a set of Python code fragments designed to demonstrate basic probability calculations and statistical hypothesis testing. The material is organised as a jigsaw-style collection of code segments, allowing the underlying logical sequence to be reconstructed from variable definitions, probability calculations, observed data, statistical testing and final interpretation. Jigsaw_Puzzle_3_Original_Struct… The first part models a two-bag probability problem. Bag 1 contains four white and two black items, while Bag 2 contains three white and five black items. The code calculates the probabilities of selecting a white or black item from each bag and then uses multiplication rules to determine the probability of drawing two white items, two black items, or one white and one black item across the two bags. Jigsaw_Puzzle_3_Original_Struct… Jigsaw_Puzzle_3_Original_Struct… Jigsaw_Puzzle_3_Original_Struct… A second section demonstrates a chi-square test of independence using an observed frequency table containing grade outcomes for girls and boys across grades A, B, C and D. The data are stored in a NumPy array and analysed using SciPy's chi2_contingency function. The resulting chi-square statistic, p-value, degrees of freedom and expected frequencies are calculated and displayed. Jigsaw_Puzzle_3_Original_Struct… Jigsaw_Puzzle_3_Original_Struct… The final fragment applies a conventional significance threshold of α = 0.05. If the p-value is greater than 0.05, the code reports that the null hypothesis should not be rejected; otherwise, it concludes that a statistically significant difference exists. Jigsaw_Puzzle_3_Original_Struct… Overall, the document demonstrates core statistical-programming concepts including probability rules, contingency tables, chi-square analysis, expected frequencies, p-value interpretation and hypothesis testing using Python, NumPy and SciPy. Important: because this file does not identify a university, module, academic level, academic year, assignment brief, formal word count or referencing system, I would leave those fields as Not specified rather than guessing.
Read Model Answer →
Big Data Analytics / Data Analytics
4,000 words
Big Data Analytics Using Python and Business Intelligence with Tableau
This individual Big Data Analytics assessment requires students to critically analyse data using programming languages, statistical techniques, data visualisation methods and business intelligence software. The assessment combines practical data analytics using Python with interactive business intelligence and dashboard development using Tableau, requiring evidence of technical implementation, research, critical appraisal and justification of the selected analytical approaches. The first section, worth 70%, is based on a dataset containing accidental drug-related deaths recorded in Connecticut between 2012 and 2024. The dataset contains 12,964 observations and 49 variables. Students are required to conduct exploratory data analysis using Python, develop three to four research questions, formulate null and alternative hypotheses, and apply appropriate statistical methods. The analytical process also requires an evaluation of alternative technologies and methodological approaches, supported by relevant research. Students must justify their selected methodology and present a clear workflow diagram. The solution-development stage involves data preprocessing, descriptive statistical analysis, visualisation, answering the research questions and conducting statistical significance testing to determine whether the null hypothesis should be accepted or rejected. Evidence of coding and a link to working code are also required. The final Python component requires evaluation of the findings, consideration of limitations and recommendations for future development using emerging technologies. The second section, worth 30%, focuses on Business Intelligence using Tableau and uses a historical Olympic Games dataset containing 271,116 rows and 15 columns. Students analyse relationships between medals and host cities, athlete age and medal type, season and medal counts, and sex and medal type. The section culminates in an interactive Tableau dashboard containing at least four interconnected sheets, where changes to relevant parameters are reflected across the dashboard. Overall, the assessment develops practical competence in Python-based analytics, statistical reasoning, research-question development, hypothesis testing, data visualisation and interactive business intelligence dashboard design. Overview word count: approximately 350 words. AI note: the brief permits AI for limited support such as grammar, structure, organisation of ideas and suggestions, but states that the main content, analysis and conclusions must remain the student's own work. AI use must also be declared.
Read Model Answer →