Technology

basic demand and supply analysis

basic demand and supply analysis
basic demand and supply analysis | SiamCafe Blog
2026-03-17· อ. บอม — SiamCafe.net· 10,234 คำ

Demand & Supply Analysis

Demand Supply อุปสงค์อุปทาน Equilibrium ดุลยภาพ Surplus Shortage Elasticity Shift Pricing Stock Real Estate Labor Market

Conceptความหมายกราฟตัวอย่าง
Demandปริมาณที่ต้องการซื้อลาดลง (P↑ Q↓)ราคาไอโฟนลง คนซื้อเพิ่ม
Supplyปริมาณที่ต้องการขายลาดขึ้น (P↑ Q↑)ราคาข้าวสูง ชาวนาปลูกเพิ่ม
Equilibriumจุดที่ D=Sจุดตัด D กับ Sราคาตลาด ปริมาณตลาด
Surplusอุปทานส่วนเกินP > Equilibriumสินค้าเหลือ ลดราคา
Shortageอุปสงค์ส่วนเกินP < Equilibriumสินค้าขาด ราคาขึ้น

Demand & Supply Shifters

# === Demand & Supply Analysis ===

from dataclasses import dataclass

@dataclass
class DemandShifter:
    factor: str
    direction: str
    demand_effect: str
    example: str

demand_shifters = [
    DemandShifter("Income เพิ่ม",
        "Demand Shift Right (เพิ่ม)",
        "ราคาดุลยภาพสูงขึ้น ปริมาณเพิ่ม",
        "เศรษฐกิจดี คนมีเงิน ซื้อรถยนต์เพิ่ม"),
    DemandShifter("ราคา Substitute สูงขึ้น",
        "Demand Shift Right (เพิ่ม)",
        "ราคาดุลยภาพสูงขึ้น ปริมาณเพิ่ม",
        "ราคาเนื้อหมูสูง → Demand เนื้อไก่เพิ่ม"),
    DemandShifter("ราคา Complement สูงขึ้น",
        "Demand Shift Left (ลด)",
        "ราคาดุลยภาพต่ำลง ปริมาณลด",
        "ราคาน้ำมันสูง → Demand รถยนต์ลด"),
    DemandShifter("Population เพิ่ม",
        "Demand Shift Right (เพิ่ม)",
        "ราคาดุลยภาพสูงขึ้น ปริมาณเพิ่ม",
        "ประชากรเพิ่ม → Demand อาหารเพิ่ม"),
    DemandShifter("Tastes เปลี่ยน (ชอบมากขึ้น)",
        "Demand Shift Right (เพิ่ม)",
        "ราคาดุลยภาพสูงขึ้น ปริมาณเพิ่ม",
        "Trend สุขภาพ → Demand อาหารคลีนเพิ่ม"),
]

@dataclass
class SupplyShifter:
    factor: str
    direction: str
    supply_effect: str
    example: str

supply_shifters = [
    SupplyShifter("ต้นทุนวัตถุดิบสูงขึ้น",
        "Supply Shift Left (ลด)",
        "ราคาดุลยภาพสูงขึ้น ปริมาณลด",
        "ราคาน้ำมันสูง → ต้นทุนขนส่งเพิ่ม → ราคาสินค้าสูง"),
    SupplyShifter("เทคโนโลยีดีขึ้น",
        "Supply Shift Right (เพิ่ม)",
        "ราคาดุลยภาพต่ำลง ปริมาณเพิ่ม",
        "Automation → ผลิตได้มากขึ้น ต้นทุนลด"),
    SupplyShifter("ภาษีเพิ่ม",
        "Supply Shift Left (ลด)",
        "ราคาดุลยภาพสูงขึ้น ปริมาณลด",
        "ภาษีบุหรี่เพิ่ม → ราคาบุหรี่สูงขึ้น"),
    SupplyShifter("ผู้ผลิตเพิ่ม",
        "Supply Shift Right (เพิ่ม)",
        "ราคาดุลยภาพต่ำลง ปริมาณเพิ่ม",
        "จีนผลิตสมาร์ทโฟน → ราคาถูกลง"),
    SupplyShifter("ภัยธรรมชาติ",
        "Supply Shift Left (ลด)",
        "ราคาดุลยภาพสูงขึ้น ปริมาณลด",
        "น้ำท่วม → ข้าวเสียหาย → ราคาข้าวสูง"),
]

