R Data Analysis without Programming
eBook - ePub

R Data Analysis without Programming

David W. Gerbing

  1. 294 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

R Data Analysis without Programming

David W. Gerbing

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

This book prepares readers to analyze data and interpret statistical results using R more quickly than other texts. R is a challenging program to learn because code must be created to get started. To alleviate that challenge, Professor Gerbing developed lessR. LessR extensions remove the need to program. By introducing R through less R, readers learn how to organize data for analysis, read the data into R, and produce output without performing numerous functions and programming exercises first. With lessR, readers can select the necessary procedure and change the relevant variables without programming. The text reviews basic statistical procedures with the lessR enhancements added to the standard R environment. Through the use of lessR, R becomes immediately accessible to the novice user and easier to use for the experienced user.

Highlights of the book include:

Quick Starts that introduce readers to the concepts and commands reviewed in the chapters.

Margin notes that highlight, define, illustrate, and cross-reference the key concepts.When readers encounter a term previously discussed, the margin notes identify the page number to the initial introduction.

Scenarios that highlight the use of a specific analysis followed by the corresponding R/lessR input and an interpretation of the resulting output.

Numerous examples of output from psychology, business, education, and other social sciences, that demonstrate how to interpret results.

Two data sets provided on the website and analyzed multiple times in the book, provide continuity throughout.

End of chapter worked problems help readers test their understanding of the concepts.

A website at www.lessRstats.com that features the lessR program, the book's data sets referenced in standard text and SPSS formats so readers can practice using R/lessR by working through the text examples and worked problems, PDF slides for each chapter, solutions to the book's worked problems, links to R/lessR videos to help readers better understand the program, and more.

