Hey everybody,
I have a dataset with funds and fund families. 2-7 funds belong to 1 fund families,
First, I have to compute deciles (dens_perc) for the fund families at each time point.
In the second step, I want to copy the deciles to every fund of the fund family at each time point.
mgmtquarter is a identifier for each fund family and time point (egen mgmtquarter = group (fund time)).
I found that command:
Syntax: bysort mgmtquarter(dens_perc): replace dens_perc = dens_perc[1]
But I got the error message:
factor variables and time-series operators not allowed
r(101);
Thank you for your advices
Best wishes
I have a dataset with funds and fund families. 2-7 funds belong to 1 fund families,
First, I have to compute deciles (dens_perc) for the fund families at each time point.
In the second step, I want to copy the deciles to every fund of the fund family at each time point.
mgmtquarter is a identifier for each fund family and time point (egen mgmtquarter = group (fund time)).
I found that command:
Syntax: bysort mgmtquarter(dens_perc): replace dens_perc = dens_perc[1]
But I got the error message:
factor variables and time-series operators not allowed
r(101);
Thank you for your advices
Best wishes

Comment