Presentation is loading. Please wait.

Presentation is loading. Please wait.

PH240A Epidemiology and the Curse of Dimensionality Alan Hubbard Division of Biostatistics U.C. Berkeley

Similar presentations


Presentation on theme: "PH240A Epidemiology and the Curse of Dimensionality Alan Hubbard Division of Biostatistics U.C. Berkeley"— Presentation transcript:

1 PH240A Epidemiology and the Curse of Dimensionality Alan Hubbard Division of Biostatistics U.C. Berkeley hubbard@stat.berkeley.edu

2

3

4

5

6

7

8 What’s Wrong? n Not related to analysis of data - misclassification, biased sample, unmeasured confounders,.... n Related to analysis of data – improper modeling strategies, failure to account for design in analysis, poorly defined parameter of interest, improper inference reported given the strategy used.

9 What’s Proper Inference? n For an estimate, the standard error is an estimate of the variability of this estimate in repeated experiments performed just as the one used to derived the estimate. n So, every little decision one makes about how to analyze the data, that comes from looking at the data, should be included in such a variability estimate. n If feedback between data and analysis decisions is ignored (as it typically is), then inference can be biased.

10 A nice, mindless way to always get proper inference n Define an algorithm that one will use to get the final estimate (how variables are chosen, how they are entered in a model, etc., etc.). n Apply this algorithm to data to get estimate. n Re-sample the data with replacement to create new pseudo-experiment. n Apply this algorithm to this “new” data to get another estimate. n Repeat 10,000 times - graph histogram of estimates - BOOTSTRAPPING.

11 Causal Inference and Curse of Dimensionality Causal Model and Data Text from Taubes NYTimes Article

12

13 Causal Inference and Curse of Dimensionality Causal Model and Data VWVW A Y treatment (risk factor) outcome Full Data X  ((Y a : a),W) Observed Data O  (W,A,Y A )

14 The Curse of Dimensionality and Epidemiology  Can’t beat curse of dimensionality (unless one is lucky).  Consider simplistic following scenario  W are the covariates (confounders) and all are categorical with the same number of level, e.g., 2 or 3 or 4...  In order to get nonparametric causal inference, one must have a perfectly matched unexposed person (A=0) for every exposed person (A=1).  Given the number of confounders, how many subjects does one have to sample for every exposed person?

15 Number of unexposed per exposed subject one needs to sample to get perfect matching.

16 Doing the best one can with the Curse Concepts and Models in Causal Inference

17 Prediction vs. Explanation n Prediction – create a model that the clinician will use to help predict risk of a disease for the patient. n Explanation – trying to investigate the causal association of a treatment or risk factor and a disease outcome. n This talk concerns studies where the goal is explanation.

18 Theoretical Experiment n Start with some hypothesis. n From a statistical/scientific perspective the first step is to define a theoretical experiment that would address the hypothesis of interest. n For most questions in social-epi, running such an experiment will be unthinkable. n However, defining the experiment of interest: 1.Makes explicit the specific hypothesis 2.Defines the Full Data 3.Defines the specific parameter of interest 4.Leads ultimately to estimators from the Observed data and the necessary identifiability assumptions

19 The problem with observational studies: lack of randomization n If one has a treatment, or risk factor, with two levels (A and B), no guarantee that study populations (those getting A and B) will be roughly equivalent (in risk of the disease of interest). n In a perfect world can given everyone in study level A, record outcome, reset clock and then give level B. n Randomization means one can interpret estimates as if this is precisely what was done.

20 Counterfactuals n Even defining statistically what a “causal” effect is, is not trivial. n One way that leads to practical methods to estimate causal effects is to define COUNTERFACTUALS n Assume that the “full” data would be, for every subject, one could observe the outcome of interest for each possible level of the treatment (or risk factor) of interest.

21 Counterfactuals, CONT. n So, if Y is the outcome, A is the tx of interest, then the best statistical situation is one where one observes, for each subject, Y a, for each treatment level A=a. n For example if there is simply two levels of exposure (eg, cigarettes A=1 mean yes and =0 is no), then each subject has in theory two counterfactuals, Y 0 and Y 1. n These are called counterfactuals because, they are the outcomes on might observe if, counter to fact, one could set the clock back and re-start the whole experiment with a new a. n To estimate specific causal effects, we then define parameters that relate, for instance, how the means of these counterfactuals differ as one changes a.

22 Causal Parameters in Point Tx studies n Point treatment studies are those where the effect of interest refers to a treatment, risk factor,... at one point in time. n Time-dependent treatment studies are those where the effect of interest is a time-course of treatment or exposure (more in a bit). n Types of effects (or parameters) one might want to estimate are: total effects, direct and indirect effects, dynamic treatment regimes....

23 General Causal Graph For a Point Treatment Study V WV W A Y treatment (or expsoure) outcome confounders Z Intermediate Variable

