Comments (2)
Important clarifications for the estimation procedure of sequential regression
- It will be easier to convert the dataframe from long to wide in the background for estimation.
- Some other important variables to generate; indicator if followed treatment, indicator if died under intervention plan
- Estimation works like the following;
a) at Q_t fit a regression model to those who survived till T=t.
b) Predict Y_t based on that model for the intervention of interest
c) For those who followed the treatment plan AND had the outcome they have a 1 carried forward
d) all else who did NOT have the outcome, are considered censored (np.nan
) - Above process is repeated. For those WITH predicted outcomes, their predicted outcome is used in the model fitting. Those who were observed at Q_{t-1} but censored at Q_t have their observed outcome used
Regarding LTMLE in #19
5) Influence curve confidence interval formulas can be found in the "Targeted Learning" textbook. Options will be risk, risk difference, risk ratio
6) Estimate IPW prior to converting from long-to-wide for easier estimation. Maybe not though since might want to make less parametric assumptions about time. Need to think about this in implementation
Plan is to get sequential regression estimator working for the g-formula. After it works, should be easy transition to LTMLE. For LTMLE, can estimate the exposure weights before the conversion from long-to-wide for ease.
Machine learner may be more complicated to implement than the standard TMLE. This would be due to the long-to-wide conversion. Have to think more deeply about this
from zepid.
Have a theoretically working estimator in Gformula_Sequential
. The code was generalized from some other code I wrote for sequential regression estimator. Still need to add custom treatment support. Also need to find some data to test/valid/compare.
from zepid.
Related Issues (20)
- IPTW handle PerfectSeparationErrors in the marginal structural model better
- AIPW for survival analysis ? HOT 1
- Dual treatments
- ValueError better pytest strategy
- Package compatibility? HOT 2
- Update documentation (and possibly re-organize) HOT 2
- MonteCarloGFormula
- Add Odds Ratio and other estimands for AIPTW and TMLE
- Addition of meta-analysis tools
- add p-value column in a forrest plot/ effectmeasureplot HOT 2
- Enhancement in graphics.py to change odds text size HOT 1
- Saving DAGs programatically HOT 11
- sklearn dependancy in setup.py should be scikit-learn HOT 1
- AIPW formula equivalent to what's in the literature? HOT 2
- Perfect separation error for using `SingleCrossfitTMLE` HOT 2
- Superlearn check weights HOT 2
- SingleCrossFit `invalid value encountered in log` HOT 8
- Unable to install latest 0.9.0 version through pip HOT 7
- Risk Ratio Summary HOT 1
- The default regression argument of zepid.base.interaction_contrast_ratio differs from the description in the documentation. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zepid.