I would like to rename variables "a_tick6 a_Cf1 a_Cf21 a_Cf2"
into "tick6 Cf1 Cf21 Cf2" (Namely, I would like to remove "a_" from all the variables.)
However, I do not know how to create variable "without a_" by using for each command.
Can somebody help me?
Thank you very much.
Related Posts with generating variables by using foreach command
Ranked ordered logistic regression (rologit) problemsHello Statlaist I've some problems using the rologit command in Stata: I've collected data from a s…
Jump in coefficients value after interacting a time dummy with the initial model's regressorsDear Statlist members, Good afternoon. I am estimating a translog cost function intending to measure…
xtgee outputHi how can I find the variance of the mean after xtgee? should I use SE to get Variance or is there …
Panel data and regression with vs. without clustering standard errorsI am using panel data for a difference-in-difference model in which I attempt to see the affect the …
predict versus margins after mepoissionI'm using mepoisson to model county-level cancer diagnoses using county population as the exposure a…
Subscribe to:
Post Comments (Atom)
0 Response to generating variables by using foreach command
Post a Comment