24 Total Effects in Point Tx Studies n Parameters of the distribution of the counterfactuals: Y a n Examples for binary A (0 or 1): E[Y 1 ]-E[Y 0 ] E[Y 1 ]/E[Y 0 ] n Examples for binary A and Y (Causal OR) E[Y 1 ](1-E[Y 0 ])/{E[Y 0 ](1-E[Y 1 ]}= P[Y 1 =1](1-P[Y 0 =1])/{ P[Y 0 =1](1-P[Y 1 =1]}

25 Total Effects in Point Tx Studies, cont. Regression models (marginal structural models – MSM’s) relating mean of Y a vs a: E[Y a ]=m(a|  ) (continuous or ordered categorical a), e.g., or n Stratified MSM’s

26 Dynamic Treatment Regimes n is the abstract set of possible dynamic treatment regimes. n is slightly less abstract (that is, your rule will controlled by some constant (or perhaps a vector if W is a vector), . n Finally, the specific rule could be:

27 A Dynamic Treatment Regime Parameter of Interest n Parameter of interest for this might be: E[Y d  ]=P(Y d  = 1) which represents the expected outcome in a population where all subjects are subject to treatment rule, d . n Example is to put patient on cholesterol lowering drugs (the A = yes or no) if cholesterol (the W) is > 200 ( . =200) and the outcome is heart disease (the Y).

28 Direct Effects n Need to define counterfactuals for both endogenous variables, Z and Y. n Y a = the counterfactual outcome if receives A=a. n Y az = the counterfactual if receives A=a, Z=z. n Z a = counterfactual Z if receives A=a. n Note, Y a =Y aZa n Finally, Y aZa*, a*  a is the counterfactual if receives A=a but if the Z, counter to fact, the subject had received a different a (a*). AZY W

29 Direct Effects n First, let A =0 be a reference group n Total Effect: E[Y 1 ]-E[Y 0 ] n Pure Direct Effect: is the difference between the exposed (A=a) and unexposed (A=0) if the intermediate variables is “set” to its value when A=0:

30 Time-Dependent Treatments n Measurements made at regular times, 0,1,2,...,K. n A(j) is the treatment (or exposure) dose on the jth day. n Y is outcome measured at the end (only once) at day K+1. n is the history of treatment as measured at time j. n is the history of the potential confounders measured at time j.

31 Time-dependent counterfactuals of Interest n Must know define counterfactuals with regard to a whole vector of possible treatments. n If A is binary (e.g., yes/no) there are 2K possible counterfactuals, e.g.,

32 Example of MSM for time- dependent Tx n Choose a reasonable model that relates counterfactual mean to treatment history. n Example: n where

33 Estimators of MSM’s in Point Treatment Studies n A denotes a “treatment” or exposure of interest – assume categorical. n W is a vector (set) of confounders n Y is an outcome n Define observed data is O= (Y,W,A) n Y a are the counterfactual outcomes of interest n The “full data” is:

34 Key Assumptions 1.Consistency Assumption: observed data, O is O=(A,X A ) – i.e., the data for a subject is simply one of the counterfactual outcomes from the full data. 2.Randomization Assumption: so no unmeasured confounders for treatment. In other words: within strata of W, A is randomized

35 Key Assumptions, cont. 1.Experimental Treatment Assignment: all treatments are possible for all members of the target population, or: for all W.

36 Likelihood of Data in simple Point Treatment Given the assumptions, the likelihood of the data simplifies to: Factorizes into the distribution of interest and the treatment assignment distribution. The G-computation formula works specifically with parameters of P(Y|A,W) estimated with maximum likelihood and ignores the treatment assignment distribution.

37 G-computation Approach Given assumptions, note that P(Y|A=a,W) = P(Y a |W) or E(Y|A=a,W) = E(Y a |W). Then,. Which leads to our G-comp. estimate of the counterfactual mean in this simple context. Regress vs. a to get an estimate of MSM.

38 Inverse Probability of Treatment Weighted (IPTW) estimator The G-comp. approach models is three-steps 1.Model E[Y|A,W] 2.Estimate E[Y a ] 3.Regress vs. a to get an estimate of MSM (e.g., ) The IPTW uses a different approach that instead models treatment assignment to adjust for confounding and uses these as weights in regression. Define g(a|W) to be the P(A=a|W).

39 IPTW Estimating Function n General Estimating Function is (for stratified by V MSM’s): n For unstratified MSM’s n Example (linear model)

40 Likelihood (or Bayesian) Approach n Likelihood approach specifies the joint distribution of data and can be thought of as a model of the “whole” process (or at least the relevant parts of it). n Likelihood-based inference relies on getting the model right. n So, both estimates and standard errors are derived under the unlikely circumstance that you chose the correct model.

41 What if Model is not “Truth” by reasonable projection

42 Estimating Function Approach n Estimating function concentrates on the part of the distribution of the data relevant to the parameter of interest n Separates out estimation of the “nuisance- stuff” from what you care about. n And, if derived properly, the inference can be derived for a parameter which is not the true relationship, but some projection of this truth onto a (hopefully) informative sub-model.

43 Points of Talk n Curse of dimensionality poses insurmountable challenge of causal inference from observational data without some assumptions. n To attack curse, first ask - what is my question and what parameter of interest does it imply? n Use estimator that separates out the parameter of interest from the stuff you do not care about (nuisance paramters).

44 Points of Talk, Cont. n Use a inferential technique that accounts for any decisions made while looking at data (i.e., bootstrapping). n Think of model not as truth but as projection and thus derive inference accordingly (again, boostrapping).


Download ppt "PH240A Epidemiology and the Curse of Dimensionality Alan Hubbard Division of Biostatistics U.C. Berkeley"

Similar presentations


Ads by Google