home / skills / zircote / sigint / trend-modeling

trend-modeling skill

/skills/trend-modeling

This skill helps you model market trends under uncertainty with three-valued logic, generating scenarios and transitional graphs for strategic planning.

npx playbooks add skill zircote/sigint --skill trend-modeling

Review the files below or copy the command above to add this skill to your agents.

Files (4)
SKILL.md
6.3 KB
---
name: Trend Modeling
description: This skill should be used when the user asks to "model trends with limited data", "three-valued logic analysis", "scenario generation", "transitional graphs", "qualitative trend analysis", "uncertain data analysis", "minimal-information modeling", or needs guidance on trend-based modeling using INC/DEC/CONST logic, scenario planning with limited quantitative data, or generating transitional scenario graphs.
version: 0.1.0
---

# Trend Modeling with Three-Valued Logic

## Overview

Based on research in trend-based optimization for product innovation, this skill applies three-valued logic (increasing/decreasing/constant) to analyze markets when precise numerical data is unavailable. This approach enables meaningful analysis with minimal information.

## Core Concept

Traditional market analysis requires extensive quantitative data. Three-valued logic provides an alternative when:
- Data is scarce or unreliable
- Relationships are qualitative
- Uncertainty is high
- Quick directional insights are needed

## The Three Values

### INC (Increasing)
- Variable is trending upward
- Rate of increase may be accelerating (AG) or decelerating (DG)
- Symbol: ↑ or (+)

### DEC (Decreasing)
- Variable is trending downward
- Rate of decrease may be accelerating (AD) or decelerating (DD)
- Symbol: ↓ or (-)

### CONST (Constant)
- Variable is stable or unchanged
- OR insufficient data to determine direction
- Symbol: → or (=)

## Extended Notation

For more nuanced analysis:

| Code | Meaning | Description |
|------|---------|-------------|
| AG | Accelerating Growth | INC with increasing rate |
| DG | Decelerating Growth | INC with decreasing rate |
| AD | Accelerating Decrease | DEC with increasing rate |
| DD | Decelerating Decrease | DEC with decreasing rate |

## Correlation-to-Trend Conversion

Transform correlation relationships into trend relationships:

**If variables X and Y have positive correlation:**
- When X is INC → Y is INC
- When X is DEC → Y is DEC
- Notation: INC(X, Y)

**If variables X and Y have negative correlation:**
- When X is INC → Y is DEC
- When X is DEC → Y is INC
- Notation: DEC(X, Y)

**Example:**
- Market size and competition have positive correlation
- If Market Size = INC, then Competition = INC
- If Market Size = DEC, then Competition = DEC

## Trend Model Construction

### Step 1: Identify Variables
List market variables of interest:
- Market size
- Competition intensity
- Price pressure
- Innovation rate
- Customer adoption
- Regulatory burden

### Step 2: Determine Relationships
For each pair of variables:
- Identify correlation direction (positive/negative)
- Convert to trend relationship (INC/DEC)

### Step 3: Build Trend Matrix

| Variable | Market Size | Competition | Price | Innovation |
|----------|-------------|-------------|-------|------------|
| Market Size | - | INC | DEC | INC |
| Competition | INC | - | DEC | CONST |
| Price | DEC | DEC | - | DEC |
| Innovation | INC | CONST | DEC | - |

### Step 4: Generate Scenarios
A scenario is a consistent assignment of INC/DEC/CONST to all variables that satisfies all relationships.

### Step 5: Identify Terminal Scenarios
Terminal scenarios are equilibrium states where:
- All relationships are satisfied
- System is stable
- No further transitions occur

## Transitional Scenario Graphs

Create Mermaid diagrams showing scenario evolution:

```mermaid
stateDiagram-v2
    [*] --> S1: Initial conditions

    S1: Scenario 1<br/>Market=INC, Comp=INC<br/>Price=DEC, Innov=INC

    S2: Scenario 2<br/>Market=CONST, Comp=INC<br/>Price=DEC, Innov=CONST

    S3: Scenario 3 (Terminal)<br/>Market=DEC, Comp=CONST<br/>Price=CONST, Innov=DEC

    S4: Scenario 4 (Terminal)<br/>Market=INC, Comp=INC<br/>Price=DEC, Innov=INC

    S1 --> S2: Market saturation
    S1 --> S4: Sustained growth
    S2 --> S3: Commoditization
    S2 --> S4: Innovation breakthrough
```

## Multi-Objective Trade-offs

From the research: "No scenario satisfies all objective functions simultaneously."

