Oleksandr wants to know how to use st_store. Here is a code snippet:
> // add the new variable to the current Stata data set
> resindex = st_addvar("float",vnew)
> // store the calculated values in the new Stata variable
> st_store((1,rows(v3)),resindex,v3)
Here vnew is the name to be given to the new variable and v3 is a
Mata column vector.