Hi everyone. I really need your help.
Suppose that I have two variables X and X_2. X_2 comes from different operations (sums, divisions, logarithms, etc.) using X itself and some random variables. I saved the dataset, but my computer crashed and I lost the do-file describing how to get X_2 from X. Thus, the only information I have is a dataset with X and X_2
I would like to ask you if there is some way in Stata for retrieving the intermediate steps or, at least, one approximation of how can I get X_2 from X. For example, X_2 = X + log(random_variable) where random_variable has certain characteristics (distribution, mean, sd) and can be simulated using a determined seed.
Thank you.
Suppose that I have two variables X and X_2. X_2 comes from different operations (sums, divisions, logarithms, etc.) using X itself and some random variables. I saved the dataset, but my computer crashed and I lost the do-file describing how to get X_2 from X. Thus, the only information I have is a dataset with X and X_2
I would like to ask you if there is some way in Stata for retrieving the intermediate steps or, at least, one approximation of how can I get X_2 from X. For example, X_2 = X + log(random_variable) where random_variable has certain characteristics (distribution, mean, sd) and can be simulated using a determined seed.
Thank you.
Comment