3A

Course Assessment and Curriculum Framework
  • Curriculum Structure:

    • Module 1: Making Predictions: Explores time series data, reasoning with proportions, and developing classification models.

    • Module 2: Conducting Tests: Focuses on reasoning with chance models, inferring from samples to proportions, and making statistical claims.

    • Module 3: Building Models: Centered on sourcing and exploring data, modelling relationships between numeric variables, and reasoning with distributions.

    • Exam Scope: Final examination assessment focuses strictly on material starting from Module 3 (Topics 3A, 3B, 3C, 4A, 4B, and 4C). Students should focus revision on Module 3 onwards rather than re-studying Module 1 time series.

  • Assessment Milestones & Diagnostic Performance:

    • Module 1 Quiz Benchmark: Total marks out of 3030, with a pass threshold of 1515 marks.

    • Preparation task scores strongly predict pass rates:

      • Students scoring 77 to 99 marks on preparation tasks achieved a 98.3%98.3\% pass rate (n=291n = 291).

      • Students scoring 44 to 66 marks achieved a 78.4%78.4\% pass rate (n=74n = 74).

      • Students scoring 00 to 33 marks achieved a 70%70\% pass rate (n=20n = 20).

    • Module 2 Quiz: Administered online via Inspera, weighted at 10%10\%, opening Wednesday September 23 at 1:00 PM and closing Thursday September 24 at 1:00 PM.


Evaluating Statistical Claims and Writing in Context
  • Plausible Values Framework:

    • Claims must be evaluated strictly against confidence intervals representing plausible parameter values.

    • Confidence intervals in reporting software should be soft-coded (automated based on sample size and proportions) rather than hard-coded.

    • Majority Claims Assessment (50%50\% Threshold):

    • Supported: The confidence interval lies entirely above the 50%50\% cutoff (e.g., the lowest plausible value is 70%70\%).

    • Refuted: The confidence interval lies entirely below 50%50\%.

    • Inconclusive: The interval straddles 50%50\% (contains values both below and above 50%50\%). In this situation, a majority claim cannot be validated.

  • Contextual Reporting Standards:

    • Data consists of numbers within a context; bare numerical statistics receive zero credit on assessments.

    • Each interpretive statement must be self-contained and specify:

    • The precise sample group (e.g., explicitly referring to "these 400400 sampled works" or "these sampled cafes").

    • Descriptive context (e.g., variable names, categories, and measurement units).

    • The specific summary statistic utilized (e.g., "according to the median" or "using the mean").


Ethics and Responsibilities in Web Scraping
  • Technical Rules and Server Integrity:

    • robots.txt Verification: Always inspect the target website's robots.txt file prior to writing or running web scrapers to check for disallowed directories or blocked paths.

    • Terms of Service (ToS): Adhere to website terms by throttling request rates to mimic human-speed web browsing; excessive request rates can overload web servers and breach legal conditions.

  • Ethical Boundaries and Informed Consent:

    • Public Access vs. Consent: Public accessibility on the internet does not grant permission for automated extraction, secondary research, or permanent caching.

    • Personally Identifiable Information (PII): Names, usernames, user photos, and personal contact details must never be harvested without explicit, informed consent and appropriate institutional ethics committee clearance.

    • Case Examples:

    • Auckland Marathon Results: While finish times are published publicly, harvesting competitor names and personal details for commercial gain or secondary research without consent is unacceptable.

    • University Staff Directory: Public directory entries are intended for prospective students seeking academic information. Harvesting names and departments to infer demographic attributes (e.g., gender or ethnicity) without consent is bad practice and ethically impermissible.

    • Dating Profiles (e.g., FindSomeone): Scraping profile images, usernames, or biographical text for behavioural research requires explicit participant informed consent.


