I have some data in which I have for each row the data by center, and I need to have them by student.
In a simplified way, my variables are:
center numstudents teacher [...] gr1nia1 gr1nia2 [...] gr2nia1 gr2nia2 [...]
where the variables that starts with gr are those corresponding to the students.
i am new to Stata, so i'm not really sure how to do it, any idea of how can i do it?
Related Posts with reshaping in stata
Graph Bar problem with allcategories and nofill optionDear User, since I can't post a .dta file, I try to explain my problem. I can't create an example d…
Interpreting margins results for a mlogit regression with variable of interest in logHello everyone This was a long title, but it summarizes well my issue. I ran a mlogit regression w…
(Country) fixed effects for bilateral trade data in gravity modelHello everyone, I'm currently working on a Gravity Model and I'm quite confused about how to proper…
Stata DateI have posted a dataex for my data which quotes dates in the form YYYY.MM: * Example generated by -d…
reformat (destring) var questionHi Hi, I am relatively new to stata and want to reformat a variable. the var is named p3_start_TS, …
Subscribe to:
Post Comments (Atom)
0 Response to reshaping in stata
Post a Comment