Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time dependent propensity models #44

Open
marycombs opened this issue Jun 26, 2019 · 3 comments
Open

Time dependent propensity models #44

marycombs opened this issue Jun 26, 2019 · 3 comments

Comments

@marycombs
Copy link

Different from stratified ps models: how do I specify different variable sets in g_form_TRT?

@osofr
Copy link
Collaborator

osofr commented Jun 26, 2019 via email

@marycombs
Copy link
Author

For example, if I want to model probability of treatment at time t on “entire treatment history” and baseline covariates, I.e. in an SCM, A(t) = f_{A(t)}(W, \overline{A}(t-1)).

In order to include treatment at previous time points I would create lagged variables and specify them in gform_TRT, however, even if I stratify on time, the only rows with no NAs in the lagged treatment variables will be the last row of an individual with the longest observation time.

Thank you!

@marycombs
Copy link
Author

Is there any followup regarding this? Is my question clear?

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

No branches or pull requests

2 participants