This is a general guide to stata. There is material that is available more specific to 507c. There is also an overview of the commands explained in this guide to help you find the one you need.