Printing and saving results for a subset of variables


I am simulating an economy with many countries and sectors which contains about 1000 endogenous variables.
I would like to print and save the correlation matrix for a subset of 15 variables out of the 1000 - otherwise the table is unusable.
Is there an option that allows me to keep the results only for some endogenous variables ? (I do not want to do it manually because I will have to simulate the results for a lot of different parameter values and then once I collected all the correlations I need to do some regressions…)

Thanks !

You can specify the variables that interest you after the stoch_simul command, e.g.

Great, thank you very much !