I'm planning to conduct an experiment soon, but not really sure yet what kind of analysis I should do afterwards. What I want to know is whether including an intervention in the experiment leads to different behavior. Besides that, I also want to know if attitude also changes due to the intervention. To summarize:
I first measure attitude of people with a questionnaire (bipolar adjective scale) and then measure whether they are doing a certain behavior (dichotomous)
I introduce an intervention, measure their attitude again and see whether there is a change in doing that same behavior.
I first thought I needed to do a repeated measures to see if there is any change behavior and after the intervention, but I got kinda stuck with the nature of my variables (dichotomous). Now, I am thinking of making a variable (intervention yes/no) that would act as the IV and then test it on the behavior (yes/no) with a one sample t-test. After that test their attitude (IV) on behavior in the before and after the intervention individually.
Can anybody confirm this? And how would I be able to compare attitude on behavior before and after the intervention?