Please bear with me. I am quite a beginner in statistics. I want to analyse what would be the best way to find out if a student's marks is increasing with the number of attempts he or she takes for a test?
So as to answer that if more practice means better performance? for example for a student in the first attempt he or she scores less marks then as he or she keeps taking more and more attempts his or her performance is increasing/decreasing.
Say there is a data set of 40 students. For all the students we have a data set of number of attempts by each student. Now I have to analyse whether more number of attempts by a student means better performance than a student making lesser attempts
For me, two simple first analysis will calculate correlation between marks and number of attempts. If it is positive and high, it might by true (but correlation does not imply causation)
A second, more sophisticated approach will be using regression. Take into account that because number of attemps is a discrete one, you need to take care of that (see Multiple regression with categorical and numeric predictors and https://stackoverflow.com/questions/22192934/linear-model-lm-with-dependent-variable-being-a-factor-categorical-variable)