Hi all,
I have used a foreach loop to do univariate logistical regression of multiple variables with one particular variable of interest.
Currently, I've been manually inputting data from these regression tables into a big table in excel, but I can imagine the process will be more tedious for larger samples i'll have to deal with down the line.
I am wondering if I could add anything to the foreach loop that will help me create a big table containing the coefficient and some statistics (p-value, 95% confidence interval etc) from each of the regressions I have done, preferrable in excel.
If it helps, here is an example code, similar to what I have done so far:
foreach x of varlist var1-var20 {
regress var21 `x'
}
Related Posts with Exporting data from multiple univariate regressions into one big table in excel
added text specific to each by graphI'm looking for a way to insert added text into a histogram with by graphs, such that the added text…
Putpdf text printing unrounded numbers from a rounded variableHello, I am using FRED data to create a pdf report of unemployment information. The goal is to have…
Oneway BonferroniHello, I am trying to compare variables mean and std deviation across three samples. Is oneway bonf…
Graph treatment effects by propensity scoreHi Everyone, I am trying to understand some of the heterogeneity in my study in which I am working …
Statistical Significance of the difference between two estimates from two separate instrumental variable regressionsDear Statalisters, I am trying to run two schooling regressions: one for boys and one for girls. In…
Subscribe to:
Post Comments (Atom)
0 Response to Exporting data from multiple univariate regressions into one big table in excel
Post a Comment