If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.įor technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). Collapse on the sum of one variable but the mean of the other. If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. You can help adding them by using this form. We have no bibliographic references for this item. See the groupby documentation for more details and examples. By default, the mean of one (or several) variables is created. This is much liking creating statistics for groups of cases, but by collapsing your data a new data set is created that contains these statistics and can be put to further use. collapse (sum) totalbill tip, by (sex smoker) pandas provides a flexible groupby mechanism that allows similar aggregations. Collapsing your data means to combine several cases into single lines. It also allows you to accept potential citations to this item that we are uncertain about. Stata’s collapse can be used to group by one or more key variables and compute aggregations on numeric columns. This allows to link your profile to this item. If you have authored this item and are not yet registered with RePEc, we encourage you to do it here.
See general information about how to correct material in RePEc.įor technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact.
When requesting a correction, please mention this item's handle: RePEc:boc:bocode:s444801.
A member of the Ivy League, Penn is the fourth-oldest institution of higher education in the United States, and considers itself to be the first university in the United States with both undergraduate and graduate studies. You can help correct errors and omissions. The University of Pennsylvania (commonly referred to as Penn) is a private university, located in Philadelphia, Pennsylvania, United States. All material on this site has been provided by the respective publishers and authors.