Step 5: Analysis of Causal Diary

Slides:



Advertisements
Similar presentations
Slide 1 Statistics Workshop Tutorial 4 Probability Probability Distributions.
Advertisements

Self Experiments Analysis of Patients’ Causal Diaries.
Step 5: Analysis of Causal Diary Farrokh Alemi Ph.D. This research was funded by Grant RO1 HL from the National Heart Blood and Lung Institute.
Step 2: Make a Causal Model Farrokh Alemi Ph.D. This research was funded by Grant RO1 HL from the National Heart Blood and Lung Institute.
Extending the Definition of Exponents © Math As A Second Language All Rights Reserved next #10 Taking the Fear out of Math 2 -8.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
Introduction to Causal Analysis Farrokh Alemi Ph.D.
Step 1: List Causes & Constraints Farrokh Alemi Ph.D. This research was funded by Grant RO1 HL from the National Heart Blood and Lung Institute.
Time To Missed Exercise Farrokh Alemi, Ph.D.. Why do it? You need to distinguish between random days of missed exercise from real changes in underlying.
Measuring Impact of a Cause Farrokh Alemi Ph.D.. Definition.
Spoilage, Rework and Scrap 1 Lecture 24 Readings Chapter 18,Cost Accounting, Managerial Emphasis, 14 th edition by Horengren.
Lecture Slides Elementary Statistics Twelfth Edition
Scientific Inquiry…What is it?
The Effect of the 2016 Presidential Election on Humana Stock
Chapter 23 Comparing Means.
Iterative Deepening A*
CASE-CONTROL STUDIES Ass.Prof. Dr Faris Al-Lami MB,ChB MSc PhD FFPH
5.2 Probability
Step 3: Thought Experiments
Good Morning.
Probability Distributions for Discrete Variables
Dead Man Visiting Farrokh Alemi, PhD Narrated by …
System Change Farrokh Alemi Ph.D..
Normal Distribution Farrokh Alemi Ph.D.
Inverse Transformation Scale Experimental Power Graphing
Hypothesis Testing Summer 2017 Summer Institutes.
Present Simple / Present Continuous
Log Linear Modeling of Independence
Step 1: List Causes & Constraints
Probability Calculus Farrokh Alemi Ph.D.
Lecture 11 Sections 5.1 – 5.2 Objectives: Probability
System Changes Farrokh Alemi Ph.D.
Chapter 3 The Simplex Method and Sensitivity Analysis
SQL for Calculating Likelihood Ratios
Step 6: Take Action Farrokh Alemi Ph.D.
Stratification Matters: Analysis of 3 Variables
Saturday, August 06, 2016 Farrokh Alemi, PhD.
University of South Florida
AMINTA’S STORY: Part 1.
Self Experimentation & Causal Analysis
Propagation Algorithm in Bayesian Networks
Critical Path Method Farrokh Alemi, Ph.D.
Hypothesis Construction
Step 4: Maintain a Causal Diary
Comparing two Rates Farrokh Alemi Ph.D.
Solving Linear Equations
CONDITIONAL PROBABILITY
Section
Introduction to Artificial Intelligence Lecture 9: Two-Player Games I
Significance Tests: The Basics
Step 4: Maintain a Causal Diary
Wednesday, September 21, 2016 Farrokh Alemi, PhD.
Indexing & Computational Efficiency
THE NORMAL DISTRIBUTION
Benchmarking Clinicians using Data Balancing
Propagation Algorithm in Bayesian Networks
Step 6: Take Action Farrokh Alemi Ph.D.
Chapter 24 Comparing Means Copyright © 2009 Pearson Education, Inc.
P-Chart Farrokh Alemi, Ph.D. This lecture was organized by Dr. Alemi.
Improving Overlap Farrokh Alemi, Ph.D.
Estimates and Sample Sizes Lecture – 7.4
Module appendix - Attributable risk
Xbar Chart By Farrokh Alemi Ph.D
Mathematical Analysis of Algorithms
Time between Control Chart: When Is Harm Reduction Drug Use?
Benchmarking Clinicians using Data Balancing
Risk Adjusted P-chart Farrokh Alemi, Ph.D.
Time-between Control Chart for Exercise By Farrokh Alemi Ph.D
Frequency Distributions
Categorical Data By Farrokh Alemi, Ph.D.
Presentation transcript:

Step 5: Analysis of Causal Diary Farrokh Alemi Ph.D. I am professor Alemi and this lecture discusses how you can analyze causal diaries. This research was funded by Grant RO1 HL 084767 from the National Heart Blood and Lung Institute.

Step 5: Analysis of Causal Diaries Continues from a previous section This lecture continues from a previous section on maintaining a causal diary.

Clean Data Day … 1 2 3 4 5 6 14 Exercise Cause A Constraint on A Cause B Constraint on B … 1 2 3 4 5 6 14 The analysis of diary starts with a few house keeping tasks.  Sometimes, you may list causes that are so rare that they never occur during the 2-weeks diary period.  These causes are not included in the analysis. 

Clean Data Day … 1 2 3 4 5 6 14 Exercise Cause A Constraint on A Cause B Constraint on B … 1 2 3 4 5 6 14 Here we see that cause B is never present in the two weeks of keeping diary. This cause must be dropped from the analysis. The same occurs if a cause or a constraint is always present, that too should be dropped from the analysis.

