A first course in statistical programming with R:
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Cambridge [u.a.]
Cambridge Univ. Press
2008
|
Ausgabe: | 3. printing with corr. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | X, 163 S. graph. Darst. |
ISBN: | 9780521872652 9780521694247 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV035211129 | ||
003 | DE-604 | ||
005 | 20081217 | ||
007 | t | ||
008 | 081212s2008 d||| |||| 00||| eng d | ||
020 | |a 9780521872652 |9 978-0-521-87265-2 | ||
020 | |a 9780521694247 |9 978-0-521-69424-7 | ||
035 | |a (OCoLC)289028958 | ||
035 | |a (DE-599)BVBBV035211129 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a eng | |
049 | |a DE-739 | ||
050 | 0 | |a QA276.45.R3 | |
084 | |a QH 231 |0 (DE-625)141546: |2 rvk | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a ST 601 |0 (DE-625)143682: |2 rvk | ||
100 | 1 | |a Braun, W. John |d 1963- |e Verfasser |0 (DE-588)13396440X |4 aut | |
245 | 1 | 0 | |a A first course in statistical programming with R |c W. John Braun and Duncan J. Murdoch |
250 | |a 3. printing with corr. | ||
264 | 1 | |a Cambridge [u.a.] |b Cambridge Univ. Press |c 2008 | |
300 | |a X, 163 S. |b graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 4 | |a Datenverarbeitung | |
650 | 4 | |a Statistik | |
650 | 4 | |a R (Computer program language) | |
650 | 4 | |a Statistics |x Data processing | |
650 | 0 | 7 | |a R |g Programm |0 (DE-588)4705956-4 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Statistik |0 (DE-588)4056995-0 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Statistik |0 (DE-588)4056995-0 |D s |
689 | 0 | 1 | |a R |g Programm |0 (DE-588)4705956-4 |D s |
689 | 0 | |5 DE-604 | |
700 | 1 | |a Murdoch, Duncan J. |e Verfasser |4 aut | |
856 | 4 | 2 | |m Digitalisierung UB Bayreuth |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017017356&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-017017356 |
Datensatz im Suchindex
_version_ | 1805087768326438912 |
---|---|
adam_text |
Contents
Preface page
ix
Getting started
ι
1.1
What is statistical programming? l
1.2
Outline of the book
2
1.3
The
R
package
3
1.4
Why use a command line?
3
1.5
Font conventions
4
1.6
Installation of
R
4
Introduction to the
R
language
5
2.1
Starting and quitting
R s
2.1.1
Recording your work
6
2.2
Basic features of
R
7
2.2.1
Calculating with
R
7
2.2.2
Named storage
7
2.2.3
Functions
9
2.2.4
Exact or approximate?
9
2.2.5
R
is case-sensitive
12
2.2.6
Listing the objects in the workspace
12
2.2.7
Vectors
12
2.2.8
Extracting elements from vectors
13
2.2.9
Vector arithmetic
14
2.2.10
Simple patterned vectors
15
2.2.11
Missing values and other special values
16
2.2.12
Character vectors
16
2.2.13
Factors
17
2.2.14
More on extracting elements from vectors
18
2.2.15
Matrices and arrays
18
2.2.16
Data frames
19
2.2.17
Dates and times
21
2.3
Built-in functions and online help
21
2.3.1
Built-in examples
22
2.3.2
Finding help when you don't know
the function name
23
2.3.3
Built-in graphics functions
23
2.3.4
Additional elementary built-in functions
25
2.4
Logical vectors and relational operators
26
2.4.1
Boolean algebra
26
2.4.2
Logical operations in
R
27
2.4.3
Relational operators
28
2.5
Data input and output
29
2.5.1
Changing directories
29
CONTENTS
2.S.2
dump
( )
and source
( )
29
2.5.3
Redirecting
R
output
30
2.5.4
Saving and retrieving image files
31
2.5.5
Data frames and the read
.
table function
31
2.5.6
Lists
31
Chapter exercises
32
3
Programming statistical graphics
33
3.1
High-level plots
33
3.1.1
Bar charts and dot charts
34
3.1.2
Ие
charts
35
3.1.3
Histograms
35
3.1.4
Box plots
36
3.1.5
Scatterplots
38
3.1.6
QQ plots
39
3.2
Choosing a high-level graphic
41
3.3
Low-level graphics functions
42
3.3.1
The plotting region and margins
42
3.3.2
Adding to plots
43
3.3.3
Setting graphical parameters
45
Chapter exercises
46
I Programming with
R
47
4.1
Row control
47
4.1.1
The for
()
loop
47
4.1.2
The
i f
( )
statement
50
4.1.3
The while!) loop
54
4.1.4
Newton's method for root finding
55
4.1.5
The repeat loop, and the break and next statements
57
4.2
Managing complexity through functions
59
4.2.1
What are functions?
59
4.2.2
Scope of variables
62
4.3
Miscellaneous programming tips
63
4.3.1
Using
f
ix () 63
4.3.2
Documentation using
# 64
4.4
Some general programming guidelines
65
4.4.1
Top-down design
67
4.5
Debugging and maintenance
72
4.5.1
Recognizing that a bug exists
72
4.5.2
Make the bug reproducible
73
4.5.3
Identify the cause of the bug
73
4.5.4
Fixing errors and testing
75
4.5.5
Look for similar errors elsewhere
75
4.5.6
The browser
( )
and debug
( )
functions
75
4.6
Efficient programming
77
4.6.1
Learn your tools
77
4.6.2
Use efficient algorithms
78
4.6.3
Measure the time your program takes
79
CONTENTS
I
vii
4.6.4
Be willing to use different tools
80
4.6.5
Optimize with care
80
Chapter exercises
80
5
Simulation
82
5.1
Monte Carlo simulation
82
5.2
Generation of pseudorandom numbers
83
5.3
Simulation of other random variables
88
5.3.1
Bernoulli random variables
88
5.3.2
Binomial random variables
89
5.3.3
Poisson
random variables
93
5.3.4
Exponential random numbers
97
5.3.5
Normal random variables
99
5.4
Monte Carlo integration
101
5.5
Advanced simulation methods
104
5.5.1
Rejection sampling
104
5.5.2
Importance sampling
107
Chapter exercises
109
6
Computational linear algebra
112
6.1
Vectors and matrices in
R
113
6.1.1
Constructing matrix objects
113
6.1.2
Accessing matrix elements; row and column names
115
6.1.3
Matrix properties
117
6.1.4
Triangular matrices
118
6.1.5
Matrix arithmetic
118
6.2
Matrix multiplication and inversion
119
6.2.1
Matrix inversion
120
6.2.2
The
LU
decomposition
121
6.2.3
Matrix inversion in
R
122
6.2.4
Solving linear systems
123
6.3
Eigenvalues and eigenvectors
124
6.4
Advanced topics
125
6.4.1
The singular value decomposition of a matrix
125
6.4.2
The Choleski decomposition of a positive definite matrix
126
6.4.3
The QR decomposition of a matrix
127
6.4.4
The condition number of a matrix
128
6.4.5
Outer products
129
6.4.6 Kronecker
products
129
6.4.7
apply
О
129
Chapter exercises
130
7
I Numerical optimization
m
7.1
The golden section search method
132
7.2
Newton-Raphson
135
7.3
The Nelder-Mead simplex method
138
7.4
Built-in functions
142
viH
I CONTENTS
7.S Linear programming
142
7.S.
1
Solving linear programming problems in
R
145
7.5.2
Maximization and other kinds of constraints
145
7.5.3
Special situations
146
7.5.4
Unrestricted variables
149
7.5.5
Integer programming
150
7.5.6
Alternatives to lp
( )
151
7.5.7
Quadratic programming
151
Chapter exercises
157
Appendix
Review of random variables
and distributions
158
1
Index
161 |
any_adam_object | 1 |
author | Braun, W. John 1963- Murdoch, Duncan J. |
author_GND | (DE-588)13396440X |
author_facet | Braun, W. John 1963- Murdoch, Duncan J. |
author_role | aut aut |
author_sort | Braun, W. John 1963- |
author_variant | w j b wj wjb d j m dj djm |
building | Verbundindex |
bvnumber | BV035211129 |
callnumber-first | Q - Science |
callnumber-label | QA276 |
callnumber-raw | QA276.45.R3 |
callnumber-search | QA276.45.R3 |
callnumber-sort | QA 3276.45 R3 |
callnumber-subject | QA - Mathematics |
classification_rvk | QH 231 ST 250 ST 601 |
ctrlnum | (OCoLC)289028958 (DE-599)BVBBV035211129 |
discipline | Informatik Wirtschaftswissenschaften |
edition | 3. printing with corr. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV035211129</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20081217</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">081212s2008 d||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780521872652</subfield><subfield code="9">978-0-521-87265-2</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780521694247</subfield><subfield code="9">978-0-521-69424-7</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)289028958</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV035211129</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakwb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-739</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA276.45.R3</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">QH 231</subfield><subfield code="0">(DE-625)141546:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</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="100" ind1="1" ind2=" "><subfield code="a">Braun, W. John</subfield><subfield code="d">1963-</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)13396440X</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">A first course in statistical programming with R</subfield><subfield code="c">W. John Braun and Duncan J. Murdoch</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">3. printing with corr.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Cambridge [u.a.]</subfield><subfield code="b">Cambridge Univ. Press</subfield><subfield code="c">2008</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">X, 163 S.</subfield><subfield code="b">graph. Darst.</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=" " ind2="4"><subfield code="a">Datenverarbeitung</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Statistik</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">R (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Statistics</subfield><subfield code="x">Data processing</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">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">Statistik</subfield><subfield code="0">(DE-588)4056995-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><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=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Murdoch, Duncan J.</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Bayreuth</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=017017356&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-017017356</subfield></datafield></record></collection> |
id | DE-604.BV035211129 |
illustrated | Illustrated |
indexdate | 2024-07-20T08:57:23Z |
institution | BVB |
isbn | 9780521872652 9780521694247 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-017017356 |
oclc_num | 289028958 |
open_access_boolean | |
owner | DE-739 |
owner_facet | DE-739 |
physical | X, 163 S. graph. Darst. |
publishDate | 2008 |
publishDateSearch | 2008 |
publishDateSort | 2008 |
publisher | Cambridge Univ. Press |
record_format | marc |
spelling | Braun, W. John 1963- Verfasser (DE-588)13396440X aut A first course in statistical programming with R W. John Braun and Duncan J. Murdoch 3. printing with corr. Cambridge [u.a.] Cambridge Univ. Press 2008 X, 163 S. graph. Darst. txt rdacontent n rdamedia nc rdacarrier Datenverarbeitung Statistik R (Computer program language) Statistics Data processing R Programm (DE-588)4705956-4 gnd rswk-swf Statistik (DE-588)4056995-0 gnd rswk-swf Statistik (DE-588)4056995-0 s R Programm (DE-588)4705956-4 s DE-604 Murdoch, Duncan J. Verfasser aut Digitalisierung UB Bayreuth application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017017356&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Braun, W. John 1963- Murdoch, Duncan J. A first course in statistical programming with R Datenverarbeitung Statistik R (Computer program language) Statistics Data processing R Programm (DE-588)4705956-4 gnd Statistik (DE-588)4056995-0 gnd |
subject_GND | (DE-588)4705956-4 (DE-588)4056995-0 |
title | A first course in statistical programming with R |
title_auth | A first course in statistical programming with R |
title_exact_search | A first course in statistical programming with R |
title_full | A first course in statistical programming with R W. John Braun and Duncan J. Murdoch |
title_fullStr | A first course in statistical programming with R W. John Braun and Duncan J. Murdoch |
title_full_unstemmed | A first course in statistical programming with R W. John Braun and Duncan J. Murdoch |
title_short | A first course in statistical programming with R |
title_sort | a first course in statistical programming with r |
topic | Datenverarbeitung Statistik R (Computer program language) Statistics Data processing R Programm (DE-588)4705956-4 gnd Statistik (DE-588)4056995-0 gnd |
topic_facet | Datenverarbeitung Statistik R (Computer program language) Statistics Data processing R Programm |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017017356&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT braunwjohn afirstcourseinstatisticalprogrammingwithr AT murdochduncanj afirstcourseinstatisticalprogrammingwithr |