Skip to Main Content
COM6FS113 (3) • Data Analysis Using Statistical Software
Module 1 Notes

Module I: Introduction to Statistical Software

In modern empirical research, business analytics, and social science inquiry, quantitative investigation relies on computerized statistical software to manage, clean, analyze, and interpret complex empirical datasets. Among contemporary analytical suites, the Statistical Package for the Social Sciences (IBM SPSS Statistics) stands as an industry standard utilized worldwide across academia, commercial market research, public policy evaluation, and corporate business strategy. However, the validity and reliability of any statistical output generated by software depends on rigorous research design, sound measurement instrumentation, disciplined data coding, and interface operational competence. This module provides an exhaustive foundation in research planning, operationalization of measurement scales, psychometric reliability and validity evaluation, questionnaire engineering, codebook construction, and the graphical environment of IBM SPSS Statistics.

1. Research Planning & Measurement Foundations

Quantitative analysis does not commence with software execution; it originates in disciplined conceptual planning. Empirical research is guided by the fundamental maxim "Garbage In, Garbage Out" (GIGO): no advanced statistical model can compensate for flawed measurement instruments, ambiguous survey questions, or inadequate research design.

The Quantitative Research Pipeline Methodological Lifecycle
Phase 1: Research Question & Conceptualization: Formulating precise research hypotheses and operationalizing latent abstract constructs into observable variables.
↓ Operationalization
Phase 2: Scale Selection & Questionnaire Engineering: Selecting valid psychometric measurement levels (Nominal, Ordinal, Interval, Ratio) and designing survey questions.
↓ Instrument Validation
Phase 3: Reliability and Validity Testing: Pilot testing the survey instrument to establish construct validity and internal consistency (Cronbach's Alpha).
↓ Data Transformation
Phase 4: Codebook Design & SPSS Entry: Establishing variable protocols, inputting numerical codes, cleaning datasets, and executing hypothesis testing.

1.1 Empirical Research Planning & Sampling Design

Scientific inquiry begins with precise methodological planning. The investigator must establish the research philosophy, temporal horizon, and sampling framework before collecting data:

  • Cross-Sectional vs. Longitudinal Designs: Cross-sectional studies collect empirical data from multiple subjects at a single snapshot in time (e.g., assessing investor sentiment during a specific market correction). Longitudinal designs track the same cohort across multiple sequential intervals (e.g., monitoring portfolio returns over five consecutive fiscal years).
  • Probability Sampling Architectures: Every population element possesses a known, non-zero mathematical probability of selection:
    • Simple Random Sampling: Each unit in the sampling frame has an equal probability of selection using random number generators.
    • Stratified Random Sampling: The heterogeneous population is partitioned into homogeneous sub-groups or strata (e.g., tier-1 cities vs. tier-2 cities, or retail investors vs. HNI investors), followed by proportional random draws from each stratum to ensure representation.
    • Cluster Sampling: The population is divided into naturally occurring geographical or institutional clusters (e.g., bank branches or college campuses); entire clusters are randomly sampled.
  • Non-Probability Sampling Techniques: Employed when a comprehensive sampling frame does not exist:
    • Purposive / Judgmental Sampling: Selecting subjects based on specific qualifying criteria (e.g., active derivative traders executing at least 10 trades per month).
    • Snowball Sampling: Existing respondents refer subsequent qualified participants; essential for hard-to-reach populations (e.g., high-net-worth angel investors).
    • Convenience Sampling: Recruiting readily accessible subjects; carries high risk of sampling bias.
  • Sample Size Determination: Adequacy of sample size dictates statistical power. For large populations of unknown size, researchers employ Cochran's formula or Taro Yamane's model:
    Yamane Sample Size: n = N / [1 + N * (e * e)]
    Where N is total population size and e is the allowable margin of error (e.g., e = 0.05 for a 95% confidence level). In multivariate regression and factor analysis, a widely accepted empirical rule of thumb recommends a minimum of 10 to 15 respondents per survey item or variable.

1.2 Stevens' Typology of Measurement Scales

In 1946, psychologist S. S. Stevens introduced a foundational hierarchy of four measurement scales. Understanding these scales is paramount because the mathematical scale of a variable dictates which statistical tests (parametric vs. non-parametric) are mathematically valid in SPSS.

Scale Level Core Characteristics Permissible Mathematical Operations SPSS Classification & Examples
Nominal Scale Categorical labels used purely for identification and classification. Numbers assigned have zero mathematical magnitude, order, or distance. Counting frequencies, Mode, Chi-Square contingency testing, Percentage distributions. (Mean and Standard Deviation are strictly meaningless). SPSS Measure: Nominal.
Examples: Gender (1=Male, 2=Female), Marital Status (1=Single, 2=Married), Preferred Investment Platform (1=Zerodha, 2=Groww, 3=Angel One).
Ordinal Scale Possesses rank order or relative positioning, but the intervals (distances) between ranks are not equal or mathematically quantifiable. Median, Percentiles, Interquartile Range, Spearman Rank Correlation, Mann-Whitney U test, Kruskal-Wallis test. SPSS Measure: Ordinal.
Examples: Education Level (1=High School, 2=Undergraduate, 3=Postgraduate), Socio-Economic Class, Customer Satisfaction Rank (Poor, Fair, Good, Excellent).
Interval Scale Possesses rank order and equal numeric intervals between points, but lacks an absolute, true zero point. Zero does not signify the complete absence of the property. Addition, Subtraction, Mean, Standard Deviation, Pearson Correlation, T-Tests, ANOVA, Linear Regression. Ratios cannot be computed. SPSS Measure: Scale.
Examples: Temperature in Celsius or Fahrenheit (0 degrees does not mean absence of heat), Calendar Years, Multi-item Summated Likert Scales.
Ratio Scale The highest level of measurement. Possesses rank order, equal quantifiable intervals, and an absolute, non-arbitrary physical zero point representing total absence. All mathematical and algebraic operations, including ratios, geometric means, logarithmic transformations, and coefficient of variation. SPSS Measure: Scale.
Examples: Annual Income, Share Price, Sales Turnover, Age in Years, Return on Equity percentage, Trading Volume.

1.3 Scaling Techniques in Business Research

  • Likert Summated Rating Scales: The most widely utilized scaling framework in commerce and organizational research, developed by Rensis Likert. Respondents indicate their level of agreement or disagreement with a series of declarative statements on a symmetric continuum:
    1 = Strongly Disagree | 2 = Disagree | 3 = Neutral / Undecided | 4 = Agree | 5 = Strongly Agree
    While individual Likert items are technically ordinal, when multi-item statements measuring a single underlying construct are aggregated into a composite summated score, psychometric convention treats the resulting variable as continuous (Interval / Scale in SPSS).
  • Reverse-Worded Items & Acquiescence Bias: To prevent respondents from mindlessly selecting the same response option across all questions (known as acquiescence bias or straight-lining), sound questionnaires incorporate negatively phrased statements. For example, in a risk tolerance scale, while Item 1 states "I actively seek volatile assets for capital growth", Item 2 states "I feel terrified when my portfolio drops even slightly". Before computing a composite scale in SPSS, the negative item must be mathematically inverted using Transform -> Recode into Different Variables (1 becomes 5, 2 becomes 4, 4 becomes 2, 5 becomes 1).
  • Semantic Differential Scales: Developed by C. E. Osgood, presenting respondents with a 7-point bipolar rating continuum anchored by contrasting antonymous adjectives (e.g., "High Risk [1 - 2 - 3 - 4 - 5 - 6 - 7] Low Risk" or "Incompetent Management [1 - 2 - 3 - 4 - 5 - 6 - 7] Highly Competent Management"). Used extensively in brand equity and investor perception studies.

2. Psychometric Evaluation: Reliability and Validity

To produce scientifically generalizable findings, empirical instruments must demonstrate psychometric robustness across two dimensions: Reliability (consistency of measurement) and Validity (accuracy of measurement).

The Target Analogy of Measurement Psychometric Quality
Reliability: The extent to which a measurement instrument yields consistent, repeatable, and stable results over repeated trials under identical conditions. (Hitting the same spot on a target repeatedly, regardless of whether that spot is the bullseye).

Validity: The extent to which a scale measures precisely what it claims to measure, free from systematic bias. (Hitting the true bullseye of the target).

A measurement instrument can be perfectly reliable without being valid (consistently measuring the wrong thing), but an instrument cannot be valid without first being reliable.

2.1 Forms of Instrument Reliability

  • Test-Retest Reliability: Administering the same measurement instrument to the same cohort of respondents across two distinct points in time separated by a temporal interval (e.g., 3 weeks). Evaluated using the Pearson correlation coefficient between Time 1 and Time 2 scores (coefficients > 0.80 indicate temporal stability).
  • Inter-Rater / Inter-Coder Reliability: The degree of agreement between two or more independent evaluators or coders analyzing the same qualitative responses or annual report disclosures (quantified using Cohen's Kappa).
  • Internal Consistency Reliability: Evaluates whether multiple survey questions designed to measure the same underlying construct produce consistent, correlated scores. The universal gold standard for measuring internal consistency in SPSS is Cronbach's Alpha (α):
    Cronbach's Alpha Interpretation Benchmarks:
    • Alpha ≥ 0.90: Excellent internal consistency.
    • 0.80 ≤ Alpha < 0.90: Good reliability (standard target for research publications).
    • 0.70 ≤ Alpha < 0.80: Acceptable exploratory reliability threshold.
    • 0.60 ≤ Alpha < 0.70: Questionable reliability.
    • Alpha < 0.60: Unacceptable; items must be revised or eliminated using SPSS "Cronbach's Alpha if Item Deleted" diagnostics.

2.2 Forms of Instrument Validity

  • Content / Face Validity: The qualitative judgment of whether the questionnaire items adequately cover all representative facets of the conceptual domain. Established by submitting the draft instrument to a panel of academic and industry subject-matter experts prior to empirical rollout.
  • Construct Validity: Confirms whether the operationalized questionnaire items genuinely reflect the theoretical latent construct. Subdivided into:
    • Convergent Validity: The degree to which two different measures of the same theoretical construct are highly correlated (demonstrated when factor loadings exceed 0.50 and Average Variance Extracted exceeds 0.50).
    • Discriminant Validity: The degree to which measures of distinct constructs are empirically unique and show low correlation with each other.
  • Criterion-Related Validity: The degree to which an instrument correlates with an established external outcome criterion. Includes Concurrent Validity (tested against an existing benchmark test simultaneously) and Predictive Validity (forecasting future actual performance, such as entrance test scores predicting final semester GPA).

3. Questionnaire Engineering & Wording Rules

Designing a structured survey questionnaire requires translating research objectives into clear, objective, and unambiguous inquiry items. Flawed phrasing introduces systematic non-sampling errors that invalidate subsequent data analysis.

3.1 Question Types and Response Formats

  • Structured / Closed-Ended Questions: Provide respondents with fixed, pre-coded answer alternatives:
    • Dichotomous Questions: Two mutually exclusive categories (e.g., Yes/No, Agree/Disagree).
    • Multiple Choice Questions: Single-choice (select one only) vs. Multiple-response (select all that apply). Multiple-response questions require multi-variable dummy coding in SPSS.
    • Rank Order Questions: Requiring respondents to order attributes from most preferred to least preferred.
  • Unstructured / Open-Ended Questions: Allow respondents to express opinions in their own words without restriction. Essential in exploratory research, but demands laborious post-coding and thematic content classification prior to statistical software analysis.

3.2 Best-Practice Principles for Question Wording

Questionnaire Flaw Flawed Example Methodological Correction
Double-Barreled Questions "Do you find our mobile trading application fast and user-friendly?" (Combines two distinct attributes into one item). Split into two discrete items: (1) "Rate the processing speed of the app" and (2) "Rate the ease of navigation of the app".
Leading / Biased Wording "Don't you agree that SEBI's strict derivative regulations are necessary to protect foolish retail traders?" Neutralize phrasing: "To what extent do you agree with recent regulatory revisions in the derivative segment?"
Ambiguous & Vague Terms "Do you trade in the stock market regularly?" ('Regularly' means daily to one person and monthly to another). Specify objective quantifiable frequency: "How many trading orders do you execute per week: 0, 1-5, 6-20, More than 20?"
Jargon & Acronym Overuse "Does your DP provide seamless DDPI integration for F&O OTM writing?" Use accessible language or spell out technical terms clearly for retail participants.

4. Preparing a Codebook for Data Analysis

A Codebook is a comprehensive technical document that translates raw survey questionnaires into a structured numerical layout ready for statistical processing. It bridges the gap between human language responses and computer-readable data matrices.

4.1 SPSS Variable Naming Conventions

When creating variables in IBM SPSS Statistics, variable names must adhere to strict software syntax protocols:

  • Character Constraints: Must begin with a letter (A-Z, a-z). Subsequent characters may include letters, numbers, period (.), and the underscore (_) symbol.
  • Prohibited Elements: Variable names cannot contain spaces, mathematical operators (+, -, *, /), or special characters (!, ?, @, #, currency marks).
  • Reserved Keywords: Cannot use SPSS system keywords (such as ALL, AND, BY, EQ, GE, GT, LE, LT, NE, NOT, OR, TO, WITH).
  • Case Insensitivity: SPSS variable names are not case-sensitive (e.g., 'Gender', 'gender', and 'GENDER' are treated as identical).

4.2 Comprehensive Research Codebook Architecture

Variable Name Variable Label Measurement Scale Value Labels / Coding Scheme Missing Values
Respondent_ID Unique Identification Number Nominal 1 to 500 (Sequential integers) None
Gender Biological Gender of Investor Nominal 1 = Male
2 = Female
3 = Non-Binary / Other
99 = No Response
Age_Years Exact Chronological Age in Years Scale (Ratio) Continuous numerical entry (e.g., 24, 45, 62) 999 = Unreported
Edu_Level Highest Academic Qualification Ordinal 1 = Higher Secondary
2 = Bachelor Degree
3 = Master Degree
4 = Doctorate
9 = Not Stated
Income_Annual Annual Household Income in Lakhs Scale (Ratio) Continuous numeric entry in INR Lakhs (e.g., 8.5, 14.0) -99 = Refused
Platform_Pref Primary Brokerage Application Nominal 1 = Zerodha
2 = Groww
3 = Angel One
4 = Traditional Bank Broker
99 = None
Trade_Freq Monthly Trading Frequency Category Ordinal 1 = Less than 5 trades
2 = 5 to 20 trades
3 = 21 to 50 trades
4 = More than 50 trades
9 = Missing
Fin_Lit_Score Objective Financial Literacy Test Score Scale (Interval) Sum of correct responses (0 to 10 points) -1 = Incomplete
Risk_Tol_1 "I actively seek volatile assets for high returns" Ordinal (Scale) 1 = Strongly Disagree
2 = Disagree
3 = Neutral
4 = Agree
5 = Strongly Agree
9 = Missing
Risk_Tol_2R "I panic when market prices fluctuate sharply" (Reverse coded) Ordinal (Scale) 1 = Strongly Agree (Inverted to 5)
2 = Agree (4)
3 = Neutral (3)
4 = Disagree (2)
5 = Strongly Disagree (1)
9 = Missing
Algo_Adopt "I utilize automated algorithmic trading systems" Nominal (Binary) 0 = No
1 = Yes
9 = Unsure

4.3 Coding Open-Ended Responses

When questionnaires include qualitative open-ended questions (e.g., "What primary obstacle prevents you from trading in options?"), researchers apply a rigorous post-coding process:

  • Step 1: Thematic Scanning: The researcher reviews a representative sample of 50 to 100 responses to identify recurrent conceptual patterns.
  • Step 2: Category Creation: Broad thematic categories are established (e.g., 1 = Fear of Financial Ruin, 2 = Lack of Technical Knowledge, 3 = High Capital / Margin Requirements, 4 = Regulatory Restrictions, 5 = Other).
  • Step 3: Numerical Assignment: Each narrative text response is reviewed and converted into its corresponding numerical code for data entry in SPSS.

5. IBM SPSS Statistics Environment & Operational Architecture

IBM SPSS Statistics provides a graphical, menu-driven desktop interface backed by an underlying command syntax language. Mastering its core windows, options configuration, and dialogue boxes is essential for research execution.

5.1 The Tripartite Window Architecture of SPSS

1. Data Editor Window (.sav)
The central spreadsheet environment where empirical data is inputted, viewed, and defined. Contains two toggle tabs: Data View (raw data grid) and Variable View (metadata properties grid).
2. Output Viewer Window (.spv)
The reporting workspace where analytical results, frequency tables, ANOVA outputs, and charts appear. Features an interactive left-hand navigation pane for managing and exporting results.
3. Syntax Editor Window (.sps)
The command scripting environment where text-based code is written and executed. Facilitates audit trails, automated batch processing, and exact replication of research procedures.

5.2 Data View vs. Variable View in Data Editor

  • Data View: Structured identically to an Excel worksheet, where:
    • Each Row represents a discrete Case / Respondent / Observation (e.g., Row 14 contains all data for Respondent #14).
    • Each Column represents a discrete Variable (e.g., Column 1 is ID, Column 2 is Gender, Column 3 is Age).
  • Variable View: The metadata control center where every row defines the technical parameters of one variable across 11 standardized attributes:
    1. Name: Unique identifier adhering to SPSS syntax rules (e.g., 'Inv_Exp').
    2. Type: Numeric (default), String (alphanumeric text), Date, Currency, or Custom.
    3. Width: Total number of characters or digits permitted.
    4. Decimals: Number of decimal places displayed on screen.
    5. Label: Extended descriptive title (up to 256 characters) that appears on published output charts.
    6. Values: Maps numerical codes to verbal descriptors (e.g., 1 = Male, 2 = Female).
    7. Missing: Designates user-defined missing value codes (e.g., 99).
    8. Columns: Visual column width displayed in Data View.
    9. Align: Text alignment in cells (Left, Right, Center).
    10. Measure: Measurement level: Nominal, Ordinal, or Scale.
    11. Role: Functional assignment: Input (Independent Variable), Target (Dependent Variable), Both, or None.

5.3 Customizing SPSS System Options

Navigating to Edit -> Options allows the researcher to calibrate global software behavior to optimize workflow efficiency:

  • Variable Lists Display (General Tab): By default, SPSS displays long descriptive variable labels in dialogue boxes. Experienced researchers often select "Display Names" and "Alphabetical" to quickly locate variables by their short syntax names in large datasets containing hundreds of survey questions.
  • Output Display (Output Tab): Configures whether output pivot tables display variable labels or variable names, and whether value codes (1, 2) or value labels (Male, Female) are presented.
  • Data Display (Data Tab): Sets the default number of decimal places (e.g., 2 decimals for financial ratios or currency values).

5.4 The Syntax Workflow and Dialogue Box "Paste" Button

In almost every statistical dialogue box in SPSS, beside the standard OK, Cancel, and Help buttons, there exists a vital command button: Paste.

  • The Power of the Paste Command: Clicking 'Paste' instead of 'OK' does not execute the analysis immediately. Instead, it translates the graphical selections made in the dialogue box into clean, standardized SPSS command syntax and pastes it into the Syntax Editor window (.sps).
  • Audit Trails & Reproducibility: In empirical commerce research, journal peer-reviewers often require exact computational replication. Saving syntax scripts provides an unalterable audit trail of data recoding, filtering, and statistical modeling.
  • Batch Execution: Highlight the syntax block and click the green 'Play' button (or press Ctrl + R) to re-run complex models across updated datasets in milliseconds.

Summary Synthesis

Domain Core Principles & Components Research Significance
Measurement Scales Nominal, Ordinal, Interval, Ratio (Stevens' Typology). Determines the mathematical validity of descriptive and inferential parametric tests.
Reliability Internal Consistency, Cronbach's Alpha (α ≥ 0.70 / 0.80), Test-Retest. Ensures survey scale items are statistically coherent and free from random error.
Validity Content, Construct (Convergent & Discriminant), Criterion. Guarantees that measurement items measure the true theoretical construct accurately.
Questionnaire Design Closed vs Open-ended, avoiding double-barreled/leading questions. Eliminates structural bias and respondent confusion at the data collection stage.
Codebook Preparation Variable naming rules, numeric coding, value labels, missing codes. Translates human responses into structured numerical datasets ready for SPSS entry.
SPSS Windows Data Editor (Data View & Variable View), Output Viewer, Syntax Editor. Provides an integrated visual and programmatic environment for executing quantitative research.
Acing your exams is just a click away!
Visit www.degreelive.in to download the next module for free.

Finished reading Module 1?

Save this module as a PDF for offline study or advance to the next module.

Next: Module 2