Introduction


This blog is a free Stata tutorial. I have been using Stata for the last two years now for different applied work in economics and other fields of the social sciences. If you are in your undergraduate or graduate studies or if you are working for some agency that performs social research, you will probably need to use Stata in the context of your project. Stata has an extensive manual which is very accessible, in my opinion, but in order to know how to use it, one needs to already know the commands' names.

However, if you are new to Stata, and you have a project to do, there is a sequence of actions you probably need to do. This tutorial is constructed to follow this sequence: data assembly and construction of additional variables. Then I deliberately skip talking about commands that perform statistical analyses and leave it to your statistics or econometrics courses. But the second part of the tutorial (steps #5-#8) are dedicated to automating those commands and the creation of tables which will report the results. In addition, there are best practices of how to write code that will be easy to follow and change if needed.

I am assuming the reader has basic knowledge of Econometrics (regressions etc.) and I will not get into issues of how to specify an appropriate model. I will concentrate, though, on the practical steps one needs to do before and after the regressions, and how to organize the code so as to minimize mistakes.

The tutorial is divided to steps. You might not need to go through all the steps, so feel free to move on if you see the step is irrelevant for you. You can also navigate through the tutorial with the labels on the left bar. They consist of keywords (like an index) and steps numbers (like a table of contents).

The steps are as follows (keep in mind that the tutorial is still under construction):

  • Step #7: Exporting Results to a Spreadsheet - Excel as an example
  • Step #8: Program Definition - if you start to see the same code in many .do files, maybe you should read this step.
I did not find time to fill in steps #7 and #8 here. For step #7, and other good things, I prepared some slides for a short Stata sequence I gave at the department. You can find them here.

Good luck!

210 comments:

«Oldest   ‹Older   201 – 210 of 210
Lopez said...

Thanks for writing this blog. It is very much informative and at the same time useful for me

Clinical Biostatistics Services

tejaswini said...

The writer is enthusiastic about purchasing wooden furniture on the web and his exploration about best wooden furniture has brought about the arrangement of this article.data science course

Unknown said...

Hello viewers around the Globe, I was despondent because i had a very small penis, about 2.5 inches soft and 4 inches hard not nice enough to satisfy a woman, i have been in so many relationship, but cut off because of my situation, i have used so many product which doctors for me, but none could offer me the help i searched for. i saw some few comments on the INTERNET about this specialist called Dr,OLU and decided to contact him on his email: Drolusolutinthome@gmail.com) so I decided to give his herbal product a try. i emailed him and he got back to me, he gave me some comforting words with his herbal pills for Penis Enlargement, Within 3 week of it, i began to feel the enlargement was surprised when she said that she is satisfied with my sex and i have got a large penis. Am so happy, thanks to Dr OLU I also learn that Dr OLU also help with Breast Enlargement Hips and Bums Enlargement etc.. If you are in any situation with a little Penis, weak ejaculation, small breast_hips_bums do get to Dr OLU now for help on his email ( Drolusolutionhome@gmail.com ) or add him on whatsapp line +2348140654426 

stefan marshall said...

It's Nice,Pretty Informative Blog,Well Summarized.
If You're Looking For THE BEST DIGITAL MARKETING AGENCY In Chennai,
I Would Recommend You to Check Out THE MAMMAL DIGITAL Website.
Mammal Digital

Click here to know more

Jennifer Robert said...

Hello everyone, I want to say a special thanks to Dr OGU. for helping me get cured from herpes virus 2019 , I contacted him base on the testimonies I saw about him on the internet I was diagnosed of HERPES Virus i have tried all I can to get cured but all to know avail, until i saw a post in a health forum about a herbal man who prepare herbal medication to cure all kind of diseases including HERPES virus, at first i doubted if it was real but decided to give it a try I was cured by his herbal medicine and natural herbs, kindly contact him today through his email: drogugusolutionhome@gmail.com or text/call: +1 (719) 629 0982

He’s waiting to help you.


HE ALSO SPECIALIZE IN THE FOLLOWING Illness;

If you have any sickness like : H I V/AIDS , CANCER , HERPES 1 or 2 , GENITAL WARTS, Yeast-infection's (HPV), and Hepatitis A, B. Trichomoniasis Gonorrhea, Epilepsy, and Syphilis.

Unknown said...

Hello please I run a regression analysis its works with the same data while I am trying to analysis for a vector autoregressive model the stata code state there is an error of run 2000 and Its seem not understandable why there is no observation found while regression analysis was executed. Can you guide me through.

softwere said...

Nice explanation and article. Continue to write articles like these, and visit my website at https://usacrack.info/ for more information.
AirServer Crack
Express VPN Crack
Avast Cleanup Premium Crack
Windows 11 Crack
Stata Crack

marvins fred said...

I saw some testimonies about this herbal specialist called @drmosesbuba and decided to email him so I gave his herbal product a try. i emailed him and he get back to me and we discussed, he gave me some comforting words and encouraged me also and then gave me his herbs and cream for Penis Enlargement Within 1 week of it, i began to feel the enlargement of my penis, " and now it just 2 weeks of using his products my penis is about 10 inches longer and am so happy today. Contact @drmosesbuba for any problem via WhatsApp +2349060529305 or email buba.herbalmiraclemedicine@gmail.com

Thanks doctor Moses

VISWA Technologies said...

Hi, I wish to be a regular contributor of your blog. I have read your blog. Your information is really useful for us.
C# .Net Training
Salesforce CPQ Training
<a href="https://viswaonlinetrainings.com/courses/sap-vistex-online-training/>SAP Vistex Training</a>

VISWA Technologies said...

Looking forward to reading more. Great blog article. Great.
SalesforceTraining
<a href="https://viswaonlinetrainings.com/courses/azure-active-directory-training/>Azure Active Directory Training</a>

«Oldest ‹Older   201 – 210 of 210   Newer› Newest»