English, Article edition: XGROUP: Stata module to create a grouping variable with key values in an output dataset Roger Newson

User activity

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

Edition details

Title
  • XGROUP: Stata module to create a grouping variable with key values in an output dataset
Author
  • Roger Newson
Physical Description
  • code
Notes
  • xgroup is an extended version of the egen function group(varlist). It inputs a varlist of existing variables, and generates as output a new variable, defining a grouping of the observations by the varlist, and also an output dataset (or resultsset), with 1 observation per non-missing value of the new output variable, and data on the values of the input variables corresponding to that value of the output variable. The output dataset is sorted primarily by the new grouping variable, and secondarily by the variables in the varlist, allowing the output dataset to be merged into other datasets, using the official Stata command merge or the SSC package addinby. xgroup is typically used together with the SSC packages parmest and factext when a multiple-intercept model is fitted to the data, with 1 intercept for each combination of values for the varlist.
  • data manipulation, group, resultsset
  • RePEc:boc:bocode:s456996
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