What if my research does not give the expected results?
I'm not sure what you mean by "theoretically it should work". The examples you refer to are cases where you're positing some kind of model for the data. That the experiments failed suggests that the implied model is wrong. The question then is: what is a good model, and what went wrong with the model you tried. 

It's that kind of investigation that will set you on the path to a paper.