Business Statistics and Data Preparation Guide

Foundations of Statistics, Data Privacy, and Data Ethics

  • Core Definitions

    • Data: Compilations of facts, figures, or other contents, encompassing both numerical and nonnumerical information.
    • Statistics: The branch of science concerned with the collection, preparation, analysis, presentation, and interpretation of data.
  • Essential Steps in Statistical Analysis

    • Data Acquisition and Preparation: Locating appropriate data that are complete, uncorrupted, and free from misrepresentation, followed by proper preparation for evaluation.
    • Technique Selection: Selecting and executing appropriate statistical techniques tailored to the specific characteristics of the data.
    • Communication of Insights: Translating complex numerical outputs into clear verbal and written language to deliver actionable business insights.
  • Principles of Data Privacy

    • Definition: A specialized branch of data security that focuses on the legal, transparent, and regulated collection, storage, usage, and transmission of data.
    • Key Operational Domains:
    • Ensuring data collection and storage meet strictly legal and compliance standards.
    • Regulation and governance of data sharing with third-party entities.
    • Adherence to local and international regulatory obligations.
    • Core Privacy Principles:
    • Confidentiality: Safeguarding customer identity and sensitive data to ensure privacy remains protected at all times.
    • Transparency: Providing clear visibility into automated decision-making and data-processing activities while informing individuals of social, ethical, and operational consequences.
    • Accountability: Establishing systematic, reasonable, and reflective frameworks to govern data management and protection.
  • Principles of Data Ethics

    • Definition: A branch of ethics dedicated to evaluating moral issues and social impacts related to data usage.
    • Core Ethical Principles:
    • Human First: Prioritizing human welfare and individual rights over institutional, commercial, or technological interests.
    • Mitigation of Bias: Ensuring algorithms and analytical models do not adopt, reinforce, or amplify unconscious societal biases.

Statistical Frameworks and Data Classifications

  • Major Branches of Statistics
    • Descriptive Statistics: Focuses on summarizing, organizing, and presenting data through charts, tables, and calculated measures of central tendency and variability.
    • Inferential Statistics: Focuses on drawing conclusions or making predictions about a larger group based on findings from a smaller group.
    • Population: The complete set of all items or members of interest.
    • Sample: A subset selected from the larger population.
    • Parameter vs. Statistic: A sample statistic is calculated to estimate an unknown population parameter, as acquiring full population data is often cost-prohibitive or physically impossible.

Relationship between Population and Sample

  • Temporal Classification of Data
    • Cross-Sectional Data: Information collected across multiple subjects or entities at a single point in time, without regard to temporal shifts.
    • Example: The 2020–20212020\text{--}2021 NBA Eastern Conference final standings data set.

2020-2021 NBA Eastern Conference Standings Table

* Data values from the 2020–20212020\text{--}2021 Eastern Conference standings:
  * Philadelphia 76ers: Wins = 4949, Losses = 2323, Winning percentage = 0.6810.681
  * Brooklyn Nets: Wins = 4848, Losses = 2424, Winning percentage = 0.6670.667
  * Milwaukee Bucks (2021 Champions): Wins = 4646, Losses = 2626, Winning percentage = 0.6390.639
  * New York Knicks: Wins = 4141, Losses = 3131, Winning percentage = 0.5690.569
  * Atlanta Hawks: Wins = 4141, Losses = 3131, Winning percentage = 0.5690.569
  * Miami Heat: Wins = 4040, Losses = 3232, Winning percentage = 0.5560.556
  * Boston Celtics: Wins = 3636, Losses = 3636, Winning percentage = 0.5000.500
  * Washington Wizards: Wins = 3434, Losses = 3838, Winning percentage = 0.4720.472
  • Time Series Data: Information recorded over multiple sequential time periods for a single subject, event, or group (e.g., hourly, daily, weekly, monthly, quarterly, or annually).
    • Example: Quarterly median house sales prices tracked over a decade.

Quarterly Median Sales Price of Houses Graph

  • Structural Classification of Data

    • Structured Data: Standardized information arranged in predefined row-column formats (such as spreadsheets or relational databases) that allows for direct entry, querying, and mathematical evaluation. These numerical values are objective and precise.
    • Unstructured Data: Information that lacks a predefined tabular structure, often consisting of text, audio, video, or social media content (e.g., platforms like X, YouTube, Facebook, and online blogs). Although implied patterns may exist, it does not fit standard database schema.
  • Big Data and Data Sourcing

    • Big Data Dimensions: Massive volumes of structured and unstructured data characterized by high velocity and complexity, making traditional data processing systems insufficient.
    • Analytical Trade-offs: Large dataset availability does not equal complete population coverage; processing big data can introduce significant computational burdens where costs outweigh operational benefits.
    • Data Growth Context: Approximately 90%90\text{\%} of global data was generated within the last two years alone.
    • Prominent Data Repositories:
    • Bureau of Economic Analysis (BEA)
    • Bureau of Labor Statistics (BLS)
    • Federal Reserve Economic Data (FRED)
    • US Census Bureau
    • National Climate Data Center (NCDC)
    • Financial and Domain Outlets: Yahoo Finance, Google Finance, Zillow, ESPN

