Education

Just to make sure, if I can be claimed, even if I'm not, I can't claim the deduction? How do I know if I can be claimed? I started graduate school in mid august (meaning I had 4.5 months of school in 2016). I moved permanent residences in august, meaning I had 5 months of permanent residence at my current place and for 3 other months during the year I was out of the country and not living with the person who might be able to deduct me.