I have a dataset structured as follows:
I have split the data depending on the Structure column containing either "A", "B" or both as below:
In this dataset, if the Structure column contains "A", the observed value is copied in column Contains A. Similarly if the Structure column contains "B", the value is copied in column Contains B and if the Structure column contains both "A" and "B" then the value is copied in the column Contains A & B.
Question: What statistics parameter/analysis can you use to compare these three groups of data (Contains A, Contains B, Contains A & B) where some points are shared (and hence not independent) to show if there is any difference between these? Is there any test like a t-test or ANOVA which can be used to compare these three despite them sharing data points?

