Apologies, I should have provided this detail in the initial question.
So I have a cohort of 200 people, and all 200 sat a test which provides each of them with a score from 0-10. The μ0 is the mean test score for these 100 people.
However, 30 of these people have a certain trait, and I want to see if removing that trait from the cohort changes the mean test score and by how much. So I remove these 30 people from the cohort, and re-calculate the mean test score for the remaining 70 people to calculate μ1.
My question is if I can calculate a p-value to assess whether the difference between μ0 and μ1 is statistically significantly or not.