Categorical and Multivariate Exploratory Analysis
  • Categorical Variable Specification:

    • Describing a categorical variable requires only the precise variable name and its distinct, mutually exclusive levels.

    • If levels are non-exhaustive, an "other" category must be specified (e.g., variable Vehicle Color: White, Black, Grey, Other).

  • Conditional Proportions:

    • When analyzing two-way categorical distributions, conditioning statements must clearly establish the denominator subgroup using phrasing such as "out of [condition]".

    • Reversing the conditioning context (e.g., confusing "out of the romance fan fictions" with "out of the works featuring Ron") represents a critical interpretative error.

  • Harry Potter Fan Fiction Analysis (n=400n = 400 Top Favorites):

    • Character Distribution: Harry Potter appears in approximately 85%85\% of sampled fan fictions; Hermione Granger appears in approximately 30%30\%; Ron Weasley appears in less than 5%5\%.

    • Conditioned by Romance Genre: Out of the romance fan fictions, 100%100\% did not feature Ron Weasley.

    • Age Ratings: Over 90%90\% of stories carry a TT (Teen) or MM (Mature) rating, showing that the vast majority are not suitable for young children. Out of the romance stories, approximately 72%72\% to 74%74\% are rated MM, and around 95%95\% are rated either MM or TT.

    • Main Character Count: The lower quartile (LQLQ), median, and upper quartile (UQUQ) are all equal to 22, demonstrating that at least half of the top-rated stories feature exactly two main characters.


Measures of Central Tendency: Mean vs. Median
  • Theoretical Properties:

    • Median (50th50\text{th} Percentile): The physical middle observation of ordered data; highly robust and resistant to extreme outliers or severe skewness.

    • Arithmetic Mean: The mathematical balance point (pivot of a seesaw) where the sum of signed deviations equals zero. Every data point contributes to the calculation.

  • Impact of Distribution Skewness:

    • Symmetric Distribution: Mean≈Median\text{Mean} \approx \text{Median}.

    • Positively Skewed (Right-Skewed): Extended tail to the right pulls the arithmetic center upwards: Mean>Median\text{Mean} > \text{Median}.

    • Negatively Skewed (Left-Skewed): Extended tail to the left pulls the arithmetic center downwards: Mean<Median\text{Mean} < \text{Median}.

  • Analytical Application:

    • Example: In the fan fiction dataset, the median age was 8 years8\text{ years}, whereas the mean was 8.1 years8.1\text{ years}, pulled upward by a single data-entry typo (an outlier of 50 years50\text{ years}).

    • Software Operation: In iNZight, the mean is represented by a solid black triangle added via the "Add to plot" menu; box plots should be unchecked when highlighting the mean.

    • Selection Rule: Report the mean for roughly symmetric data without severe outliers; use the median when distributions exhibit heavy skewness or unverified data errors.


Measures of Variation: Standard Deviation
  • Definition and Mathematical Mechanics:

    • Standard deviation (SDSD) measures the average distance that individual data points deviate from the arithmetic mean.

    • Standard deviation is fundamentally linked to the mean; it cannot be computed or interpreted without reference to the mean.

    • A smaller SDSD indicates that data points are clustered closely around the mean (greater consistency); a larger SDSD indicates greater dispersion and spread.

  • Heuristic Estimation Rule:

    • For roughly symmetric, unimodal distributions, the interval spanning one standard deviation on either side of the mean (Mean±1 SD\text{Mean} \pm 1\,SD) captures approximately the middle 70%70\% of the data points (wider than the middle 50%50\% captured by the interquartile range, IQRIQR).

    • Estimation Strategy on Dot Plots:

    1. Locate the mean (black triangle balance point).

    2. Identify the middle 70%70\% envelope of points.

    3. Measure the horizontal distance from the mean to the edge of this envelope.

    4. Eliminate options that fall outside the data range or that reflect impossibly small distances.


Practical Detective Application: Wellington Stolen Vehicle Case
  • Vehicle Case Study: Analysis of Wellington vehicle thefts (66-month police dataset) involving a 2121-year-old green Mitsubishi with registration starting with "Z".

  • Multivariate Conditioning:

    • Conditioning vehicle body type on make revealed that 50%50\% of stolen Mitsubishis in the sample were station wagons.

    • Station wagons accounted for the highest theft proportion across multiple vehicle cross-classifications.

  • Variation Comparison:

    • Hatchbacks displayed an age standard deviation of SD=4 yearsSD = 4\text{ years}.

    • Station wagons displayed an age standard deviation of SD=7 yearsSD = 7\text{ years}.

    • Hatchback ages were more uniform, whereas station wagons showed substantially greater spread and variation in vehicle age.