search for: outputuk

Displaying 1 result from an estimated 1 matches for "outputuk".

2007 Jan 29
6
Loop with string variable AND customizable "summary" output
...nt variable (y) for each country (vale a dire: yUK, xUK, yUSA, xUSA) and you want to run automatically the following regressions: for (i in c("UK","USA")) output{i}<-summary(lm(y{i} ~ x{i})) In other words, at the end I would like to have two objects as output: "outputUK" and "outputUSA", which contain respectively the results of the first and second regression (yUK on xUK and yUSA on xUSA). 2) in STATA there is a very nice code ("outreg") to display nicely (and as the user wants to) your regression results. Is there anything similar...