How to Combine Categorical Variables in Stata | Stata Tutorial

preview_player
Показать описание
In this video, we discuss how to convert a categorical string variable into a numerical variable in Stata. We also see if we want to combine them into a single variable.

The following link contains the files used in the video:

The following link contains more information on this topic:

00:00 Intro to topic
1:13 Simple method
2:12 Foreach loop for all variables
04:04 Destring

Basics of Loop in Stata | forvalues loop | foreach loop

Foreach loop in Stata: A detailed explanation

Forvalues loop explained in detail

Best 10 Introductory Econometrics Books

Introduction to Econometrics by Jeffrey M. Wooldridge

Econometric Analysis by William H. Greene

Basic Econometrics by Damodar Gujarati and Dawn Porter

A Guide to Econometrics by Peter Kennedy

Disclaimer: Some links are affiliate links that help the channel at no cost to you.
Рекомендации по теме
Комментарии
Автор

Following link contains the files used in the video:

thedatahall
Автор

Your video has been immensely helpful to me, thank you a lot

shauneslick
Автор

Thanks a lot for making this tutorial on my request. This gives the clear concept of using the loop in stata.

Best Regards!

syedshujaathussainzaidi
Автор

Your videos are informative. Keep it up.

naimatkadha
Автор

Many thanks for making this helpful video. If possible can you please share the do file. Thanks in advance.

afrozaahammed
Автор

Hello, if we have several categorical predictors, what is the logistic regression command?

girlthatcooks
Автор

Many thanks, there is no link to the loop discussion video in the description.

moirarising