I speak with some authority; I am one of 31 Certified International Property Specialists, which is a National Association of Realtors(r) designation, in Washington State.
Hope this helps,
You are most welcome to buy property here while you study.
Their foreign national program guidelines are: purchases & refinances, 50% down payment/equity is required, minimum down payment (investment) of $100k is required (so do the math), 30-year fixed, minimum $50k loan amount, passport is required, income needs to be in English and converted to U.S. Dollars by the employer... amongst other smaller guidelines.
Canadian National's are given much more leniency than those guidelines... are you a Canadian National?