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
Appropriate Dimension for Clustering of Standard ErrorsHi, I am trying to estimate the impact of directors' remuneration on firm performance. My unbalance…
Fix heteroskedasticity and autocorrelation with RE model in panel dataHello everyone, I am a newbie in using Stata, so hope you guys will explain everything clearly and i…
Greatest lower bound and other alternatives to Cronbach's alphaHello everyone, What are the stata commands for glb (greatest lower bound) for estimating internal …
How can I create a lagged 4 year max variable?The relevant column in my dataset are "gvkey" (a group id), datadate (ex. YYYYMMDD = 20100531), and …
Erase blank spaces from a twoway graphDear Statalist, I would like to create a graph (twoway scatter) using the by() option for some group…
Subscribe to:
Post Comments (Atom)
0 Response to New Package: resp
Post a Comment