Jump to content

Subsetting

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 194.75.61.202 (talk) at 11:44, 6 February 2020. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In research communities (for example, earth sciences, astronomy, business, and government), subsetting is the process of retrieving just the parts of large files which are of interest for a specific purpose. This occurs usually in a client—server setting, where the extraction of the parts of interest occurs on the server before the data is sent to the client over a network. The main purpose of subsetting is to save bandwidth on the network and storage space on the client computer.

Subsetting may be favorable for the following reasons:[1]

  • restrict or divide the time range
  • select cross sections of data
  • select particular kinds of time series
  • exclude particular observations

Subsetting within Programs

You can subset within statistical software programs to help speed up the process of subsetting if needed. There are many different types of subsetting that can provide challenges with using software programs though.

Some types of subsetting are:

  • Atomic Vectors
  • Lists
  • Matrices and Arrays
  • Data Frames
  • S3 Objects
  • S4 Objects

If we take the software program R as an example, there are different types of code to help with each type of subsetting.


References

  1. ^ SAS Institute (1 August 2012). SAS/ETS 12.1 User's Guide. SAS Institute. p. 70. ISBN 978-1-61290-379-8.

[1]