I am trying to get a table of groupwise descriptive stats (number of observations, Mean, SD, Kurtosis, skewness), specifically for one variable(daily_return), from a time series data-frame that includes multiple groups. I am interested in getting the descriptive stats for ranknow < 21, data as follows:
Symbol Name Ranknow N Mean Sd Kurtosis
My data frame has the below structure:
Slug symbol name date ranknow close spread daily_returns