You use a rope, tie it around your neck and it constricts your carotid arteries causing you to asphyxiate. Maybe it's better to oil the rope and tie your hands behind your back since panic reaction...
Typically, the body can go without oxygen 2 to 3 minutes under normal circumstances. If one was struggling, as the Yale student probably was, even quicker.