Skip to content

Command in Stata reporting missing betas and alphas #8

@wagfoliveira

Description

@wagfoliveira

Dear @paulgp,

Thank you very much for providing this wonderful resource. I have already implemented in a cross-section setting and everything worked pretty fine.

But I am having some trouble using the bartik_weight command in Stata with a panel dataset.

The structure of the data is very similar to the one of the BAR (canonical Bartik) example, I am only make the necessary adaptations in the replication code.

The issue is that the command is giving me missing betas and alphas. The code is not running into any error, but the resulting summary table does not have anything for the columns beta, alpha, gamma and pi.

Do you have any ideas on what might be causing this problem? Please let me know if you need more information/clarification.

Also, why the 'by(time_var)' option is not used in the BAR replication, since it is a panel? I also tried with it, but I get a conformability error.

Best,
Wagner Oliveira
PhD Candidate in Economics
FGV EPGE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions