Hi all!
I hope someone can help me with this problem:
The goal is to substract how many subjects state what reason they have for discontinuation of antidepressant medication (options: no effect, symptoms have cleared, experience side effects).
This is asked every year, for 6 years in a row; so people can start and stop medication along the way. However, this is not only reported for antidepressant medication, also for all other kinds of medication. Antidepressive medication has a code which includes 'N06' (no other medication has this code). So people take multiple kinds of medication, and the reasons for dicontinuation are reported for each and every medication.
I need to substract for every year (so, 6 times) the reasons for discontinuation on only antidepressant medication. How can I do this with syntax in order to not do it manually, subject by subject, since there are 700 subjects?
I hope this is somewhat clear, if you need any additional info, please let me know.
Your help is very much appreciated
I hope someone can help me with this problem:
The goal is to substract how many subjects state what reason they have for discontinuation of antidepressant medication (options: no effect, symptoms have cleared, experience side effects).
This is asked every year, for 6 years in a row; so people can start and stop medication along the way. However, this is not only reported for antidepressant medication, also for all other kinds of medication. Antidepressive medication has a code which includes 'N06' (no other medication has this code). So people take multiple kinds of medication, and the reasons for dicontinuation are reported for each and every medication.
I need to substract for every year (so, 6 times) the reasons for discontinuation on only antidepressant medication. How can I do this with syntax in order to not do it manually, subject by subject, since there are 700 subjects?
I hope this is somewhat clear, if you need any additional info, please let me know.
Your help is very much appreciated