When analyzing terminal scenarios:
1. Identify competing objectives
2. Map which scenarios favor which objectives
3. Highlight trade-offs required
4. Recommend based on priority alignment

## Application to Market Analysis

### Use Case: New Market Entry

**Variables:**
- Market Growth (MG)
- Competitive Intensity (CI)
- Entry Barriers (EB)
- Customer Awareness (CA)

**Relationships:**
- INC(MG, CI) - Growing markets attract competitors
- INC(MG, CA) - Growth increases awareness
- DEC(EB, CI) - Lower barriers increase competition
- INC(CA, MG) - Awareness drives growth

**Scenarios Generated:**
1. Explosive growth: MG=AG, CI=AG, EB=DEC, CA=AG
2. Mature equilibrium: MG=DG, CI=CONST, EB=CONST, CA=CONST
3. Consolidation: MG=DEC, CI=DEC, EB=INC, CA=CONST

## Output Structure

```markdown
## Trend Model Summary

### Variables
| Variable | Current State | Trend | Confidence |
|----------|---------------|-------|------------|
| [Name] | [Description] | INC/DEC/CONST | High/Med/Low |

### Relationship Matrix
[Matrix showing INC/DEC relationships]

### Generated Scenarios
| Scenario | Var1 | Var2 | Var3 | Terminal? |
|----------|------|------|------|-----------|
| S1 | INC | DEC | CONST | No |
| S2 | CONST | CONST | DEC | Yes |

### Transitional Graph
[Mermaid state diagram]

### Terminal Scenario Analysis
**Scenario X**: [Description]
- Conditions: [What leads here]
- Trade-offs: [What must be sacrificed]
- Recommendation: [Strategic implication]

### Key Insights
1. [Insight about scenario transitions]
2. [Insight about trade-offs]
```

## Best Practices

- **Start simple**: Begin with 4-6 variables
- **Validate relationships**: Check with domain experts
- **Document uncertainty**: Note where relationships are speculative
- **Update iteratively**: Refine model as new information emerges
- **Focus on transitions**: The paths between scenarios often matter more than endpoints

## Advantages of This Approach

From the research:
- "No numerical values of constants or parameters are needed"
- "A complete list of all futures/histories is obtained"
- "Results remain easy to understand without knowledge of sophisticated mathematical tools"

## Additional Resources

For theoretical background and advanced techniques, see:
- `references/three-valued-logic.md` - Theoretical foundation
- `references/scenario-generation.md` - Algorithm details
- `examples/trend-model-example.md` - Worked example

Overview

This skill applies three-valued logic (INC/DEC/CONST) to model trends when numeric data is limited or unreliable. It produces consistent scenario sets, transitional graphs, and terminal-state analyses to inform strategic choices under uncertainty. The approach emphasizes directional relationships and trade-offs rather than precise forecasts.

How this skill works

You identify a small set of market variables, encode pairwise correlations as directional rules (positive → same trend, negative → opposite trend), and derive consistent assignments of INC/DEC/CONST that satisfy all rules. The skill enumerates scenarios, marks terminal equilibria, and generates transitional graphs showing plausible paths between states. Outputs prioritize clarity: relationship matrices, scenario tables, terminal analysis, and recommended trade-offs.

When to use it

  • Early-stage market research with sparse quantitative data
  • Quick directional insight for product strategy or market entry
  • Scenario planning when relationships are qualitative or contested
  • Exploring systemic transitions and identifying stable end-states
  • Prioritizing strategic trade-offs across competing objectives

Best practices

  • Start with 4–6 key variables to keep the model tractable
  • Explicitly document assumed positive/negative correlations and confidence
  • Validate relationship signs with at least one domain expert or source
  • Iterate: refine variables and correlations as new signals arrive
  • Focus analysis on transition pathways and terminal scenarios, not single-point forecasts

Example use cases

  • New market entry: map market growth, competition, entry barriers, and awareness to see likely equilibria
  • Product roadmap: assess how innovation rate, price pressure, and adoption dynamics interact under scarce data
  • Competitive intelligence: infer competitor intensity and market saturation from directional indicators
  • Regulatory shock planning: model how regulatory burden changes propagate through price and adoption
  • Portfolio trade-offs: identify which terminal scenarios favor speed-to-market versus margin preservation

FAQ

How many variables should I include?

Aim for 4–6 core variables. That keeps the model readable and reduces combinatorial explosion while capturing key dynamics.

What does CONST mean in practice?

CONST denotes stability or insufficient evidence to assert INC or DEC. Treat it as low-confidence directional information and flag it for validation.