Skip to main content
Glama
seanshin0214

Dr. QuantMaster MCP Server

by seanshin0214

event_study_guide

Design event study methodologies for causal inference analysis by selecting event types, staggered treatments, and appropriate estimators.

Instructions

사건연구(Event Study) 설계 가이드

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_typeYes사건 유형
staggeredNo시차적 처치 여부
estimatorNo추정량

Implementation Reference

  • The handler function that executes the tool logic for 'event_study_guide'. It takes input arguments and returns guidance on event study estimators (TWFE, CS, SA, DID_M) and recommendations based on whether treatment is staggered.
    function handleEventStudyGuide(args: Record<string, unknown>) {
      return {
        event_type: args.event_type,
        staggered: args.staggered,
        estimators: {
          twfe: "Two-way FE (동질적 처치효과 시)",
          cs: "Callaway-Sant'Anna (이질적 처치효과)",
          sa: "Sun-Abraham (이질적 처치효과)",
          did_m: "de Chaisemartin-D'Haultfoeuille"
        },
        recommendation: args.staggered ? "CS 또는 SA 추정량 권장" : "TWFE 사용 가능"
      };
    }
  • The tool registration entry in the tools array, defining the name, description, and input schema (event_type required, staggered boolean, estimator enum). The handler is dispatched via the switch statement at line 828.
      name: "event_study_guide",
      description: "사건연구(Event Study) 설계 가이드",
      inputSchema: {
        type: "object",
        properties: {
          event_type: { type: "string", description: "사건 유형" },
          staggered: { type: "boolean", description: "시차적 처치 여부" },
          estimator: { type: "string", enum: ["twfe", "cs", "sa", "did_m"], description: "추정량" },
        },
        required: ["event_type"],
      },
    },
  • Input schema definition for the event_study_guide tool, specifying properties and required fields for validation.
    inputSchema: {
      type: "object",
      properties: {
        event_type: { type: "string", description: "사건 유형" },
        staggered: { type: "boolean", description: "시차적 처치 여부" },
        estimator: { type: "string", enum: ["twfe", "cs", "sa", "did_m"], description: "추정량" },
      },
      required: ["event_type"],
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/seanshin0214/quantmaster-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server