Skip to main content

Selecting Variables and Observations

  • Chapter
R for Stata Users

Part of the book series: Statistics and Computing ((SCO))

  • 8277 Accesses

Abstract

In the previous two chapters, we focused on selecting variables and observations separately. You can combine those approaches to select both variables and observations at the same time. As an example, we will use the various methods to select the variables workshop and q1 to q4 for only the males.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 249.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Robert A. Muenchen .

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

Muenchen, R.A., Hilbe, J.M. (2010). Selecting Variables and Observations. In: R for Stata Users. Statistics and Computing. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-1318-0_9

Download citation

Publish with us

Policies and ethics