Variables and Scales of Measurement

  • Classification of Variables

    • Variable: Any observable characteristic or attribute that varies in kind or degree across individual records.
    • Categorical (Qualitative) Variables: Variables represented by labels, names, or categories to signify unique attributes. They are often coded numerically for computer processing.
    • Numerical (Quantitative) Variables: Variables represented by meaningful numeric values.
    • Discrete Variables: Variables taking on countable values (e.g., number of children in a family = 0,1,2,30, 1, 2, 3).
    • Continuous Variables: Variables taking on uncountable values over a continuous numerical interval (e.g., birth weight of a newborn baby).
  • Measurement Scales Hierarchy

    • Nominal Scale: Categorical measurement where values differ strictly by name or label. No ranking or arithmetic operations are possible (e.g., marital status, music streaming platform).
    • Ordinal Scale: Categorical measurement where values can be meaningfully categorized and ranked, but the differences between categories cannot be measured quantitatively (e.g., customer satisfaction ratings from 1 star (poor)1\text{ star (poor)} to 5 stars (outstanding)5\text{ stars (outstanding)}).
    • Interval Scale: Numerical measurement where data can be ordered and differences are meaningful. The zero point is arbitrary and does not indicate total absence of the variable; multiplication and ratios are invalid (e.g., temperature scales, closing times).
    • Ratio Scale: Numerical measurement with a true absolute zero point representing the total absence of the characteristic. Full arithmetic operations and ratio comparisons are valid (e.g., monetary spending, profit margins).
  • Measurement Scale Case Example: Survey of Tweens

Tween Music and Spending Survey Data

  • Sample Data Entries:
    • Record 11: Music Streaming = Apple Music, Food Quality = 44, Closing Time = 5:00 pm\text{5:00 pm}, Money Spent = \20\n * Record 2:MusicStreaming=Pandora,FoodQuality=: Music Streaming = Pandora, Food Quality =2,ClosingTime=, Closing Time = ext{5:00 pm},MoneySpent=, Money Spent =\1010
    • Record 2020: Music Streaming = Spotify, Food Quality = 22, Closing Time = 4:30 pm\text{4:30 pm}, Money Spent = \10\n * Scale Identifications from Example:\n * **Music Streaming**: Nominal scale\n * **Food Quality Rating**: Ordinal scale\n * **Closing Time**: Interval scale\n * **Own Money Spent**: Ratio scale\n\n# Data Preparation, Cleaning, and Subsetting Techniques\n\n* Initial Data Inspection\n * **Counting and Sorting**: Fundamental first steps used to inspect data structure, confirm completeness, and identify missing entries.\n * **Sorting Applications**: Arranging records by single or multiple variables to evaluate minimums, maximums, and overall value distributions.\n\n* Missing Value Management Strategies\n * **Omission Strategy**: Completely removing any observation that contains missing values from analysis.\n * **Imputation Strategy**: Replacing missing entries with calculated statistical proxies.\n * For numerical variables: Replace missing values with the variable's average (mean).\n * For categorical variables: Replace missing values with the most frequent category (mode).\n\n* Subsetting Frameworks\n * **Definition**: Extracting a targeted subset of a primary dataset for specific analytical queries.\n * **Primary Subsetting Objectives**:\n * Facilitating group comparison analyses.\n * Eliminating low-quality data, extreme outliers, or unrecoverable entries.\n * Excluding redundant variables or columns with excessive missing data.\n * Filtering records based on custom numerical or date ranges.\n\n* Marketing Case Study: Retail Customer Data (Organic Food Superstore)\n\n![Retail Customer Data](https://assets.knowt.com/pdf-flow-prod/56fd9521-3e19-455f-811f-7441be878022-figures/4.png)\n\n * Customer Data Records:\n * Customer ID 1530016:Sex=Female,Race=Black,BirthDate=: Sex = Female, Race = Black, Birth Date =12/16/1986, Channel = SM\n * Customer ID 1531136:Sex=Male,Race=White,BirthDate=: Sex = Male, Race = White, Birth Date =5/9/1993, Channel = TV\n * Customer ID 1579979:Sex=Male,Race=White,BirthDate=: Sex = Male, Race = White, Birth Date =7/5/1999$$, Channel = SM
  • Targeted Subsetting Tasks:
    • Filter and isolate college-educated millennial customers from the general database.
    • Compare demographic and channel preference profiles between female and male segments within this target group to optimize advertising strategies.