CSC469 Decision Support System and Expert System

Decision Support System and Expert SystemUnit 115 min read

DSS Basics: Definitions, Types, and Decision-Making Roles

Unit 1 of Decision Support System and Expert System introduces DSS as a bridge between data, models, and human judgment, covering its definition, evolution, key components, and how it transforms raw data into actionable insights for structured/unstructured decisions.

TAKEAWAYS:

  • DSS is a computer-based system that combines data, models, and user interaction to support semi-structured and unstructured decision-making.
  • Three core pillars of DSS are data-driven (facts), model-driven (logic), and knowledge-driven (expertise), often integrated in hybrid systems.
  • Decision types range from fully structured (e.g., inventory reordering) to unstructured (e.g., strategic mergers), with DSS excelling in the middle ground.
  • Real-world impact: DSS powers everything from eSewa’s fraud detection (model-driven) to NTC’s network optimization (data-driven) and bank loan approvals (knowledge-driven).
  • Key players in DSS include end-users (decision-makers), analysts (designers), and experts (knowledge providers), each with distinct roles.
  • Errors in DSS development often stem from poor data quality, misaligned models, or ignoring user needs—not just technical flaws.

1. What is a Decision Support System (DSS)?

A Decision Support System (DSS) is an interactive, flexible, and adaptable computer-based system designed to help decision-makers solve semi-structured and unstructured problems. Unlike traditional transaction processing systems (e.g., accounting software), DSS focuses on supporting (not replacing) human judgment by providing insights, not just answers.

Key Characteristics of DSS

mindmap
  root((DSS Characteristics))
    Interactive["User-friendly interfaces (e.g., dashboards, queries)"]
    Flexible["Adapts to changing requirements"]
    Adaptable["Modifiable models/data without full redesign"]
    Focused["Supports semi-structured/unstructured decisions"]
    Model-Based["Uses mathematical/logical models (e.g., optimization, simulation)"]
    Data-Driven["Relies on internal/external databases"]

Why DSS?

  • Structured decisions (e.g., payroll) are handled by procedural systems (no DSS needed).
  • Unstructured decisions (e.g., "Should we expand to Pokhara?") rely on human intuition (DSS provides data to inform intuition).
  • Semi-structured decisions (e.g., "How to allocate marketing budget?") are where DSS shines by combining data, models, and user input.

2. Evolution of DSS

DSS emerged from three key influences:

  1. Management Science (1950s): Quantitative models (e.g., linear programming) for structured problems.
  2. Database Technology (1960s): Storing and retrieving data efficiently.
  3. Computer Graphics (1970s): Visualizing data (e.g., charts, maps).

Milestones:

  • 1971: First DSS defined by Gordon Davis (University of Minnesota).
  • 1980s: Spreadsheet tools (e.g., Lotus 1-2-3) became early DSS.
  • 1990s–Present: Web-based DSS (e.g., eSewa’s fraud analytics, NTC’s network planning tools).

3. Types of DSS

DSS are classified based on their primary component (data, model, or knowledge). Many systems are hybrid, combining multiple types.

Comparison Table: DSS Types

Type Primary Component Example Use Case
Data-Driven Databases, OLAP NTC’s customer complaint dashboard Analyzing call logs to predict outages.
Model-Driven Mathematical/logical models Khalti’s fraud detection model Flagging suspicious transactions using ML.
Knowledge-Driven Rules/expertise Bank loan approval system Evaluating loan applications with IF-THEN rules.
Document-Driven Unstructured text Nepal Police’s case file analyzer Searching legal documents for precedents.
Communication-Driven Group collaboration GDSS in corporate strategy meetings Anonymous voting on investment options.

4. DSS vs. Other Systems

Feature DSS Transaction Processing System (TPS) Expert System (ES)
Purpose Supports decision-making Processes routine transactions Emulates expert reasoning
User Interaction High (interactive) Low (batch processing) Moderate (query-based)
Flexibility High (adaptable models) Low (rigid procedures) Medium (rule-based)
Example NEPSE stock analysis tool Bank ATM transaction system Medical diagnosis system

5. How DSS Works: A Real-World Trace

Example: Daraz’s Inventory Optimization (Model-Driven DSS)

Problem: Daraz needs to decide how many units of a product (e.g., Nepali woolen blankets) to stock before winter, balancing cost and demand uncertainty.

