Skip to main content

Generating Data

  • Chapter
R for Stata Users

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

  • 8279 Accesses

Abstract

Stata can generate data in a number of ways. The simplest is by use of the generate command. It can generate data in loops and through the use of matrix operations as well.

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). Generating Data. In: R for Stata Users. Statistics and Computing. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-1318-0_12

Download citation

Publish with us

Policies and ethics