Dear all,
I have a dataset with multiple variables on the firm and investor level over multiple years. I need the data for a firm to have information only once for each year.
For it, I used the following code: collapse (max)PRISignatoryStatus, by(ISIN Year) - however, it deletes all other variables. I need it to indeed "filter" by ISIN and Year but for all variables in the dataset.
Could you please let me know what I am doing wrong?
Thank you very much in advance.
Related Posts with Collapse comand
loop or other methods?Dear All, I have this dataset. Code: * Example generated by -dataex-. To install: ssc install datae…
Is Regression and Granger Causality Related?Hi Everyone! Short Version: Is it normal that "variable A" granger causes "variable B" but "variab…
Repeated time values within panel when declaring Panel DataHi all, I have a panel data on bilateral trade volume of 55 country pairs for 15 years time period …
three way panel data regression with fixed effects and clustered error termHi! I want to do a regression on panel data, the data consists of a bank (subscript i), in a countr…
How to change the font in GRAPHICHi everyone! A journal asks me to set the font as Arial in a graphic. I was not able to find a way t…
Subscribe to:
Post Comments (Atom)
0 Response to Collapse comand
Post a Comment