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
Related Posts with New Package: resp
Time invariant variables in hybrid modelDear all, I am studying on the determinants of labour productivity and I am using the hybrid model…
ITSA command - stationarityHello all, I am using the -itsa- command for a time series regression with covariates. My time seri…
Renaming every 3 variableHi, I am trying to rename every three variable in my dataset such that the first three variable X1 X…
Lee bounds with multiple treatment groupHi, I'm working with a dataset with high attrition rate and am considering using Lee bounds to esti…
Creating an IF or Conditional commandHi All, It is my first time in this forum and I'm hoping you will be able to assist me. My study i…
Subscribe to:
Post Comments (Atom)
0 Response to New Package: resp
Post a Comment