Skip to main content
Glama

R Econometrics MCP Server

MIT License
187
  • Linux
  • Apple
test_economist_scenario.R607 B
# End-to-end test: Economist workflow # Panel data regression with robust standard errors library(plm) library(lmtest) library(sandwich) # Convert to panel data frame pdata <- pdata.frame(data, index = c("id", "time")) # Fit fixed effects model model <- plm(y ~ x, data = pdata, model = "within") # Robust standard errors robust_se <- sqrt(diag(vcovHC(model, type = "HC1"))) # Results result <- list( coefficients = coef(model), standard_errors = robust_se, t_statistics = coef(model) / robust_se, model_type = "fixed_effects", n_obs = nobs(model), n_groups = pdim(model)$nT$n )

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/finite-sample/rmcp'

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