Hello,

I have a question about proportions. How do I check for difference in proportions between two samples?

More specifically:
Two variables in 2015 – variable A (prevalence 20%) and variable B (prevalence 30%), p-value<0.001.
Two variables in 2020 – variable A (prevalence 10%) and variable B (prevalence 15%), p-value<0.001.

How do I test if the difference between A and B in 2015 (30-20=10%) is significantly different than the difference between A and B in 2020 (15-10=5%)?!

Thank you!