college student

I am a college student from Kansas going to school in New York.  I file taxes independent of my parents. I earned income in New York while attending school.  Do I file state taxes in my home state or state where I earned income?