Data management: How to reshape data from wide format to long format

  Рет қаралды 117,714

StataCorp LLC

StataCorp LLC

Күн бұрын

This video demonstrates how to reshape data from wide format to long format in Stata using the reshape command.
www.stata.com
Copyright 2011-2019 StataCorp LLC. All rights reserved.

Пікірлер: 22
@faridlabib4273
@faridlabib4273 2 жыл бұрын
I had been ;literally copying, pasting, and transposing for 2 days on excel and then you showed me how to do it in 5 min. Words cannot describe...
@icanmakeitsnow
@icanmakeitsnow 6 жыл бұрын
You are amazing, nice clear calm tones.
@Dr_Shiny
@Dr_Shiny 4 жыл бұрын
For all those who are facing issues with Quarterly Panel data............. 1- Create ID variables for each i 2- for quarters use 1,2,3,4,5...... instead of 2010q1, 2010q2, 2010q3..... Stata will give the error "so many missing values" 3- then run the above code 4- After reshape, just convert the 1,2,3,4,5..... Year variables into quarters, simple ... Thanks
@JaKeineAhnungHalt09
@JaKeineAhnungHalt09 7 жыл бұрын
That's a fantastic video that solved exactly the problem that I have had! Many thanks for the effort you put into making it :)
@arthaschen4701
@arthaschen4701 4 ай бұрын
Thank you! That’d save me from asking my advisor tomorrow before data meeting
@AR-gc7dr
@AR-gc7dr 4 жыл бұрын
This is helpful. But what if you have a lot of variables for each year? do you name each one or is there an easier way
@thelonelycrowd
@thelonelycrowd 4 жыл бұрын
Thanks a lot. your videos help my first analysis using Stata.
@GuyMontag83
@GuyMontag83 4 жыл бұрын
You saved my day. Thanks!
@pavlinaziso1286
@pavlinaziso1286 3 жыл бұрын
Many thanks :) super helpful
@JoanaRodrigues-gw5ok
@JoanaRodrigues-gw5ok 5 ай бұрын
OMG! THANK YOU!
@nori6869
@nori6869 Жыл бұрын
Thank you!
@lutfaferdous8236
@lutfaferdous8236 4 жыл бұрын
Thanks a lot for your help
@luistato7437
@luistato7437 3 жыл бұрын
Amazing
@paulpv7
@paulpv7 3 жыл бұрын
Thank you sir
@nillamanjilla5319
@nillamanjilla5319 2 жыл бұрын
Legend!
@christinaharrington1448
@christinaharrington1448 6 жыл бұрын
This is great in as far as it goes. But what about if you have irregular input - for example if one id has 7 data points per year and one id has 2, and none the next year. Can this conversion still happen?
@cesarporsche
@cesarporsche 6 ай бұрын
Is that you Nick?
@audrea2023
@audrea2023 3 жыл бұрын
OH MY GOD!!! THAAAAANK YOU!!!
@TheDrewpdog
@TheDrewpdog 5 жыл бұрын
this was extremely useful.
@lovenepal8756
@lovenepal8756 Ай бұрын
What if my variable is monthly what to do?
@willyschuettelbier9070
@willyschuettelbier9070 7 жыл бұрын
Forget it! Stata data managment is hoplessly cumbersome! Consider that time series data you get from online databases will typically be ranked by a number representing a year. Stata is not able to interprete such a year number as a name. So you have to add somehow a letter to every year number... and so on... You will always end up doing all the necessary data preparations for stata by hand using a programm like excel. Given the technological capacity of computers that's quite ridiculous...
@lucialara3875
@lucialara3875 2 жыл бұрын
thaaaaaaaaaaaaaaanks
Stata - How to Reshape Your Data
11:05
Steffen's Classroom
Рет қаралды 829
Stata: Reshaping Data using World Bank Open Data Sets
11:59
Todd R. Yarbrough, Ph.D.
Рет қаралды 23 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 16 МЛН
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 6 МЛН
Data management: How to append files into a single dataset
3:41
StataCorp LLC
Рет қаралды 67 М.
Using Stata: Merging Data
28:29
Jason Burns
Рет қаралды 3,7 М.
How to Reshape Data from Long to Wide form in Stata | Reshape Part 1
23:10
Stata Tutorial: Panel Data Formatting with the "reshape" command
6:47
Mike Jonas Econometrics
Рет қаралды 15 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 16 МЛН