Skip to main content
Glama

bayesian_guide

Guide Bayesian analysis by selecting priors, running convergence diagnostics, and interpreting results for statistical modeling.

Instructions

베이지안 분석 가이드 (사전분포, 수렴진단, 해석)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
analysis_typeYes분석 유형
prior_typeNo사전분포
convergenceNo수렴진단 포함

Implementation Reference

  • The handler function that executes the bayesian_guide tool. It returns guidance on priors, convergence checks, and sample R code using brms.
    function handleBayesianGuide(args: Record<string, unknown>) { return { analysis_type: args.analysis_type, prior_type: args.prior_type, convergence_checks: ["Rhat < 1.01", "ESS > 400", "Trace plots", "Posterior predictive checks"], r_code: "library(brms)\nfit <- brm(y ~ x1 + x2, data = df, family = gaussian())" }; }
  • The tool registration in the exported tools array, including name, description, and input schema.
    name: "bayesian_guide", description: "베이지안 분석 가이드 (사전분포, 수렴진단, 해석)", inputSchema: { type: "object", properties: { analysis_type: { type: "string", description: "분석 유형" }, prior_type: { type: "string", enum: ["uninformative", "weakly_informative", "informative"], description: "사전분포" }, convergence: { type: "boolean", description: "수렴진단 포함" }, }, required: ["analysis_type"], }, },
  • The input schema defining parameters for the bayesian_guide tool: analysis_type (required), prior_type, convergence.
    inputSchema: { type: "object", properties: { analysis_type: { type: "string", description: "분석 유형" }, prior_type: { type: "string", enum: ["uninformative", "weakly_informative", "informative"], description: "사전분포" }, convergence: { type: "boolean", description: "수렴진단 포함" }, }, required: ["analysis_type"], },
  • The switch case in handleToolCall that routes calls to the bayesian_guide handler.
    return handleBayesianGuide(args); case "ml_for_causal":

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