English, Article edition: FULLTAB: Stata module to generate 'full tables' which can be stacked into matrices Guy D. van Melle

User activity

Share to:
 
Bookmark: http://trove.nla.gov.au/version/175200
Physical Description
  • code
Language
  • English

Edition details

Title
  • FULLTAB: Stata module to generate 'full tables' which can be stacked into matrices
Author
  • Guy D. van Melle
Physical Description
  • code
Notes
  • Suppose you want to tabulate a set of variables, say v1 to v15, each of which can take on the same possible values (e.g. 1,2,3,4,5) and stack the resulting frequencies into a matrix using the matcell option of @tabulate@. A problem appears when one value, say "5", has count 0 (i.e. never appears in a specific variable, say v12. Then the resulting matrix produced by matcell has only 4 elements, while the other vectors have 5. And trying to append a row of the wrong length to a matrix will cause an error. fulltab obviates this problem by temporarily adding observations to your data set, one for each possible value in your list, thus generating full tables. The counts are all off by one and are corrected before exit. And added observations are dropped.
  • RePEc:boc:bocode:s358901
Language
  • English
Contributed by
OAIster

Get this edition

  • Set up My libraries

    How do I set up "My libraries"?

    In order to set up a list of libraries that you have access to, you must first login or sign up. Then set up a personal list of libraries from your profile page by clicking on your user name at the top right of any screen.

  • All (1)
  • Unknown (1)
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.

User activity


e.g. test cricket, Perth (WA), "Parkes, Henry"

Separate different tags with a comma. To include a comma in your tag, surround the tag with double quotes.

Be the first to add a tag for this edition

Be the first to add this to a list

Comments and reviews

What are comments? Add a comment

No user comments or reviews for this version

Add a comment