Hi,
I have the following dataset:
I would like to reshape it long with 4 column only (there are many `variable' {ROA, BM, GP etc}:
RI_gp `variable' r_minus3_0 r0_3m
I have tried the following, unsuccessfully:
Can anyone help? Thanks
I have the following dataset:
:
r_minus3_0m_O_SC r0_3m_O_SC r_minus3_0m_GP r0_3m_GP r_minus3_0m_ROA r0_3m_ROA r_minus3_0m_BM r0_3m_BM RI_gp .0173722 .021564 .0062099 .0059549 .0087727 .0044189 .0100987 .0148028 1 .0273889 .0180974 .0126243 .0047232 .0101023 .0067841 .0036929 .0096458 2 .0121995 .0256601 .0054617 .0075369 .0089098 .0126852 .0132973 .0162281 3 .0287773 .0164814 -.0002057 .0015704 .0071289 -.0021758 .0068397 .0020926 4 .012387 -.0020139 -.0124707 -.0054329 -.0053239 .0044707 -.0031307 .0044553 5
RI_gp `variable' r_minus3_0 r0_3m
I have tried the following, unsuccessfully:
:
reshape long r_minus3_m r0_3m, i(RI_gp) j(variable)