Get More Data Day … 1 2 3 4 5 6 14 Exercise Cause A Constraint on A Cause B Constraint on B … 1 2 3 4 5 6 14 If two causes always co-occur with each other in every data entry, then the analysis cannot tell us which one is effective. Here for example we see that Constraint A and Cause B always co-occur. It is not possible to decide the influence of each of them separately.  The constraint A and cause B cannot be distinguished through data analysis. Either more data is needed or a better definition of the constraint or the cause is needed.

Maximum Impact of a Cause One way to estimate the conditional probability of success given the various causes is to limit the data to the cases in which the cause has occurred and is not limited by any constraints. We refer to these occasions as unconstrained causes. Then the conditional probability of success given the cause is calculated as the frequency of success among occasions of unconstrained causes. For example, to calculate probability of success given cause X, we first restrict the cases to all situations where unconstraint causes are present and then calculate probability of success in this reduced sample space. This produces a maximum estimate for the impact of the cause on success as it assumes all successes reported in the reduced sample space did not have an alternative cause.

Making a Cause Unconstrained Day Exercise Cause A Constraint on A 1 2 3 4 5 6 … 14 Day 3 Lets demonstrate what do we mean by unconstraint causes. We need to limit the data to days in which the cause has occurred and is not limited by any constraints. In day 3 cause A has occurred but so has its constraint.

Making a Cause Unconstrained Day Exercise Cause A Constraint on A 1 2 3 4 5 6 … 14 So we can think of this day as if the cause has not occurred.

Making a Cause Unconstrained Day Exercise Cause A Constraint on A 1 2 3 4 5 6 … 14 The same applies on day 14. Here again cause A is not going to have its desired effect because of its constraint. Day 14

Making a Cause Unconstrained Day Exercise Cause A Constraint on A 1 2 3 4 5 6 … 14 So we assume that on day 14 the cause has not happened. Day 14

Reducing Universe of Possibilities Day Exercise Unconstrained Cause A 1 2 3 4 5 6 … 14 Now that we have eliminated all occasions that cause A is constrained, we can refer to it as the unconstrained cause. Now we need to look at all days in which the unconstrained cause A has occurred and report the conditional probability of success. We restrict the analysis to days in which unconstrained cause A has occurred by eliminating data for days in which cause A has not occurred.

Maximum Impact of a Cause Day Exercise Unconstrained Cause A 1 2 3 4 5 6 … 14 Here we are looking at all occasions in which cause A has occurred. We can see that the probability of exercise in this reduced universe of possibilities is 2 out of three times. Therefore the maximum for the conditional probability of cause A is 2 divided by 3.

Minimum Impact of a Cause The minimum impact of a cause is calculated in the same fashion with a minor difference. As before, the constrains are removed. But now, all days in which the effect has an alternative cause is also removed from the analysis. The universe of possibilities is reduced to all occasions in which the unconstrained cause occurs and no other alternative cause occurs. The probability of success in this reduced universe of possibilities is the minimum impact of the cause.

Plan to commute with bike Example Day Rain Plan to commute with bike Plan to shower at gym Sleep early Exercise pattern kept 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1=Yes, 0=No Suppose you have collected the diary data in this Table  You had hypothesized three causes of exercise.  First cause was that planning to bike to work leads to exercise.  The second cause was that planning to take morning showers in the gym would increase visits to the gym.  The last possible cause was to sleep early and thus be able to wake up earlier and have more time in the morning.  The diary also marks rainy days, which are expected to reduce the possibility of biking to work. 

Plan to commute with bike Unconstrained Causes Day Plan to commute with bike Plan to shower at gym Sleep early Exercise pattern kept 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1=Yes, 0=No This table shows unconstrained causes, where days in which it rained we set the plan to commute to work to zero.

Maximum Impact of Planning to Bike to Work Day Plan to commute with bike Plan to shower at gym Sleep early Exercise pattern kept 4 1 14 Using the unconstrained causes, you can calculate the maximum and minimum conditional probability of success for various causes. This table shows the reduction of diary entries if you look at days in which you were planning to bike to work and it was not raining. In these days we exercised every day and therefore the maximum conditional probability of exercise given we have plans to bike to work is 1 or 100%. The minimum probability of success is obtained by eliminating days in which alterative explanations are possible. This includes day 4 as on this day the plan to shower at the gym might have led to exercise. Therefore the minimum probability of success is calculated solely based on the data in day 14, which is still 1 or 100%.

Minimum Impact of Planning to Bike to Work Day Plan to commute with bike Plan to shower at gym Sleep early Exercise pattern kept 4 14 1 The minimum probability of success is obtained by eliminating days in which alterative explanations are possible. This includes day 4 as on this day the plan to shower at the gym might have led to exercise. Therefore the minimum probability of success is calculated solely based on the data in day 14, which is still 1 or 100%.

Impact of Various Causes Probability of Success Given the Cause Minimum Maximum Plan to commute with bike 1 Plan to shower at gym 0.80 0.86 Sleep early 0.50 0.67 Following the same procedure, the probability of success of various causes can be estimated. From this table we see that the cause more likely to lead to exercise is planning to bike to work. Sleeping early does not seem to consistently lead to exercise.

Lecture Continues Step 6: Taking Action This lecture continues to the next section titled taking action.