Dear Gretl community,
If I am working with a restricted version of a variable (using smpl --restrict), the mean, standard deviation, etc. reported is for the variable as a whole or just the restricted sample? If its not is there any way of calculating the mean of the restricted sample without actually downgrading the database?
As a second answer, I am creating a doble loop for iterating mean and standar deviation from a variable. I want to create a matix that store the results of each calculation. That is, I have a panel, and want to restrict it looping on one variable (city) which will be the columns, and the time the rows. Each time gretl compute one statistic, I am trying to store it in the matrix, following the previous order. Is this possible?
Regards,
Leandro