# Stage 1

### Getting Started with Stata Tutorial #6: How Stata Code Works

July 18th, 2024 by

If you’ve tried coding in Stata, you may have found it strange. The syntax rules are straightforward, but different from what I’d expect.

I had experience coding in Java and R before I ever used Stata. Because of this, I expected commands to be followed by parentheses, and for this to make it easy to read the code’s structure.

Stata does not work this way.

### An Example of how Stata Code Works

To see the way Stata handles a linear regression, go to the command line and type

`h reg or help regress`

You will see a help page pop up, with this Syntax line near the top.

(If you need a refresher on getting help in Stata, watch this video by Jeff Meyer.)

This is typical of how Stata code looks. (more…)

### The Difference between Standard Deviation and Standard Error

November 10th, 2023 by

Standard deviation and standard error are statistical concepts you probably learned well enough in Intro Stats to pass the test.  Conceptually, you understand them, yet the difference doesn’t make a whole lot of intuitive sense.

So in this article, let’s explore the difference between the two. We will look at an example, in the hopes of making these concepts more intuitive. You’ll also see why sample size has a big effect on standard error. (more…)

### Issues in Coding Missing Values

October 11th, 2023 by

There’s no mincing words here. Missing values can cause problems for every statistician. That’s true for a lot of reasons, but it can start with simple issues of choices made when coding missing values in a data set. Here are a few examples.

### Example 1: The Null License Plate

Researcher Joseph Tartaro thought it would be funny to get the following California vanity license plate: (more…)

### Getting Started with Stata Tutorial #2: Stata Menus

August 11th, 2023 by

A great way to get started with Stata is using its menus.

The first part of this Tutorial Series introduced you to Stata’s windows.  You can now begin learning how to use Stata to work with data.

Across the top are 8 tabs: File, Edit, Data, Graphics, Statistics, User, Window, and Help.

In our next article, we’ll look at two more: Graphics and Statistics.
(more…)

### Member Training: Operationalizing Research Questions

July 31st, 2023 by

One of the hardest steps in any project is learning to ask the right research question!
(more…)

### Get Started with Stata Tutorial #1: How Stata Windows Work

July 17th, 2023 by

So, you want to get started with Stata?

Good choice!

At The Analysis Factor we recommend first becoming proficient in one statistical software. Then once you’ve progressed up to learning Stage 3 skills, adding a second statistical software. Whether it’s your first, second, or 5th statistical software, Stata has a lot that makes it worth learning.

When I first started using Stata, I remember being confused by the variety of menus and windows, the strange syntax of the code, the way it handled datasets… and what the heck is a do file? (more…)