Dear r-Gods! I am interesting in making an equivalent command like outreg in stata where I get all my 8 regressions in one table. Does R have an easy command to that? MVH Dave [[alternative HTML version deleted]]
Er, *what* eight regressions would that be? Can you provide an example of what you're looking for: data, anticipated output? Many of us have never used stata and have no idea what you're asking, so you'll need to explain it to us in more detail. Sarah On Fri, Dec 9, 2011 at 5:22 AM, David . <loovet88 at hotmail.com> wrote:> > Dear r-Gods! > > I am interesting in making an equivalent command like outreg in stata where I get all my 8 regressions in one table. Does R have an easy command to that? > > MVH Dave >-- Sarah Goslee http://www.functionaldiversity.org
Please copy the whole list on your replies. On Fri, Dec 9, 2011 at 8:26 AM, David . <loovet88 at hotmail.com> wrote:> Hey Sarah! > > Outreg in stata is like a table with all your regressions. In the first row > its the first regression and in the second row its the second > regression with some added variable. And it goes on so that all regression > is in the same table. It's a nice way to display all > the regressions in one slide. Don't know this makes anything clearer > but.......I'm still not sure what "all your regressions" are: each column in a data frame? How do you want to specify "some added variable" - automatically? And where did "slide" come from? Maybe you want to look at the thread earlier this week on report generation? An example, even a link to a Stata example, is really needed here. Sarah> Thanks / > David > >> Date: Fri, 9 Dec 2011 07:17:57 -0500 >> Subject: Re: [R] Making outregs in R >> From: sarah.goslee at gmail.com >> To: loovet88 at hotmail.com >> CC: r-help at r-project.org >> >> Er, *what* eight regressions would that be? >> >> Can you provide an example of what you're looking for: data, anticipated >> output? >> >> Many of us have never used stata and have no idea what you're asking, >> so you'll need to explain it to us in more detail. >> >> Sarah >> >> On Fri, Dec 9, 2011 at 5:22 AM, David . <loovet88 at hotmail.com> wrote: >> > >> > Dear r-Gods! >> > >> > I am interesting in making an equivalent command like outreg in stata >> > where I get all my 8 regressions in one table. Does R have an easy command >> > to that? >> > >> > MVH Dave >> >-- Sarah Goslee http://www.functionaldiversity.org
And the *whole list* might like to see that. So you want some way to display pre-existing regressions in that format, not a stepwise procedure that performs the regressions and displays them, right? On Fri, Dec 9, 2011 at 9:17 AM, David . <loovet88 at hotmail.com> wrote:> You're right! A picture says more than a thousand words ;) > > > http://statadaily.files.wordpress.com/2010/10/outreg_sample_result1.jpg > > This link shows a stata outreg. > > Thanks again > > > >> Date: Fri, 9 Dec 2011 09:12:19 -0500 >> Subject: Re: [R] Making outregs in R >> From: sarah.goslee at gmail.com >> To: loovet88 at hotmail.com; r-help at r-project.org >> >> Please copy the whole list on your replies. >> >> On Fri, Dec 9, 2011 at 8:26 AM, David . <loovet88 at hotmail.com> wrote: >> > Hey Sarah! >> > >> > Outreg in stata is like a table with all your regressions. In the first >> > row >> > its the first regression and in the second row its the second >> > regression with some added variable. And it goes on so that all >> > regression >> > is in the same table. It's a nice way to display all >> > the regressions in one slide. Don't know this makes anything clearer >> > but....... >> >> I'm still not sure what "all your regressions" are: each column in a >> data frame? How do you want to specify "some added variable" - >> automatically? >> >> And where did "slide" come from? Maybe you want to look at >> the thread earlier this week on report generation? >> >> An example, even a link to a Stata example, is really >> needed here. >> >> Sarah >> >> >> > Thanks / >> > David >> > >> >> Date: Fri, 9 Dec 2011 07:17:57 -0500 >> >> Subject: Re: [R] Making outregs in R >> >> From: sarah.goslee at gmail.com >> >> To: loovet88 at hotmail.com >> >> CC: r-help at r-project.org >> >> >> >> Er, *what* eight regressions would that be? >> >> >> >> Can you provide an example of what you're looking for: data, >> >> anticipated >> >> output? >> >> >> >> Many of us have never used stata and have no idea what you're asking, >> >> so you'll need to explain it to us in more detail. >> >> >> >> Sarah >> >> >> >> On Fri, Dec 9, 2011 at 5:22 AM, David . <loovet88 at hotmail.com> wrote: >> >> > >> >> > Dear r-Gods! >> >> > >> >> > I am interesting in making an equivalent command like outreg in stata >> >> > where I get all my 8 regressions in one table. Does R have an easy >> >> > command >> >> > to that? >> >> > >> >> > MVH Dave >> >> >
On Fri, Dec 9, 2011 at 9:23 AM, David . <loovet88 at hotmail.com> wrote:> A whole list?You are replying to me personally. You should be sending your messages to the *R help email list*.> But yeah thats is basically what I want to be able to do.I don't know how to do exactly what you want, but someone else on the list might. That's why you need to reply to the list, and not just to me. Hint: "Reply all" will do it. Just make sure that r-help at r-project.org appears in the "TO" line of your email.>> Date: Fri, 9 Dec 2011 09:21:34 -0500 > >> Subject: Re: [R] Making outregs in R >> From: sarah.goslee at gmail.com >> To: loovet88 at hotmail.com; r-help at r-project.org >> >> And the *whole list* might like to see that. >> >> So you want some way to display pre-existing regressions in that >> format, not a stepwise procedure that performs the regressions and >> displays them, right? >> >> On Fri, Dec 9, 2011 at 9:17 AM, David . <loovet88 at hotmail.com> wrote: >> > You're right! A picture says more than a thousand words ;) >> > >> > >> > http://statadaily.files.wordpress.com/2010/10/outreg_sample_result1.jpg >> > >> > This link shows a stata outreg. >> > >> > Thanks again >> > >> > >> > >> >> Date: Fri, 9 Dec 2011 09:12:19 -0500 >> >> Subject: Re: [R] Making outregs in R >> >> From: sarah.goslee at gmail.com >> >> To: loovet88 at hotmail.com; r-help at r-project.org >> >> >> >> Please copy the whole list on your replies. >> >> >> >> On Fri, Dec 9, 2011 at 8:26 AM, David . <loovet88 at hotmail.com> wrote: >> >> > Hey Sarah! >> >> > >> >> > Outreg in stata is like a table with all your regressions. In the >> >> > first >> >> > row >> >> > its the first regression and in the second row its the second >> >> > regression with some added variable. And it goes on so that all >> >> > regression >> >> > is in the same table. It's a nice way to display all >> >> > the regressions in one slide. Don't know this makes anything clearer >> >> > but....... >> >> >> >> I'm still not sure what "all your regressions" are: each column in a >> >> data frame? How do you want to specify "some added variable" - >> >> automatically? >> >> >> >> And where did "slide" come from? Maybe you want to look at >> >> the thread earlier this week on report generation? >> >> >> >> An example, even a link to a Stata example, is really >> >> needed here. >> >> >> >> Sarah >> >> >> >> >> >> > Thanks / >> >> > David >> >> > >> >> >> Date: Fri, 9 Dec 2011 07:17:57 -0500 >> >> >> Subject: Re: [R] Making outregs in R >> >> >> From: sarah.goslee at gmail.com >> >> >> To: loovet88 at hotmail.com >> >> >> CC: r-help at r-project.org >> >> >> >> >> >> Er, *what* eight regressions would that be? >> >> >> >> >> >> Can you provide an example of what you're looking for: data, >> >> >> anticipated >> >> >> output? >> >> >> >> >> >> Many of us have never used stata and have no idea what you're >> >> >> asking, >> >> >> so you'll need to explain it to us in more detail. >> >> >> >> >> >> Sarah >> >> >> >> >> >> On Fri, Dec 9, 2011 at 5:22 AM, David . <loovet88 at hotmail.com> >> >> >> wrote: >> >> >> > >> >> >> > Dear r-Gods! >> >> >> > >> >> >> > I am interesting in making an equivalent command like outreg in >> >> >> > stata >> >> >> > where I get all my 8 regressions in one table. Does R have an easy >> >> >> > command >> >> >> > to that? >> >> >> > >> >> >> > MVH Dave >> >> >> >
On Fri, Dec 9, 2011 at 7:22 AM, David . <loovet88 at hotmail.com> wrote:> I am interesting in making an equivalent command like > outreg in stata where I get all my 8 regressions in one table. > Does R have an easy command to that?The function of mtable() of memisc package may be what you want. There is also a script called outreg-worked.R written by Paul Johnson that you can find on the web. -- Jakson