I'm new to STATA and can think of ways of doing this in R but I'm just having trouble figuring out where to start. the dataset has a large enough number of variables that it makes doing this manually pretty much unrealistic. I'm working with a logistic regression model and needed help figuring out how to write an algorithm that harvests the variable values from data that's been run through the regression model and graph the odds ratio for the variables in a forest plot.