print("=== Demand Shifters ===")
for d in demand_shifters:
    print(f"  [{d.factor}] → {d.direction}")
    print(f"    Effect: {d.demand_effect}")
    print(f"    Ex: {d.example}")

print("\n=== Supply Shifters ===")
for s in supply_shifters:
    print(f"  [{s.factor}] → {s.direction}")
    print(f"    Effect: {s.supply_effect}")
    print(f"    Ex: {s.example}")

Elasticity

# === Price Elasticity ===

@dataclass
class ElasticityType:
    type_name: str
    formula: str
    value: str
    meaning: str
    examples: str

elasticities = [
    ElasticityType("Elastic (ยืดหยุ่นมาก)",
        "Ed = %ΔQ / %ΔP",
        "|Ed| > 1",
        "ราคาเปลี่ยนเล็กน้อย ปริมาณเปลี่ยนมาก",
        "สินค้าฟุ่มเฟือย ท่องเที่ยว iPhone"),
    ElasticityType("Inelastic (ยืดหยุ่นน้อย)",
        "Ed = %ΔQ / %ΔP",
        "|Ed| < 1",
        "ราคาเปลี่ยนมาก ปริมาณเปลี่ยนน้อย",
        "น้ำมัน ยา อาหาร ค่าไฟ"),
    ElasticityType("Unit Elastic",
        "Ed = %ΔQ / %ΔP",
        "|Ed| = 1",
        "ราคาเปลี่ยน ปริมาณเปลี่ยนสัดส่วนเท่ากัน",
        "กรณีทฤษฎี ไม่ค่อยเจอจริง"),
    ElasticityType("Perfectly Elastic",
        "Ed = %ΔQ / %ΔP",
        "|Ed| = ∞",
        "ราคาเปลี่ยนนิดเดียว ปริมาณเปลี่ยนไม่จำกัด",
        "สินค้า Commodity ที่เหมือนกัน Perfect Competition"),
    ElasticityType("Perfectly Inelastic",
        "Ed = %ΔQ / %ΔP",
        "|Ed| = 0",
        "ราคาเปลี่ยนเท่าไหร่ ปริมาณไม่เปลี่ยน",
        "ยาช่วยชีวิต อินซูลินสำหรับเบาหวาน"),
]

print("=== Price Elasticity ===")
for e in elasticities:
    print(f"  [{e.type_name}] {e.value}")
    print(f"    Formula: {e.formula}")
    print(f"    Meaning: {e.meaning}")
    print(f"    Examples: {e.examples}")

Real-World Applications

# === Real-World Applications ===

@dataclass
class Application:
    market: str
    demand_factor: str
    supply_factor: str
    equilibrium: str
    insight: str

applications = [
    Application("Stock Market",
        "ข่าวดี Earnings ดี → Demand (ซื้อ) เพิ่ม",
        "ข่าวร้าย Insider Sell → Supply (ขาย) เพิ่ม",
        "ราคาหุ้นขึ้นลงตาม D/S ทุกวินาที",
        "Volume สูง = D กับ S เปลี่ยนพร้อมกัน"),
    Application("Real Estate",
        "ดอกเบี้ยต่ำ → Demand บ้านเพิ่ม",
        "ที่ดินจำกัด → Supply เพิ่มยาก",
        "ราคาบ้านสูงขึ้นต่อเนื่อง (Supply Inelastic)",
        "Location Premium = Supply จำกัดมากเป็นพิเศษ"),
    Application("Labor Market (Tech)",
        "Digital Transformation → Demand Developer สูง",
        "Training ใช้เวลา → Supply เพิ่มช้า",
        "ค่าจ้าง Developer สูง (Shortage)",
        "Remote Work เพิ่ม Supply → ค่าจ้างเริ่มปรับ"),
    Application("Cryptocurrency",
        "Speculation FOMO → Demand ผันผวนมาก",
        "Bitcoin Supply Fixed 21M → Perfectly Inelastic",
        "ราคาผันผวนมาก (Demand Elastic + Supply Inelastic)",
        "Halving ลด Supply Rate → ราคาขึ้น (Historical)"),
    Application("Oil Market",
        "เศรษฐกิจโต → Demand น้ำมันเพิ่ม",
        "OPEC ลดกำลังผลิต → Supply ลด",
        "ราคาน้ำมันขึ้นลงตาม Geopolitics + OPEC",
        "Demand Inelastic ระยะสั้น Elastic ระยะยาว (EV)"),
]

