Skip to content

Refactoring of regression estimates#465

Open
dariaple wants to merge 1 commit intosimpaths:developfrom
dariaple:refactored-regressions
Open

Refactoring of regression estimates#465
dariaple wants to merge 1 commit intosimpaths:developfrom
dariaple:refactored-regressions

Conversation

@dariaple
Copy link
Copy Markdown
Contributor

@dariaple dariaple commented May 7, 2026

Hi,

This version includes the following changes:

(1) Incorporated Stata programs (created by Ashley) and refactored names of regressors across all processes, except for mental health, well-being, and financial distress. I followed the new codebook naming conventions. However, for some dummies crated from categorical variables the resulting names exceeded Stata’s 32 character variable name limit, so I shortened them where necessary in a reasonably intuitive way.

(2) Moved all conditions into a new do-file called "00_master_conditions" (as in the EU version). This file is now called from the master do-file for regression estimates. It should also be integrated into the initial populations do-files at some point.

Daria

Names of regressors are synchronised with those used in Simpaths ; new master file with conditions is created
@dariaple
Copy link
Copy Markdown
Contributor Author

dariaple commented May 7, 2026

@dav-sonn @justin-ven Could you please review this?

@dav-sonn
Copy link
Copy Markdown
Collaborator

dav-sonn commented May 7, 2026

@dav-sonn @justin-ven Could you please review this?

The integration and run tests are failing because the regressor names need to be updated within the code as well. @justin-ven, please let me know how you would like to proceed. I can update the code and push the changes to this PR, then leave the final review to you.

@justin-ven
Copy link
Copy Markdown
Contributor

@dav-sonn @justin-ven Could you please review this?

The integration and run tests are failing because the regressor names need to be updated within the code as well. @justin-ven, please let me know how you would like to proceed. I can update the code and push the changes to this PR, then leave the final review to you.

Sounds sensible to me David

@dav-sonn
Copy link
Copy Markdown
Collaborator

dav-sonn commented May 7, 2026

@dav-sonn @justin-ven Could you please review this?

The integration and run tests are failing because the regressor names need to be updated within the code as well. @justin-ven, please let me know how you would like to proceed. I can update the code and push the changes to this PR, then leave the final review to you.

Sounds sensible to me David

Thanks for the confirmation, Justin! I should have this done by Monday. I will drop you a message when it is ready to be reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants