Here is what I am trying to do I want to make each one of the observations in the following dataset from left to right. Namely, within the group, I want each firm to have an observation with the rest of the group variables. How can I achieve this?
Array
Related Posts with How to expand the variable within group?
How to remove the invisible space in the tail of a string in Stata?Hello, I have a small dataset below, clear input str80 No str90 Project "F-000508" "Hermann Park " "…
Accessing function output that's displayed but not storedHi, I would like to store some of the output of the adjrr command in macros. The output is displayed…
cummulative changeArray Dear listers, I would like to apologize if my question is too naive. I am using Stata 15. I w…
How to generate a new variable based on conditions for values of two other variablesHello! I have the following dataset and I'm trying to create a new var X which should have the same …
Quick question on xtregHello. I quite new to using Stata. I am doing a regression with fixed effect and I was told to write…
Subscribe to:
Post Comments (Atom)
0 Response to How to expand the variable within group?
Post a Comment