Skip to main content
Glama

rdd_bandwidth

Select optimal bandwidth parameters for regression discontinuity designs using IK, CCT, or CV methods to ensure valid causal inference results.

Instructions

RDD 대역폭 선택 가이드

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
designYesRDD 유형
methodNo대역폭 선택 방법

Implementation Reference

  • The handler function implementing the 'rdd_bandwidth' tool. Returns guidance on RDD bandwidth selection methods (IK, CCT, CV) including descriptions and example code snippets for R and Stata.
    function handleRddBandwidth(args: Record<string, unknown>) { return { design: args.design, methods: { ik: "Imbens-Kalyanaraman (2012) - 기본 선택", cct: "Calonico-Cattaneo-Titiunik (2014) - bias correction", cv: "Cross-validation - 데이터 기반" }, stata: "rdrobust y x, c(0) kernel(triangular)", r: "rdrobust(Y, X, c = 0)" }; }
  • Registration of the 'rdd_bandwidth' tool in the exported tools array, including name, description, and input schema.
    { name: "rdd_bandwidth", description: "RDD 대역폭 선택 가이드", inputSchema: { type: "object", properties: { design: { type: "string", enum: ["sharp", "fuzzy"], description: "RDD 유형" }, method: { type: "string", enum: ["ik", "cct", "cv"], description: "대역폭 선택 방법" }, }, required: ["design"], }, },
  • Registration of the tool handler in the switch statement of handleToolCall function.
    case "rdd_bandwidth": return handleRddBandwidth(args);
  • Input schema definition for the 'rdd_bandwidth' tool, specifying parameters for RDD design type and bandwidth selection method.
    inputSchema: { type: "object", properties: { design: { type: "string", enum: ["sharp", "fuzzy"], description: "RDD 유형" }, method: { type: "string", enum: ["ik", "cct", "cv"], description: "대역폭 선택 방법" }, }, required: ["design"], },

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