An ideal supplement for graduate or advanced undergraduate courses in statistics, research methods, or any course in which R is used, taught in departments of psychology, business, education, and other social and health sciences, this book is also appreciated by researchers interested in using R for their data analysis. Prerequisites include basic statistical knowledge. Knowledge of R is not assumed.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
R Data Analysis without Programming è disponibile online in formato PDF/ePub?
Sì, puoi accedere a R Data Analysis without Programming di David W. Gerbing in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Psychology e Research & Methodology in Psychology. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Editore
Routledge
Anno
2013
ISBN
9781317931669
CHAPTER 1
R FOR DATA ANALYSIS
1.1 Introduction
1.1.1 Data Analysis
We ask many questions to which we seek answers. Some of these questions involve the way things work in our world, including our social processes and relationships, and our psychological selves. This book describes analyses based on observations that facilitate answering these types of questions. On average, do men make more than women managers at a particular company? Which of two pain medications is more effective? What College GPA do we forecast for an applicant who has a SAT score of 1130 and a High School GPA of 3.8? Do people generally have trust in others?
To answer questions such as these we seek empirical answers. We seek answers based on our observations of the world around us: What we see, hear, touch, taste, and smell, in particular, the measurements of what we observe. Our concern in this book is with observations in the form of data, the varying measurements of different people, organizations, places, things, and events.
empirical: Information based on observations acquired from our five senses.
data: Measurements of different people or whatever the unit of analysis.
Different measurements generally vary. For example, two different people have different heights, place differing amounts of trust in others, have different blood pressures, and earn different salaries. Height and blood pressure are two of the many variables that can be measured for anyone. For college students, College GPA and incoming High School GPA, and SAT score are measured variables.
Data analysis is the application of statistical concepts and methods to transform data, sometimes vast amounts of data, into usable information. This information is then used to form a conclusion regarding the people or organizations or places or whatever is the topic of interest. In the modern world data analysis is done exclusively on the computer. This book is about doing data analysis with one such computer software system, R, enhanced with lessR.
data analysis: Application of statistical methods to transform data into usable information.
1.1.2 R with lessR
Our journey into data analysis with R begins with some good news, some bad news, and fortunately, some more good news. The first good news, as announced in an article in the New York Times (Jan 7, 2009), is that the world of data analysis is rapidly changing. At the heart of this change is the computer application R, extensively used, for example, in the New York Times graphics department. From software for data analysis on the computer becoming widely available in the 1970s until the early 21st century, data analysis was typically accomplished with expensive, proprietary statistical applications. Originally they ran only on IBM mainframe computers, but eventually migrated to PCs as the technology developed.
The cost and exclusivity of competent statistical applications for data analysis is becoming less relevant as the capability and popularity of the R system continues to grow. In terms of pure statistical power to analyze data, R compares favorably to the most expensive commercial applications available, providing all that virtually anyone could desire. The cost is exactly $0.00 USD to use R for the rest of your life on the computer or computers of your choice, for whatever purpose you wish to use the software. Feel free to choose any computer you wish, because R runs identically on Windows, Macintosh, and Linux/Unix. Use wherever and on whatever you wish because R is free for you and for the world.
The problem is that although R’s capabilities and price are great, so is the effort required to learn what is generally considered a rather complex system with a steep learning curve. To get much done in R you need to write code. Sometimes you write a little code and sometimes a lot of code. The standard R environment has all the power you need, but is mostly for those who like, or at least tolerate, reading manuals, programming, and then debugging the resulting code. Get your code working right and you have harnessed the power of the program. Or, you might be staring at some cryptic error message you have no idea how to resolve.
Fortunately, R is not only open to the world, its creators designed the system so that anyone can contribute by adding extra functionality. Taking advantage of this opportunity, your author developed an extension to R called lessR. Compared to standard R, lessR requires much less R code to accomplish basic data analysis. The addition of lessR to the R environment does not diminish the standard R environment. On the contrary, the lessR enhancements are just added to what already exists.
R is a true programming language, so the flexibility of R allows almost anything that can be done with data. The reality, however, at least for the vast majority of the standard data analysis topics discussed in this book, is that certain specific steps must always be accomplished. There is no need for everyone to have to figure out and then repeat the same programming to accomplish those steps.
Instead, let lessR do the extra programming. For example, to do a comprehensive regression analysis with standard R begins with a dozen or so separate R statements, and then multiple lines of programming R code to organize the results. With lessR, as explained in Chapters 9 and 10, one instruction calls the Regression function to accomplish more than is accomplished with the dozen R statements and the extra programming. The lessR regression procedure taps directly into R’s capabilities, and then organizes the output and delivers several graphs. The appendix illustrates the core R functions upon which lessR depends.
appendix with equivalent R functions, Section 11.6, p. 279
Two primary objectives underlie the lessR project to minimize the needed programming to use R for data analysis.
◦ A data analysis procedure should typically produce desirable output without any extra instructions or information other than the name of the procedure and the relevant variable name or names.
◦ If changes to the default output are desired, such as choosing a new background color for a graph, then simply scan a list of the available options to understand how to provide all the information needed to proceed without writing code.
Let’s get started.
1.2 Access R
1.2.1 Download R
The best way to learn R is to start using R, which is available on many Internet servers around the world. These servers and the information on them comprise CRAN, the Comprehensive R Archive Network. Obtain the latest vers...

Indice dei contenuti

  1. Cover
  2. Half Title
  3. Title Page
  4. Copyright Page
  5. Dedication
  6. Table of Contents
  7. Preface
  8. About the Author
  9. CHAPTER 1 R for Data Analysis
  10. CHAPTER 2 Read/Write Data
  11. CHAPTER 3 Edit Data
  12. CHAPTER 4 Categorical Variables
  13. CHAPTER 5 Continuous Variables
  14. CHAPTER 6 Means, Compare Two Samples
  15. CHAPTER 7 Compare Multiple Samples
  16. CHAPTER 8 Correlation
  17. CHAPTER 9 Regression I
  18. CHAPTER 10 Regression II
  19. CHAPTER 11 Factor/Item Analysis
  20. Appendix: Standard R Code
  21. Notes
  22. References
  23. Index