I'm using version 15 of stata, and I'm wondering if it is possible to make an exception within a loop. I have four variables which I currently have running through a loop. However, I've just realized that I need to pull in data from a different excel sheet for just one of the variables. Is it possible to, within the existing loop, create a command that will allow me to merge the data from this other excel sheet and use it just in the calculation of the one variable?
Related Posts with Make an exception within a loop
Extension of maximum number of variables by "maxvar" is not possible:I have Stata 15 with a Stata/SE license. So extension of memory space should be possible. However us…
export F test of excluded instruments of 1st stage of 2SLSI want to export F test of excluded instruments of 1st stage of 2SLS using estout. Code: ivreg2 DV…
Problem with generating an instrumental variableHello, I’m using STATA 15 to generate a variable that will be used as an instrument in a regression.…
Formatting r(mean) for use in graphsHello, I am trying to automate the generation of graphs that highlight the coordinates where two li…
Fixed, Random or Pool OLS.Hi, I have panel data containing firm observations for two years. I have to choose Panel model amon…
Subscribe to:
Post Comments (Atom)
0 Response to Make an exception within a loop
Post a Comment