meta_heterogeneity
Analyzes meta-analysis heterogeneity using Q, I², and τ² statistics to assess study variability and guide interpretation of pooled results.
Instructions
메타분석 이질성 해석 (Q, I², τ²)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q_stat | No | Q 통계량 | |
| i_squared | Yes | I² 값 | |
| tau_squared | No | τ² 값 | |
| k | Yes | 연구 수 |
Implementation Reference
- src/tools/index.ts:1787-1794 (handler)The handler function for the 'meta_heterogeneity' tool. It takes input arguments, extracts the I² value, and returns an interpretation of heterogeneity level (low, moderate, high) along with implications for fixed vs random effects models in meta-analysis.function handleMetaHeterogeneity(args: Record<string, unknown>) { const iSquared = args.i_squared as number; return { i_squared: iSquared, interpretation: iSquared < 25 ? "Low heterogeneity" : iSquared < 75 ? "Moderate heterogeneity" : "High heterogeneity", implications: iSquared > 50 ? "Random effects model 권장, 이질성 원인 탐색" : "Fixed effect 가능" }; }
- src/tools/index.ts:554-567 (schema)The tool registration object including name, description, and input schema definition for validating parameters like Q statistic, I², τ², and number of studies.{ name: "meta_heterogeneity", description: "메타분석 이질성 해석 (Q, I², τ²)", inputSchema: { type: "object", properties: { q_stat: { type: "number", description: "Q 통계량" }, i_squared: { type: "number", description: "I² 값" }, tau_squared: { type: "number", description: "τ² 값" }, k: { type: "number", description: "연구 수" }, }, required: ["i_squared", "k"], }, },
- src/tools/index.ts:864-866 (registration)The switch case in handleToolCall that routes calls to the meta_heterogeneity tool to its handler function.case "meta_heterogeneity": return handleMetaHeterogeneity(args); case "publication_bias":