What is the role of theory in research Data analysis?

The researcher’s experiment would have been void to failure or scientific scorn if he had rushed and analyzed his data without controlling a trait or variable that would have damaged his experiment. We should read before we write and be aware that theory itself is part of knowledge.