Hello, I am wondering if there is a way in Stata where you can extract both numbers and strings. I want to create a new variable that extracts everything that contains numbers and a "G". For example the new variable should contain 300G and 2x150G (see picture).
Related Posts with Extract numbers and strings
Interpreting coefficient vs. margins from three-way interactionHello, I have a question regarding the interpretation of a three-way interaction in a GEE model wit…
multiple fixed effect wiith areghi. a run this code, but i faced with an error. please help me. xi: areg inv RE_value index_state yr…
How to plot regression in an intervalHi all, can any of you tell me if the below representation of regression analysis is possible in ST…
Homogeneity test (Hsiao test) on panel data balanced with many missing valuesDear all, I'm new on Stata community and I'm using stata 12. I'm trying to determine whether governa…
Setting e(sample) to compute boostrap standard errorsHello, I am trying to obtain direct and indirect effects for multiple mediators with multiply imput…
Subscribe to:
Post Comments (Atom)
0 Response to Extract numbers and strings
Post a Comment