This concerns people, who are working with the Activity Index (AI), Relative Patent Activity (RPA), the Relative Specialization Index (RSI) or the Index of Relative Specialization (RESP). In Stata it is neccessary to generate three to four temporary variables to calculate the mentioned indices. Thanks to the new package, no temporary variables and only one command is needed. It is easy as:
. egen newvariable_with_rsi = resp(old_variable_with_export_trade), dim(country export_sector) mode(rsi)
Hope, this can be usefull for someone. Get more information with:
. ssc describe resp