DSS Components in Action:

  1. Data Layer:

    • Historical sales data (past 3 winters).
    • Supplier lead times (2 weeks).
    • Storage costs ($5/unit/month).
    • Customer demand forecasts (from marketing).
    # Sample data (simplified)
    demand_distribution = {
        "low": 0.3,  # 30% chance of low demand
        "medium": 0.5,
        "high": 0.2
    }
    cost_per_unit = 100
    selling_price = 200
    
  2. Model Layer:

    • Stochastic inventory model (accounts for demand uncertainty).
    • Objective: Minimize total cost (holding + stockout costs).

    Model Equation:

  3. User Interaction:

    • Daraz’s analyst inputs:
      • Desired service level (e.g., 95% stock availability).
      • Supplier constraints (max 500 units per order).
    • DSS outputs:
      • Optimal order quantity: 420 units (minimizes total cost).
      • Sensitivity analysis: "If demand increases by 10%, order 450 units."

Visual: Decision Tree for Daraz’s Order Quantity

graph TD
    A["Start"] --> B["Demand: Low (30%)"]
    A --> C["Demand: Medium (50%)"]
    A --> D["Demand: High (20%)"]
    B --> E["Order 350 units<br/>Cost: 12,000"]
    C --> F["Order 420 units<br/>Cost: 11,500"]
    D --> G["Order 480 units<br/>Cost: 13,000"]
    F --> H["Optimal Choice (Lowest Cost)"]

Outcome: Daraz orders 420 units, reducing costs by 12% vs. a fixed order policy.


6. DSS Framework: The 3 Core Components

A DSS typically consists of three interconnected parts:

flowchart LR
    A["User Interface"] --> B["Data Management"]
    A --> C["Model Management"]
    A --> D["Knowledge Management"]
    B --> E[(Databases: Internal/External)]
    C --> F[(Models: Optimization, Simulation, etc.)]
    D --> G[(Rules: IF-THEN, Fuzzy Logic)]
    E & F & G --> H["DSS Engine"]
    H --> A

A. Data Management

  • Sources:
    • Internal: ERP systems (e.g., Daraz’s sales data).
    • External: Government databases (e.g., NTC’s traffic reports).
  • Tools: SQL, OLAP cubes, data warehouses.

B. Model Management

  • Types of Models:
    • Optimization: Maximize profit (e.g., Ncell’s network tower placement).
    • Simulation: Test "what-if" scenarios (e.g., Pathao’s driver surge pricing).
    • Forecasting: Predict trends (e.g., NEPSE’s stock price models).

C. Knowledge Management

  • Explicit Knowledge: Rules (e.g., "If credit score < 600, reject loan").
  • Tacit Knowledge: Expert judgment (e.g., a bank manager’s experience).

7. DSS in Nepal: Real-World Applications

Example 1: eSewa’s Fraud Detection (Model-Driven DSS)

  • Problem: eSewa processes millions of transactions daily; fraudsters exploit weak links.
  • DSS Role:
    • Anomaly Detection Model: Flags transactions where:
      • Amount > 5× user’s average spend.
      • Location jumps from Kathmandu to Pokhara in 5 minutes.
    • Rule Engine: Blocks transactions if:
      IF (amount > threshold) AND (location_change > 50km) AND (time_diff < 10min)
      THEN flag_for_review = True
      
  • Impact: Reduced fraud losses by 22% in 2023.

Example 2: NTC’s Network Optimization (Data-Driven DSS)

  • Problem: NTC needs to predict peak traffic hours to allocate bandwidth efficiently.
  • DSS Components:
    • Data: Call detail records (CDRs), weather data, historical traffic patterns.
    • Model: Time-series forecasting (ARIMA) to predict call volumes.
    • Output: "Expect 30% more calls between 7–9 PM; pre-allocate 15% extra bandwidth."
  • Visual: NTC’s Traffic Prediction Dashboard

Example 3: Bank Loan Approval (Knowledge-Driven DSS)

  • Problem: Nepal Investment Bank must approve/reject loan applications fairly.
  • DSS Workflow:
    1. Input: Applicant data (income, credit score, collateral).
    2. Rules Engine:
      flowchart TD
          A["Start"] --> B["Check Credit Score"]
          B -->|"≥600"| C["Approve"]
          B -->|"<600"| D["Check Collateral"]
          D -->|"Adequate"| E["Approve with Guarantor"]
          D -->|"Inadequate"| F["Reject"]
    3. Output: "Loan approved at 8% interest with 2 guarantors."

8. Who Uses DSS? Roles in the System

Role Responsibility Example in Nepal
End-User Makes decisions (e.g., CEO, manager). Daraz’s supply chain manager
Analyst/Designer Builds/updates DSS models. NTC’s data scientist
Expert Provides domain knowledge (e.g., finance). Bank’s loan officer
Technical Staff Maintains hardware/software. eSewa’s IT team

9. Common Sources of Errors in DSS Development

