codebook Show codebook information for file order Order the variables in a data set label data Apply a label to a data set label variable Apply a label to a variable label define Define value labels for a categorical variable label values Apply value labels to a variable encode Create numeric version of a string…

Read More

# Search Results for: what stat should i use

# Survey Data Analysis with Stata 15

The purpose of this workshop is to explore some issues in the analysis of survey data using Stata 15. Before we begin, you will want to be sure that your copy of Stata is up-to-date. To do this, please type update all in the Stata command window and follow any instructions given. These updates include…

Read More

# Statistical Computing Seminars: Introduction to Survey Data Analysis with Stata 9

The purpose of this seminar is to explore how to analyze survey data collected under different sampling plans using Stata 9. Other examples, including those using other survey data analysis packages, can be found at Choosing the Correct Analysis for Various Survey Designs. Before we begin looking at examples in Stata, we will quickly review some…

Read More

# Stata Class Notes: Modifying Data

1.0 Stata commands in this unit codebook Show codebook information for file order Order the variables in a data set label data Apply a label to a data set label variable Apply a label to a variable label define Define value labels for a categorical variable label values Apply value labels to a variable encode…

Read More

# Multiple Imputation in Stata

Introduction Missing data is a common issue, and more often than not, we deal with the matter of missing data in an ad hoc fashion. The purpose of this seminar is to discuss commonly used techniques for handling missing data and common issues that could arise when these techniques are used. In particular, we will…

Read More

# How do I use categorical variables in SUDAAN? | SUDAAN FAQ

Dummy variables Suppose that you are running a regression or a logistic regression, and instead of getting the results that you expect, you find that SUDAAN considers a large portion of your data to be missing. You use proc print or something to see your data set, and it looks fine to you. What has…

Read More

# How do I use categorical variables in SUDAAN? | SUDAAN FAQ

Dummy variables and unexpected missing data Suppose that you are running a regression or a logistic regression, and instead of getting the results that you expect, you find that SUDAAN considers a large portion of your data to be missing. You use proc print or something to see your data set, and it looks fine…

Read More

# How can I use the subpopn statement in SUDAAN? | SUDAAN FAQ

Below is an example of the subpopn statement. This statement should be used whenever you want to analyze only a subpopulation in your data. You should NOT subset your data in a data step before running the analysis, as this can cause a wide variety of problems, from incorrect results to difficulties running the procedure…

Read More

# Logistic Regression with Stata

This page has been updated to Stata 15.1. Introduction The purpose of this seminar is to help you increase your skills in using logistic regression analysis with Stata. The seminar does not teach logistic regression, per se, but focuses on how to perform logistic regression analyses and interpret the results using Stata. It is assumed…

Read More

# Statistical Computing Seminars Regression with Stata

The aim of this seminar is to help you increase your skills in using regression analysis with Stata. The seminar does not teach regression, per se, but focuses on how to perform regression analyses using Stata. It is assumed that you have had at least a one quarter/semester course in regression (linear models) or a…

Read More