Data management: How to label the values of categorical variables

  Рет қаралды 140,087

StataCorp LLC

StataCorp LLC

Күн бұрын

Пікірлер: 30
@JeMangeMonChien
@JeMangeMonChien 6 жыл бұрын
Thank you Chuck! I've been googling how to do this for a bit and this video was nice and concise! Who knew that the problem could be easily fixed?!
@heniretnowulan576
@heniretnowulan576 3 жыл бұрын
thank you for all the youtubes, those were very helpfull for making data analysis
@tsegaymolla6465
@tsegaymolla6465 2 ай бұрын
It is short and precise one!
@carlajorge6874
@carlajorge6874 6 жыл бұрын
Hello! Do you know how to add value labels with range? For example I want to label 1 to 5 as "Label X", 6 to 10 as "Label Y", 11 to 12 as "Label Z"...
@ireneinstenes434
@ireneinstenes434 3 жыл бұрын
Very helpful! Saved my day!
@baileestones6115
@baileestones6115 3 жыл бұрын
This was awesome!
@ioannaliakou34
@ioannaliakou34 3 жыл бұрын
Thank you that was super helpful !
@jeremiahmuhammad4722
@jeremiahmuhammad4722 3 жыл бұрын
Is there a faster way to relabel counties in a state? For example, I have 159 counties. Or do I have to do that individually?
@buyanjargalchagnaadorj1381
@buyanjargalchagnaadorj1381 4 жыл бұрын
that tutorial helped me so much thanks
@nicolasber77
@nicolasber77 7 жыл бұрын
did just as the video for a categorical variable rather than a binary one, when using reg y i.x, where x is the variable I labeled values to, regression output still comes out with x and separates cases but for the values and not the labels: x x.1 x.2 x.3 x.3.... i want to get x label1 label2 insted of the assosiated numerical values... can it be done?
@MrUsmanmarwat
@MrUsmanmarwat 5 жыл бұрын
I simply love this tutorial
@matteod7317
@matteod7317 4 жыл бұрын
How do you relable "male" and "female" into 0 and 1?
@WonderTwinsActivate
@WonderTwinsActivate 10 ай бұрын
Hello, is there an updated url for the file in this video so that I may follow the tutorial for Stata?
@khedirderres3726
@khedirderres3726 Жыл бұрын
short and clear
@juandu102
@juandu102 8 жыл бұрын
Hi. Do you know why my stata14.0 crash, when I am creating a new value label?
@Non-disjunction
@Non-disjunction 5 жыл бұрын
My data is a string variable, so this does not work. What can I do?
@syedaanum100
@syedaanum100 2 жыл бұрын
Did you find a solution to this problem? I am experiencing the same issue.
@Non-disjunction
@Non-disjunction 2 жыл бұрын
Used a mix of Excel and Stata I think
@sabaaslam4766
@sabaaslam4766 Жыл бұрын
my stata value label option is disables , how can I enable it?
@manojcherian3914
@manojcherian3914 Жыл бұрын
How could you assign 0 as female and 1 as male. Where did you get that information
@abdikaniabdiismailelmi3186
@abdikaniabdiismailelmi3186 Жыл бұрын
Thank you.
@Nicolerev1412
@Nicolerev1412 2 жыл бұрын
How do you do this when it's a string variable? The "manage" button is greyed out
@statacorp
@statacorp 2 жыл бұрын
You cannot attach a value label to a string variable; if you would like to convert your string variable to a numeric variable, please type *help encode* . You can then attach a value label to the new numeric variable.
@lavhenegondenideservant2297
@lavhenegondenideservant2297 2 жыл бұрын
very useful
@hivay9258
@hivay9258 2 жыл бұрын
Thank you
@bijoydey479
@bijoydey479 3 жыл бұрын
Thnq u sir....
@RavindraMulye
@RavindraMulye 2 жыл бұрын
Dear Sir, How to resolve r(950) error, any video on that
@statacorp
@statacorp 2 жыл бұрын
It seems like you don't have enough memory. Please type *compress* in the Stata Command window; this command will check whether the amount of memory used by your data can be reduced. You can then try issuing the command again. If you still get the error, please email us at tech-support@stata.com.
@eimonwin6001
@eimonwin6001 5 жыл бұрын
One more explanation, please! gender should be categorical/string variable, not byte/Numeric?
@statacorp
@statacorp 5 жыл бұрын
The sex variable could be stored as a string variable or as a numeric variable with 2 categories. In the numeric case, value labels can be added (as shown in this video) to identify what each numeric value represents. In some cases, such as including a variable in a regression, it is necessary for the variable to be stored as a numeric variable. If you need to convert from a string to numeric, you can use the *encode* command, which will automatically create value labels for you.
4. How to label variable names, variable values and rename variables in STATA
17:46
Learn data analytics with us
Рет қаралды 29 М.
Stata Tutorial: Recoding Categorical Variables
6:38
W R
Рет қаралды 16 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
Data management: How to create a date variable from a string
4:54
StataCorp LLC
Рет қаралды 87 М.
Stata: Renaming and Labeling Variables
10:10
Stanford University Libraries
Рет қаралды 97 М.
Adding and Changing Value Labels in Stata
6:27
John
Рет қаралды 5 М.
Categorical Variables in Stata
7:56
SebastianWaiEcon
Рет қаралды 139 М.
How to create dummy variables in STATA
11:46
Lucas Reis
Рет қаралды 87 М.
Stata encode and decode
5:01
272analytics Videos
Рет қаралды 28 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН