t-test/chi squarred test or mcnemar test? To what extent does the effect of presence of music differ for the concentration ability in playing a memory recall game in males and females?
So basically I had 50 students (25 females and 25 males) take the test in silence and the next day with music. I'd like to perform some statistical test to see if the variables are independent, for example if the number of correct answers given by the students depends on whether there is music present or not.
And also if there is difference between males and females on this regard. Hence, these two things need to be tested. So I would love to have some suggestions on this, a t-test/chi squared test/ McNemar test are the ones I am thinking about, but I'm really not sure which one will be more appropriate.
 A: You should counterbalance the order that the subjects get music versus no music. Everyone may do better on the second day simply do to a practice effect. Thus, you will need an even number of males and females (and I recommend a larger sample size!). If you maintain balance (equal sample sizes) in all conditions, you can analyze this with a 3-way ANOVA (sex by music by order). Sex and order would be between-subjects factors and sex is a within-subjects factor.
A: First, you aren't seeing if the data are independent or not. You are seeing if the variables are independent.  You know the data are not independent because you are testing the same people twice. I wrote a blog post about this.
Next, since you are really interested in two independent variables (presence of music and sex) I suggest that you use a multilevel model. Which type of MLM will depend on the characteristics of the dependent variable, but probably some sort of count model (unless there are a great many questions). 
These models are complex; you may need to hire a consultant. 
