A first course in statistical programming with R:
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Cambridge [u.a.]
Cambridge Univ. Press
2009
|
Ausgabe: | 1. publ., 5. print. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | X, 163 S. graph. Darst. |
ISBN: | 9780521872652 9780521694247 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV036764934 | ||
003 | DE-604 | ||
005 | 20101110 | ||
007 | t | ||
008 | 101109s2009 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)695930806 | ||
035 | |a (DE-599)BVBBV036764934 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a eng | |
049 | |a DE-739 | ||
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 | ||
084 | |a MAT 620f |2 stub | ||
084 | |a DAT 368f |2 stub | ||
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 1. publ., 5. print. | ||
264 | 1 | |a Cambridge [u.a.] |b Cambridge Univ. Press |c 2009 | |
300 | |a X, 163 S. |b graph. Darst. | ||
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 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 Passau |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=020681893&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-020681893 |
Datensatz im Suchindex
_version_ | 1804143433810444288 |
---|---|
adam_text | Contents
Preface
page
їх
1 Getting started
ι
1.1
What is statistical programming?
1
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
2
¡
Introduction to the
R
language
5
5
6
7
7
7
9
9
12
12
12
13
14
15
16
16
17
18
18
19
21
21
23
25
26
26
27
28
29
29
2.1
Starting and quitting
R
2.1.1
Recording your work
2.2
Basic
features of
R
2.2.1
Calculating with
R
2.2.2
Named storage
2.2.3
Functions
2.2.4
Exact or approximate?
2.2.5
R
is case-sensitive
2.2.6
Listing the objects in the workspace
2.2.7
Vectors
2.2.8
Extracting elements from vectors
2.2.9
Vector arithmetic
2.2.10
Simple patterned vectors
2.2.11
Missing values and other special values
2.2.12
Character vectors
2.2.13
Factors
2.2.14
More on extracting elements from vectors
2.2.15
Matrices and arrays
2.2.16
Data frames
2.2.17
Dates and times
2.3
Built-in functions and online help
2.3.1
Built-in examples
2.3.2
Finding help when you don t know
the function name
2.3.3
Built-in graphics functions
2.3.4
Additional elementary built-in functions
2.4
Logical vectors and relational operators
2.4.1
Boolean algebra
2.4.2
Logical operations in
R
2.4.3
Relational operators
2.5
Data
:
input and output
2.5.1
Changing directories
2.5.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
зз
3.1
High-level plots
33
3.1.1
Bar charts and dot charts
34
3.1.2
Pie 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
4
I Programming with
R
47
4.1
Flow 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 fix
() 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
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
ш
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
Numerical optimization
132
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
7.5
Linear
programming
142
145
145
146
149
150
151
151
157
Appendix
;
Review of random variables
!
and distributions
158
!
Index
161
7.5.1
Solving linear programming problems in
R
7.5.2
Maximization and other kinds of constraints
7.5.3
Special situations
7.5.4
Unrestricted variables
7.5.5
Integer programming
7.5.6
Alternatives to lp
( )
7.5.7
Quadratic programming
Chapter exercises
|
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 | BV036764934 |
classification_rvk | QH 231 ST 250 ST 601 |
classification_tum | MAT 620f DAT 368f |
ctrlnum | (OCoLC)695930806 (DE-599)BVBBV036764934 |
discipline | Informatik Mathematik Wirtschaftswissenschaften |
edition | 1. publ., 5. print. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01618nam a2200421 c 4500</leader><controlfield tag="001">BV036764934</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20101110 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">101109s2009 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)695930806</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV036764934</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="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="084" ind1=" " ind2=" "><subfield code="a">MAT 620f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 368f</subfield><subfield code="2">stub</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">1. publ., 5. print.</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">2009</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="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 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=020681893&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-020681893</subfield></datafield></record></collection> |
id | DE-604.BV036764934 |
illustrated | Illustrated |
indexdate | 2024-07-09T22:47:35Z |
institution | BVB |
isbn | 9780521872652 9780521694247 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-020681893 |
oclc_num | 695930806 |
open_access_boolean | |
owner | DE-739 |
owner_facet | DE-739 |
physical | X, 163 S. graph. Darst. |
publishDate | 2009 |
publishDateSearch | 2009 |
publishDateSort | 2009 |
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 1. publ., 5. print. Cambridge [u.a.] Cambridge Univ. Press 2009 X, 163 S. graph. Darst. txt rdacontent n rdamedia nc rdacarrier 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 Passau application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=020681893&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 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 | R Programm (DE-588)4705956-4 gnd Statistik (DE-588)4056995-0 gnd |
topic_facet | R Programm Statistik |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=020681893&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT braunwjohn afirstcourseinstatisticalprogrammingwithr AT murdochduncanj afirstcourseinstatisticalprogrammingwithr |