A man is pretending to be homeless for a research project.