I study the use of the emergency treatment by children with asthma at home using electronic monitoring devices. For each child, I will have the date and time of each actuation of their emergency treatment. Thus, on a x-axis corresponding to time, I have for each asthma attack the following patterns:
Child A: ++++++++ + + + + +
Child B: +++ ++++ ++++ ++++ +++
Child Etc.
I also know if children were improved after their use of treatment (= success) or not (= failure). I am interested in determining the pattern of use of treatment associated with success (in other words, I would like to know if it is better to use a lot of treatment in the early phase then decrease quickly like child A, or to give few puffs every X minutes like child B, or any other pattern, like child etc.). I have no a priori idea of the pattern I will find, thus my idea would be to model the pattern of use of treatment for asthma attacks were symptoms improved (= success), and the pattern of use of treatment for asthma attacks were symptoms did not improved (= failure), and to compare the two patterns.
I would be very interested in your ideas on whether it would make sense to compare the two "patterns of use", and how from a statistical perspective.