Even well-designed DSS can fail. Common pitfalls:

  1. Poor Data Quality:

    • Example: Using incomplete sales data leads to wrong inventory orders (costs Daraz $50K/month).
    • Fix: Validate data sources (e.g., cross-check with supplier records).
  2. Misaligned Models:

    • Example: A linear regression model for stock prices fails during NEPSE crashes (non-linear behavior).
    • Fix: Use ensemble models (combine multiple approaches).
  3. Ignoring User Needs:

    • Example: A complex DSS dashboard confuses Ncell’s field technicians.
    • Fix: Conduct user testing with non-technical staff.
  4. Over-Reliance on Automation:

    • Example: Khalti’s fraud system blocks legitimate transactions if rules are too strict.
    • Fix: Include human override options.

10. DSS vs. Expert Systems (ES): Key Differences

Feature DSS Expert System (ES)
Primary Goal Supports decision-making Replaces expert judgment
User Role Active (interacts with system) Passive (answers queries)
Flexibility High (adaptable) Low (rule-based)
Example NTC’s network planning tool Medical diagnosis system
Development Focus Data + models + user input Knowledge acquisition + inference

11. Exam Tip: How to Score Full Marks

Do’s:

  • Define DSS clearly in your own words (e.g., "A DSS is a computer-based system that combines data, models, and user interaction to support semi-structured decisions").
  • Use real examples from Nepal (e.g., eSewa, NTC, banks) to illustrate concepts.
  • Draw diagrams for:
    • DSS framework (3 components).
    • Decision trees (e.g., loan approval).
    • Comparison tables (DSS vs. TPS vs. ES).
  • Link theory to practice: For every concept (e.g., "model-driven DSS"), give a Nepali company example.

Don’ts:

  • Don’t confuse DSS with TPS or ES: Always clarify the differences.
  • Avoid vague statements: Instead of "DSS helps in decision-making", say "A model-driven DSS like Khalti’s fraud system reduces false positives by 30% by analyzing transaction patterns."
  • Don’t ignore user roles: Exams often ask about end-users vs. analysts; include this in your answer.

Sample Exam Answer Structure

Question: Discuss the architecture of a web-based DSS with an example. Answer:

  1. Introduction: Define web-based DSS (e.g., "A DSS accessible via browsers, combining cloud data and client-side models").
  2. Architecture Diagram:
    flowchart LR
        A["User Browser"] --> B["Web Server"]
        B --> C["Application Logic"]
        C --> D["Database"]
        C --> E["Model Server"]
        E --> F[(Optimization/ML Models)]
  3. Example: NEPSE’s Stock Analysis Tool
    • Frontend: Interactive charts (user inputs stock codes).
    • Backend: Fetches data from NEPSE’s API and runs a moving average model.
  4. Advantages: Accessible, scalable, real-time updates.
  5. Challenges: Security (e.g., NEPSE hack risks), latency.

12. Worked Example: Structured vs. Unstructured Decisions

Scenario: Ncell’s Network Expansion

Decision Type Example DSS Role Nepal-Specific Tool
Structured "Should we upgrade a tower’s capacity?" Uses fixed rules (e.g., "If call drop >5%, upgrade"). NTC’s automated tower monitoring
Semi-Structured "Where to place a new 5G tower in Kathmandu?" Combines demand data + traffic models. Ncell’s GIS-based DSS
Unstructured "Should Ncell merge with NTC?" Provides market trend data for strategy. McKinsey-style scenario analysis

Visual: Decision Spectrum

graph LR
    A["Structured<br/>(e.g., payroll)"] --> B["Semi-Structured<br/>(e.g., marketing budget)"]
    B --> C["Unstructured<br/>(e.g., M&A)"]
    A --> D["DSS<br/>Not Needed"]
    B --> E["DSS<br/>Best Fit"]
    C --> F["DSS<br/>Limited Use<br/>(Supports intuition)"]

13. Common Exam Questions & How to Answer

Question Key Points to Include
Differentiate between DSS data and operating data. DSS Data: Historical, external (e.g., competitor prices). Operating Data: Real-time (e.g., NTC’s live call logs).
How does DSS help in decision-making? Provides insights, not answers; supports semi-structured decisions via models + data. Example: Bank loan DSS reduces approval time by 40%.
Discuss the factors of DSS UI design. Usability, visualization (charts > raw data), interactivity (sliders, filters). Example: eSewa’s dashboard uses color-coded alerts.

14. Quick Revision Checklist

Before the exam, ensure you can: ✅ Define DSS and its three components (data, model, knowledge). ✅ Differentiate structured, semi-structured, and unstructured decisions. ✅ Name two Nepali companies using DSS and their specific application (e.g., NTC’s traffic prediction). ✅ Draw the DSS framework diagram and explain each part. ✅ List three sources of errors in DSS development. ✅ Compare DSS vs. Expert Systems in a table.

Based on the TU BSc CSIT syllabus for Decision Support System and Expert System (CSC469), unit 1.

Discussion

Loading…