regression-analysis

Plan and implement fixest regression analyses for panel data with fixed effects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/calebeynon/claude-code-setup --skill regression-analysis-calebeynon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: regression-analysis
Source: https://github.com/calebeynon/claude-code-setup/tree/main/skills/regression-analysis
Command: npx skills add https://github.com/calebeynon/claude-code-setup --skill regression-analysis-calebeynon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guidance for planning, implementing, and validating econometric regressions in R using fixest, with emphasis on panel data, fixed effects, and causal inference.

Core Features & Use Cases

  • Step-by-step specification confirmation before estimation
  • Variable validation and sampling checks to ensure clean inputs
  • Estimation using fixest (feols) for FE, IV, DD, and related models
  • Post-estimation diagnostics (residuals, VIF, heteroskedasticity, Cook's distance)
  • Output export to LaTeX or tables via etable for reporting

Quick Start

Provide an end-to-end regression workflow: confirm the specification with the user, validate inputs, estimate a model with fixest, run diagnostics, and export results.

Frequently Asked Questions about regression-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run panel data regression with fixed effects in R using fixest?

Panel data regression with fixed effects in R uses the fixest package and its feols function. This Skill guides you through confirming model specifications, validating variables, estimating fixed effects models, and running post-estimation diagnostics to ensure robust econometric results.

What diagnostics should I run after estimating an econometric model with fixest?

Post-estimation diagnostics for econometric models should include residual analysis, variance inflation factor checks, heteroskedasticity tests, and Cook's distance calculations. This workflow validates assumptions and identifies influential observations after estimating your regression with fixest.

How do I export regression results from R to LaTeX tables using etable?

Exporting regression results to LaTeX tables uses the etable function from the fixest package. This Skill produces export-ready output for reporting after completing data validation, model estimation, and post-estimation diagnostics on your panel dataset.

Can I use fixest for causal inference and instrumental variable estimation?

Yes, fixest supports instrumental variable estimation, difference-in-differences models, and related causal inference techniques for panel data. This Skill guides you through the workflow of specifying these models, selecting proper standard errors, and validating econometric assumptions.

What is the standard workflow for econometric regression analysis in R?

The standard econometric regression workflow involves data validation, model specification confirmation, estimation with fixest, post-estimation diagnostics, and LaTeX-ready output via etable. This Skill structures the process using modular functions and proper standard error selection across diverse panel datasets.

How do I validate variables and check sampling before running a fixed effects regression?

Variable validation and sampling checks ensure clean inputs before estimating fixed effects regressions. This Skill provides step-by-step specification confirmation and data validation routines to verify your panel dataset is properly structured for econometric modeling with fixest.