Dear Stata experts,
I want to replace all string values starting with 'QC_6200945' of the variable SampleID with only QC_6200945 (i.e. keeping only QC_6200945 in the name). The data looks like this:
SampleID
QC_6200945+_c_31
QC_6200945+_c_32
QC_6200945+_c_33
QC_6200945+_c_34
etc.
I have Stata 15.
Thank you in advance.
Related Posts with Replacing Values
Interpreting test results on panel data and how to correctly perform fixed effect regression on panel dataHi members, I have a large set of panel data with information about 166 bonds, containing some of t…
How to add fixed regressors in NARDL modelHi My questions are on Nonlinear and Asymmetric Autoregressive Distribution Lag Model (NARDL) 1. Ho…
How to do the Interaction plot with continuous variables and constrain other control variables at meanTo whom can solve this problem: Please kindly help! I need to draw an interaction plot figure to se…
Correct Functional Form SelectionI have been asked to verify the effect of water and sanitation on the mortality of children under th…
R script from STATAHello everyone, I am trying to run some R-code through STATA but I am experiencing some issues and …
Subscribe to:
Post Comments (Atom)
0 Response to Replacing Values
Post a Comment