Data management: How to create a new variable that is calculated from other variables

preview_player
Показать описание
This video demonstrates how to create a new variable that is calculated from other variables in Stata using the *generate* command.

Copyright 2011-2019 StataCorp LLC. All rights reserved.
Рекомендации по теме
Комментарии
Автор

Thank you, Chuck, I love your videos. They address very precise questions and the information is directly transferable to what I am doing. Often, I listen, until I get to the section that addresses my issue, open my data set and apply the information directly. I save the youtube address so I can return to it every time I need that information.

renateotterbach
Автор

Extremely helpful. Thank you for sharing the knowledge!

Prince_ee
Автор

Right on time when I am trying to create interaction and composite variables based on existing variables. Thanks, Chuck

fonrogers
Автор

man these videos always have exactly what im looking for

vv_vv
Автор

which command will give me tha results for a regress such as this one : Y=beta0+beta1X+(1-beta)W

avimor
Автор

I have 6 different variables that I will like to combine into one new variable. Each variable are yes, no, not sure. I am looking to have all the yes(6 variables) no(6variables) not sure(6 variables) merged now in the new variable. I have a large observations of at least 30, 000. Please help😔

eunicetphillip
Автор

1 second ago
What if i need to find overall average out of N variables. example each student takes 5 subjects. I want to compute a row mean for each student. Eugen mean does work there is syntax error

retcotz
Автор

How du you intepret what you get when you write estat ic in stata?

sofiaeriksson
Автор

Hi, how i can create form the year variable pre period and post period in case I have data form 2015 to 2019, and we consider 2017 is a base year

sattarkhan
Автор

I want to learn how to operate state software as I have to work next in it.kindly help me

asmasultana