Overhaul coefficient aggregation

Open
#669 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Quiet
Tech stack
r
Domain
data

Research direction

Start with the aggregate function documented at https://lrberge.github.io/fixest/reference/aggregate.fixest.html, then read related issues #633, #626, and #606. The issue describes an overhaul covering argument complexity, interactions, sunab variables, and downstream VCOV use; done means these aggregation problems are resolved.

Written by the indexing model from the issue text.

Description

sunab WIP

Currently there are problems with the aggregation of coefficients (function aggregate):

  • the arguments are too complex
  • the aggregation is not robust when the estimation contains interactions (or said differently, the regular expression to be passed as argument to make that work is way too complex)
  • variables created with sunab cannot be interacted
  • downstream functions cannot use the aggregated VCOV

There is work under way to solve these problems.
Related: #633, #626, #606.

Dominant language
R
Stars
464
Forks
82
Avg merge
2d 7h
Merged PRs (30d)
12

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lrberge/fixest

All issues in lrberge/fixest

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.