print("=== Applications ===")
for a in applications:
    print(f"\n  [{a.market}]")
    print(f"    Demand: {a.demand_factor}")
    print(f"    Supply: {a.supply_factor}")
    print(f"    Equilibrium: {a.equilibrium}")
    print(f"    Insight: {a.insight}")

เคล็ดลับ

การนำความรู้ไปประยุกต์ใช้งานจริง

แหล่งเรียนรู้ที่แนะนำ ได้แก่ Official Documentation ที่อัพเดทล่าสุดเสมอ Online Course จาก Coursera Udemy edX ช่อง YouTube คุณภาพทั้งไทยและอังกฤษ และ Community อย่าง Discord Reddit Stack Overflow ที่ช่วยแลกเปลี่ยนประสบการณ์กับนักพัฒนาทั่วโลก

เปรียบเทียบข้อดีและข้อเสีย

ข้อดีข้อเสีย
ประสิทธิภาพสูง ทำงานได้เร็วและแม่นยำ ลดเวลาทำงานซ้ำซ้อนต้องใช้เวลาเรียนรู้เบื้องต้นพอสมควร มี Learning Curve สูง
มี Community ขนาดใหญ่ มีคนช่วยเหลือและแหล่งเรียนรู้มากมายบางฟีเจอร์อาจยังไม่เสถียร หรือมีการเปลี่ยนแปลงบ่อยในเวอร์ชันใหม่
รองรับ Integration กับเครื่องมือและบริการอื่นได้หลากหลายต้นทุนอาจสูงสำหรับ Enterprise License หรือ Cloud Service
เป็น Open Source หรือมีเวอร์ชันฟรีให้เริ่มต้นใช้งานต้องการ Hardware หรือ Infrastructure ที่เพียงพอ

จากตารางเปรียบเทียบจะเห็นว่าข้อดีมีมากกว่าข้อเสียอย่างชัดเจน โดยเฉพาะในแง่ของประสิทธิภาพและความสามารถในการ Scale สำหรับข้อเสียส่วนใหญ่สามารถแก้ไขได้ด้วยการเรียนรู้อย่างเป็นระบบและวางแผนทรัพยากรให้เหมาะสม

อุปสงค์อุปทานคืออะไร

Demand ปริมาณซื้อ ราคาสูง ซื้อน้อย Supply ปริมาณขาย ราคาสูง ขายมาก Equilibrium ดุลยภาพ D=S Surplus Shortage

ปัจจัยที่มีผลมีอะไร

Demand Income Tastes Substitutes Complements Population Expectations Supply Input Costs Technology Sellers Taxes Subsidies Weather

วิเคราะห์อย่างไร

ระบุตลาด วาด D S Curve ระบุ Shock กำหนด Shift Direction หา Equilibrium ใหม่ Elasticity Ceteris Paribus ทีละปัจจัย

ประยุกต์ใช้อย่างไร

Pricing Strategy Stock Market Real Estate Labor Market Crypto Oil OPEC Elastic Inelastic Short-term Long-term Revenue Optimization

สรุป

Demand Supply Analysis อุปสงค์อุปทาน Equilibrium Elasticity Shift Pricing Stock Real Estate Labor Crypto Oil Production

📖 บทความที่เกี่ยวข้อง

how to trade supply and demand in forexอ่านบทความ → supply and demand levels in forexอ่านบทความ → determinants of demand and supply pdfอ่านบทความ → supply and demand forexอ่านบทความ → law of supply and demandอ่านบทความ →

📚 ดูบทความทั้งหมด →