In all cases,robbery seem to be the motive behind the crime and not racial as some of you have mentioned below. I guess living on your own in a foreign country has its fair share of risks and makes you an easy target for such crimes.All you could do is to maintain a good social circle and use a house share,also avoid hanging around in isolated areas,especially after dark.