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!

218 comments:

«Oldest   ‹Older   201 – 218 of 218
Reena raj said...


This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharng this information,this is useful to me...
Android training in chennai
Ios training in chennai

SRUN POR said...

Thank you very much for your previous help - I immediately got it right! You are the best.
Please click to play,if you wanna join casino online. Thank you
sbobet
จีคลับ
บอลออนไลน์

Reena raj said...


Really it was an awesome article...very interesting to read..You have provided an nice article....Thanks for sharing..
Web Design Company
Web Development Company

Philips Huges said...

Its very useful to me. Wonderful blog.. Thanks for sharing informative Post.

Installment loans
Payday loans
Title loans

Freshers Jobs News said...

Nice it seems to be good post...
Freshers Jobs in Chennai

Priya B said...

This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
Android Training in Velachery
ios Training in Velachery

sunitha vishnu said...

It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
Android Training in Chennai
Ios Training in Chennai

sunitha vishnu said...

It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
Android Training in Chennai
Ios Training in Chennai

Philips Huges said...

Its a wonderful post and very helpful, thanks for all this information. You are including better information regarding this topic in an effective way.Thank you so much

Personal Installment Loans
Title Car loan
Cash Advance Loan

sandhosh said...


blog is nice and much interesting which engaged me more.Spend a worthful time.keep updating more.
SEO Company in India
SEO Services in India
SEO Companies in India
SEO Company India
SEO Services India
SEO Companies India

Aashi siva said...

Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us

Vmware Training in Chennai

Web Designing Training in Chennai

AWS Training in Chennai

Linux Training in Chennai

Microsoft Azure Training in Chennai


Epc World said...

Great article.Thanks for share,This tutorial is constructed to follow this sequence: data assembly and construction project of additional variables.

construction magazine in India

Thuan Nguyen said...

thay màn hình điện thoại Sony,thay màn hình điện thoại Xiaomi,thay màn hình điện thoại Huawei

Thuan Nguyen said...

thay màn hình điện thoại Sony,thay màn hình điện thoại Xiaomi,thay màn hình điện thoại Huawei

Ancy merina said...

I like this blog, saved to my bookmarks.I have got some important suggestions from it.
Top web development services in bangalore
ECommerce Website developers in bangalore
Outsource magento ecommerce services india

Olah Data Semarang said...

Download STATA 15 Full Version
https://www.youtube.com/watch?v=3Wf1yLV6668
This Video Provides Download Links To Software STATA 15. It is Software STATA 15 Full Version. Thank You for See Video Download STATA 15 Full Version

Mahesh said...

Really very informative and creative contents. This concept is a good way to enhance the knowledge.thanks for sharing. please keep it up
Mobile App Development training in

gurgaon

helen shapiro said...

It is a beautiful post as always. Thank you so much for sharing this information.
digital marketing services in delhi

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