R in action: data analysis and graphics with R
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Shelter Island, NY
Manning
2011
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XXIV, 447 S. graph. Darst. 24 cm |
ISBN: | 9781935182399 1935182390 |
Internformat
MARC
LEADER | 00000nam a22000002c 4500 | ||
---|---|---|---|
001 | BV039564692 | ||
003 | DE-604 | ||
005 | 20131007 | ||
007 | t | ||
008 | 110906s2011 d||| |||| 00||| eng d | ||
020 | |a 9781935182399 |c pbk. : GBP 39.99 |9 978-1-935182-39-9 | ||
020 | |a 1935182390 |9 1-935182-39-0 | ||
035 | |a (OCoLC)746299133 | ||
035 | |a (DE-599)BSZ347663451 | ||
040 | |a DE-604 |b ger | ||
041 | 0 | |a eng | |
049 | |a DE-83 |a DE-91 |a DE-824 |a DE-20 |a DE-945 |a DE-739 | ||
082 | 0 | |a 519.502855133 | |
084 | |a QH 234 |0 (DE-625)141549: |2 rvk | ||
084 | |a SK 850 |0 (DE-625)143263: |2 rvk | ||
084 | |a ST 601 |0 (DE-625)143682: |2 rvk | ||
084 | |a SOZ 720f |2 stub | ||
084 | |a DAT 307f |2 stub | ||
100 | 1 | |a Kabacoff, Robert |e Verfasser |0 (DE-588)14294372X |4 aut | |
245 | 1 | 0 | |a R in action |b data analysis and graphics with R |c Robert I. Kabacoff |
264 | 1 | |a Shelter Island, NY |b Manning |c 2011 | |
300 | |a XXIV, 447 S. |b graph. Darst. |c 24 cm | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a R |g Programm |0 (DE-588)4705956-4 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Datenanalyse |0 (DE-588)4123037-1 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Statistik |0 (DE-588)4056995-0 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a R |g Programm |0 (DE-588)4705956-4 |D s |
689 | 0 | 1 | |a Datenanalyse |0 (DE-588)4123037-1 |D s |
689 | 0 | 2 | |a Statistik |0 (DE-588)4056995-0 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Passau |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=024416298&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-024416298 |
Datensatz im Suchindex
_version_ | 1804148391130693632 |
---|---|
adam_text | contents
preface
xiii
acknowledgments
xv
about this book
xvii
about the cover illustration
JťAÄT
I
Introduction to
R
3
1.1
Why use
R?
5
1.2
Obtaining and installing
R
7
1.3
Working with
R
7
Getting started
8 *
Getting help
11 ■
The workspace
11
Input and output
13
1.4
Packages
14
What are packages?
15 ■
Installing a package
16
Loading a package
16 *
Learning about a package
16
1.5
Batch processing
17
1.6
Using output as input
—
reusing results
18
1.7
Working with large
datasets
18
CONTENTS
1.8
Working through an example
18
1.9
Summary
20
Creating
a
dataset
21
2.1
Understanding
datasets
22
2.2
Data structures
23
Vectors
24 ■
Matrices
24 ■
Arrays
26 ■
Data frames
27
Factors
30 ■
Lists
32
2.3
Data input
33
Entering data from the keyboard
34 *
Importing data from a delimited text
file
35 *
Importing data from Excel
36 ■
Importing data from XML
37
Webscraping
37 *
Importing data from SPSS
38 ■
Importing data from
SAS
38
Importing data from
Stata
38 ■
Importing data from netCDF
39
Importing data from HDF5
39 *
Accessing database management systems
(DBMSs)
39 *
Importing data via
Stat/Transfer
41
2.4
Annotating
datasets
42
Variable labels
42 *
Value labels
42
2.5
Useful functions for working with data objects
42
2.6
Summary
43
Getting started zvith graphs
45
3.1
Working with graphs
46
3.2
A simple example
48
3.3
Graphical parameters
49
Symbols and lines
50 ■
Colors
52 ■
Text characteristics
53
Graph and margin dimensions
54
3.4
Adding text, customized axes, and legends
56
Titles
57 ■
Axes
57 ■
Reference lines
60 *
Legend
60
Text annotations
62
3.5
Combining graphs
65
Creating
afigure
arrangement with fine control
69
3.6
Summary
71
Basic data management
73
4.1
A working example
73
4.2
Creating new variables
75
4.3
Recoding variables
76
CONTENTS vü
4.4
Renaming variables
78
4.5
Missing values
79
Recoding values to missing
80 *
Excluding missing values from analyses
80
4.6
Date values
81
Converting dates to character variables
83 *
Going further
83
4.7
Type conversions
83
4.8
Sorting data
84
4.9
Merging
datasets
85
Adding columns
85 *
Adding rows
85
4.10
Subsetting
datasets
86
Selecting (keeping) variables
86 *
Excluding (dropping) variables
86
Selecting observations
87 *
The subset() function
88 *
Random samples
89
4.11
Using SQL statements to manipulate data frames
89
4.12
Summary
90
Advanced data management
91
5.1
A data management challenge
92
5.2
Numerical and character functions
93
Mathematical functions
93 *
Statistical functions
94 *
Probability functions
96
Character functions
99*
Other useful functions
101 *
Applying functions to
matrices and data frames
102
5.3
A solution for our data management challenge
103
5.4
Control flow
107
Repetition and looping
107*
Conditional execution
108
5.5
User-written functions
109
5.6
Aggregation and restructuring
112
Transpose
112 *
Aggregating data
112 *
The reshape package
113
5.7
Summary
116
Basic graphs
119
6.1
Bar plots
120
Simple bar plots
120 *
Stacked and grouped bar plots
121 *
Mean bar plots
122
Tweaking bar plots
123 *
Spinograms
124
6.2
Pie charts
125
6.3
Histograms
128
CONTENTS
6.4
Kernel
density plots
130
6.5
Box plots
133
Using parallel box plots to compare groups
134 *
Violin plots
137
6.6
Dot plots
138
6.7
Summary
140
Basic statistics
141
7.1
Descriptive statistics
142
A menagerie of methods
142 *
Descriptive statistics by group
146
Visualizing results
149
7.2
Frequency and contingency tables
149
Generating frequency tables
150 *
Tests of independence
156
Measures of association
157
Visualizing results
158
Converting tables to flat files
158
7.3
Correlations
159
Types of correlations
160*
Testing correlations for significance
162
Visualizing correlations
164
7.4
t-tests
164
Independent t-test
164 *
Dependent t-test
165 *
When there are more than two
groups
166
7.5
Nonparametric tests of group differences
166
Comparing two groups
166*
Comparing more than two groups
168
7.6
Visualizing group differences
170
7.7
Summary
170
Regression
173
8.1
The many faces of regression
174
Scenarios for using OLS regression
175 *
What you need to know
176
8.2
OLS regression
177
Fitting regression models with lm()
178 *
Simple linear regression
179
Polynomial regression
181 *
Multiple linear regression
184
MultipL· linear regression with interactions
186
8.3
Regression diagnostics
188
A typical approach
189*
An enhanced approach
192*
Global validation of
linear model assumption
199 *
Multicollinearity
199
8.4
Unusual observations
200
Outliers
200 *
High leverage points
201 *
Influential observations
202
8.5
Corrective measures
205
Deleting observations
205 *
Transforming variables
205 ■
Adding or deleting
variables
207 ■
Trying a different approach
207
8.6
Selecting the best regression model
207
Comparing models
208 ■
Variable selection
209
8.7
Taking the analysis further
213
Cross-validation
213 *
Relative importance
215
8.8
Summary
218
Analysis of variance
219
9.1
A crash course on terminology
220
9.2
Fitting ANOVA models
222
The aov() function
222 *
The order of formula terms
223
9.3
One-way ANOVA
225
Multiple comparisons
227 ■
Assessing test assumptions
229
9.4
One-way ANCOVA
230
Assessing test assumptions
232 *
Visualizing the results
232
9.5
Two-way factorial ANOVA
234
9.6
Repeated measures ANOVA
237
9.7
Multivariate analysis of variance
(MÁNOVA)
239
Assessing test assumptions
241 ■
Robust
MÁNOVA
242
9.8
ANOVA as regression
243
9.9
Summary
245
I Power analysis
246
10.1
A quick review of hypothesis testing
247
10.2
Implementing power analysis with the pwr package
249
t-tests
250 -
ANOVA
252 ■
Correlations
253 ■
Linear models
253
Tests of proportions
254 ■
Chi-square tests
255 ·
Choosing an appropriate effect
size in novel situations
257
10.3
Creating power analysis plots
258
10.4
Other packages
260
10.5
Summary
261
Intermediate graphs
263
11.1
Scatter plots
264
Scatter plot matrices
267 ■
High-density scatter plots
271 ■ 3D
scatter plots
274
Bubbhplots
278
11.2
Line charts
280
11.3
Correlograms
283
11.4
Mosaic plots
288
11.5
Summary
290
Resampling statistics and bootstrapping
291
12.1
Permutation tests
292
12.2
Permutation test with the coin package
294
Independent two-sample and k-sample tests
295 ■
Independence in contingency
tables
296 ■
Independence between numeric variables
297
Dependent two-sample and k-sample tests
297 ·
Going further
298
12.3
Permutation tests with the
ImPerm
package
298
Simple and polynomial regression
299 *
Multiple regression
300
One-way ANOVA and ANCOVA
301 ■
Two-way ANOVA
302
12.4
Additional comments on permutation tests
302
12.5
Bootstrapping
303
12.6
Bootstrapping with the boot package
304
Bootstrapping a single statistic
305 ■
Bootstrapping several statistics
307
12.7
Summary
309
Generalized linear models
313
13.1
Generalized linear models and the glm() function
314
The glm() function
315 *
Supporting functions
316 ■
Model fit and regression
diagnostics
317
13.2
Logistic regression
317
Interpreting the model parameters
320 ■
Assessing the impact of predictors on the
probability of an outcome
321 ■
Overdispersion
322 ■
Extensions
323
13.3
Poisson
regression
324
Interpreting the model parameters
326 ■
Overdispersion
327 ■
Extensions
328
13.4
Summary
330
Principal components and factor analysis
331
14.1
Principal components and factor analysis in
R
333
14.2
Principal components
334
Selecting the number of components to extract
335
Extracting
principal
components
336
Rotating principal components
339
Obtaining principal components scores
341
14.3
Exploratory factor analysis
342
Deciding how many common factors to extract
343 ·
Extracting common
factors
344 ■
Rotating
f
actors
345
Factor scores
349 ■
Other EFA-related
packages
349
14.4
Other latent variable models
349
14.5
Summary
350
f
ÄT
Advanced methods for missing data
352
*■-- 15.1
Steps in dealing with missing data
353
15.2
Identifying missing values
355
15.3
Exploring missing values patterns
356
Tabulating missing values
357 ■
Exploring missing data visually
351 ■
Using
correlations to explore missing values
360
15.4
Understanding the sources and impact of missing data
362
15.5
Rational approaches for dealing with incomplete data
363
15.6
Complete-case analysis (listwise deletion)
364
15.7
Multiple imputation
365
15.8
Other approaches to missing data
370
Ρ
air wise deletion
370 ■
Simph (nonstochastic) imputation
371
15.9
Summary
371
I ¿y^ Advanced graphics
373
i<
I é
16.1
The four graphic systems in
R
374
16.2
The lattice package
375
Conditioning variahhs
379 ■
Panel functions
381 ■
Grouping variables
383
Graphic parameters
387 *
Page arrangement
388
16.3
The ggplot2 package
390
16.4
Interactive graphs
394
Interacting with graphs: identifying points
394 ■
playwith
394
latticist
396 ■
Interactive graphics with the iplots package
397 ■
rggobi
399
16.5
Summary
399
afterword Into the rabbit hole
400
appendix A Graphic user interfaces
403
appendix
В
Customizing the startup environment
406
appendix
С
Exporting data from
R
408
appendix
D
Creating publication-quality output
410
appendix
E
Matrix Algebra in
R
419
appendix
F
Packages used in this book
421
appendix
G
Working ivith large
datasets
429
appendix
H
Updating an
R
installation
432
references
434
index
438
|
any_adam_object | 1 |
author | Kabacoff, Robert |
author_GND | (DE-588)14294372X |
author_facet | Kabacoff, Robert |
author_role | aut |
author_sort | Kabacoff, Robert |
author_variant | r k rk |
building | Verbundindex |
bvnumber | BV039564692 |
classification_rvk | QH 234 SK 850 ST 601 |
classification_tum | SOZ 720f DAT 307f |
ctrlnum | (OCoLC)746299133 (DE-599)BSZ347663451 |
dewey-full | 519.502855133 |
dewey-hundreds | 500 - Natural sciences and mathematics |
dewey-ones | 519 - Probabilities and applied mathematics |
dewey-raw | 519.502855133 |
dewey-search | 519.502855133 |
dewey-sort | 3519.502855133 |
dewey-tens | 510 - Mathematics |
discipline | Informatik Soziologie Mathematik Wirtschaftswissenschaften |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01684nam a22004332c 4500</leader><controlfield tag="001">BV039564692</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20131007 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">110906s2011 d||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781935182399</subfield><subfield code="c">pbk. : GBP 39.99</subfield><subfield code="9">978-1-935182-39-9</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1935182390</subfield><subfield code="9">1-935182-39-0</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)746299133</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BSZ347663451</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-83</subfield><subfield code="a">DE-91</subfield><subfield code="a">DE-824</subfield><subfield code="a">DE-20</subfield><subfield code="a">DE-945</subfield><subfield code="a">DE-739</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">519.502855133</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">QH 234</subfield><subfield code="0">(DE-625)141549:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">SK 850</subfield><subfield code="0">(DE-625)143263:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 601</subfield><subfield code="0">(DE-625)143682:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">SOZ 720f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 307f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Kabacoff, Robert</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)14294372X</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">R in action</subfield><subfield code="b">data analysis and graphics with R</subfield><subfield code="c">Robert I. Kabacoff</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Shelter Island, NY</subfield><subfield code="b">Manning</subfield><subfield code="c">2011</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXIV, 447 S.</subfield><subfield code="b">graph. Darst.</subfield><subfield code="c">24 cm</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">R</subfield><subfield code="g">Programm</subfield><subfield code="0">(DE-588)4705956-4</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Datenanalyse</subfield><subfield code="0">(DE-588)4123037-1</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Statistik</subfield><subfield code="0">(DE-588)4056995-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">R</subfield><subfield code="g">Programm</subfield><subfield code="0">(DE-588)4705956-4</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Datenanalyse</subfield><subfield code="0">(DE-588)4123037-1</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="2"><subfield code="a">Statistik</subfield><subfield code="0">(DE-588)4056995-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=024416298&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-024416298</subfield></datafield></record></collection> |
id | DE-604.BV039564692 |
illustrated | Illustrated |
indexdate | 2024-07-10T00:06:23Z |
institution | BVB |
isbn | 9781935182399 1935182390 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-024416298 |
oclc_num | 746299133 |
open_access_boolean | |
owner | DE-83 DE-91 DE-BY-TUM DE-824 DE-20 DE-945 DE-739 |
owner_facet | DE-83 DE-91 DE-BY-TUM DE-824 DE-20 DE-945 DE-739 |
physical | XXIV, 447 S. graph. Darst. 24 cm |
publishDate | 2011 |
publishDateSearch | 2011 |
publishDateSort | 2011 |
publisher | Manning |
record_format | marc |
spelling | Kabacoff, Robert Verfasser (DE-588)14294372X aut R in action data analysis and graphics with R Robert I. Kabacoff Shelter Island, NY Manning 2011 XXIV, 447 S. graph. Darst. 24 cm txt rdacontent n rdamedia nc rdacarrier R Programm (DE-588)4705956-4 gnd rswk-swf Datenanalyse (DE-588)4123037-1 gnd rswk-swf Statistik (DE-588)4056995-0 gnd rswk-swf R Programm (DE-588)4705956-4 s Datenanalyse (DE-588)4123037-1 s Statistik (DE-588)4056995-0 s DE-604 Digitalisierung UB Passau application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=024416298&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Kabacoff, Robert R in action data analysis and graphics with R R Programm (DE-588)4705956-4 gnd Datenanalyse (DE-588)4123037-1 gnd Statistik (DE-588)4056995-0 gnd |
subject_GND | (DE-588)4705956-4 (DE-588)4123037-1 (DE-588)4056995-0 |
title | R in action data analysis and graphics with R |
title_auth | R in action data analysis and graphics with R |
title_exact_search | R in action data analysis and graphics with R |
title_full | R in action data analysis and graphics with R Robert I. Kabacoff |
title_fullStr | R in action data analysis and graphics with R Robert I. Kabacoff |
title_full_unstemmed | R in action data analysis and graphics with R Robert I. Kabacoff |
title_short | R in action |
title_sort | r in action data analysis and graphics with r |
title_sub | data analysis and graphics with R |
topic | R Programm (DE-588)4705956-4 gnd Datenanalyse (DE-588)4123037-1 gnd Statistik (DE-588)4056995-0 gnd |
topic_facet | R Programm Datenanalyse Statistik |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=024416298&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT kabacoffrobert rinactiondataanalysisandgraphicswithr |