Dear all,
I hope everything going well with you.
Currently I am working on medication data and having trouble in presenting the incidence rate of disease (MI) and medication trends in one graph.
Is it possible?
I would really appreciate if you may help me to solve the problem.
Thank you in advance.
Data looks as below.
input byte(id aspirin clopidogrel heparin lipid_lowering fibrate) int age str6 supply_date date_at_diagnosis date_of_death
1 1 0 1 0 0 65 2002 2005 2006
1 0 0 0 1 1 55 2003 2005 0
1 0 0 1 0 1 55 2003 0 0
1 0 0 0 0 1 75 2002 0 0
2 1 1 0 0 1 65 2003 2008 2008
2 0 1 0 0 0 66 2007 0 0
2 0 1 0 1 0 76 2006 0 0
3 0 0 0 1 1 76 2009 0 2010
3 1 0 0 0 0 46 2010 0 0
3 1 1 0 0 0 56 2011 2009 0
3 1 1 1 1 0 46 2008 0 0
3 0 0 0 1 0 56 2008 2009 0
4 0 0 1 0 1 55 2011 0 2012
4 0 0 0 0 1 75 2011 0 0
5 1 1 0 0 0 65 2003 2008 2008
5 0 1 0 0 1 66 2007 0 0
5 0 1 0 1 0 76 2006 2006 0
end
I hope everything going well with you.
Currently I am working on medication data and having trouble in presenting the incidence rate of disease (MI) and medication trends in one graph.
Is it possible?
I would really appreciate if you may help me to solve the problem.
Thank you in advance.
Data looks as below.
input byte(id aspirin clopidogrel heparin lipid_lowering fibrate) int age str6 supply_date date_at_diagnosis date_of_death
1 1 0 1 0 0 65 2002 2005 2006
1 0 0 0 1 1 55 2003 2005 0
1 0 0 1 0 1 55 2003 0 0
1 0 0 0 0 1 75 2002 0 0
2 1 1 0 0 1 65 2003 2008 2008
2 0 1 0 0 0 66 2007 0 0
2 0 1 0 1 0 76 2006 0 0
3 0 0 0 1 1 76 2009 0 2010
3 1 0 0 0 0 46 2010 0 0
3 1 1 0 0 0 56 2011 2009 0
3 1 1 1 1 0 46 2008 0 0
3 0 0 0 1 0 56 2008 2009 0
4 0 0 1 0 1 55 2011 0 2012
4 0 0 0 0 1 75 2011 0 0
5 1 1 0 0 0 65 2003 2008 2008
5 0 1 0 0 1 66 2007 0 0
5 0 1 0 1 0 76 2006 2006 0
end
Comment