Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: want to output a table as a dataset from STATA |

Date |
Thu, 1 Apr 2010 20:24:47 +0200 |

<> You may want to employ a -postfile- in your loop, as in Philippe`s http://www.stata-journal.com/article.html?article=pr0036 or Michael`s http://www.michaelnormanmitchell.com/stow/posting-results-regression.html HTH Martin -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Woolton Lee Sent: Donnerstag, 1. April 2010 20:17 To: statalist Subject: st: want to output a table as a dataset from STATA I need to create a large table of cross tabulations for a set of 31 variables (lets say the rows of the table) and a set of 6 variables (lets say the columns of the table). All of these variables are binary indicators. Each cell of the table is to contain a count of the number of observations in the dataset where a given pair of the variables both = 1. I've written a simple loop that counts for each pair of these variables the number of observations where both are == 1. What I would like to do is for STATA to output a dataset of dimension 31 by 6 so I can easily cut and paste this into a word document. I am not sure how one would do this (maybe its actually very simple)...does anyone have any ideas? Thank you for your help, Woolton * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**References**:**st: want to output a table as a dataset from STATA***From:*Woolton Lee <finished07@gmail.com>

- Prev by Date:
**st: RE: RE: RE: Recent postings for help on course work and theses** - Next by Date:
**st: Labeling Graphs** - Previous by thread:
**st: want to output a table as a dataset from STATA** - Next by thread:
**Re: st: RE: want to output a table as a dataset from STATA** - Index(es):