[CAS][SOA][申精] 精算统计编程-经管之家官网!

人大经济论坛-经管之家 收藏本站
您当前的位置> 统计>>

统计库

>>

[CAS][SOA][申精] 精算统计编程

[CAS][SOA][申精] 精算统计编程

发布:hisicon | 分类:统计库

关于本站

人大经济论坛-经管之家:分享大学、考研、论文、会计、留学、数据、经济学、金融学、管理学、统计学、博弈论、统计年鉴、行业分析包括等相关资源。
经管之家是国内活跃的在线教育咨询平台!

经管之家新媒体交易平台

提供"微信号、微博、抖音、快手、头条、小红书、百家号、企鹅号、UC号、一点资讯"等虚拟账号交易,真正实现买卖双方的共赢。【请点击这里访问】

提供微信号、微博、抖音、快手、头条、小红书、百家号、企鹅号、UC号、一点资讯等虚拟账号交易,真正实现买卖双方的共赢。【请点击这里访问】

09年一月的纽约精算协会年会上,即ASNY(ActuarialSocietyofGreaterNewYork),结识到一个高人,他谈到运用R进行精算数据分析的重要性。我问他:熟悉R至少要多久?他答:一个月。秘诀就是这本书。剑桥出版社资深作者W. ...
扫码加入金融交流群


09年一月的纽约精算协会年会上,即ASNY (Actuarial Society of Greater New York),结识到一个高人,他谈到运用R进行精算数据分析的重要性。
我问他:熟悉R至少要多久?
他答:一个月。
秘诀就是这本书。
剑桥出版社
资深作者W. John Braun and Duncan J. Murdoch
目录
Contents
Preface page ix
Getting started 1
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
Introduction to the R language 5
2.1 Starting and quitting R 5
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
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
Programming statistical graphics 33
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
Programming with R 47
4.1 Flow control 47
4.1.1 The for() loop 47
4.1.2 The if() 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
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
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
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
7.5.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
Index 161
「经管之家」APP:经管人学习、答疑、交友,就上经管之家!
免流量费下载资料----在经管之家app可以下载论坛上的所有资源,并且不额外收取下载高峰期的论坛币。
涵盖所有经管领域的优秀内容----覆盖经济、管理、金融投资、计量统计、数据分析、国贸、财会等专业的学习宝库,各类资料应有尽有。
来自五湖四海的经管达人----已经有上千万的经管人来到这里,你可以找到任何学科方向、有共同话题的朋友。
经管之家(原人大经济论坛),跨越高校的围墙,带你走进经管知识的新世界。
扫描下方二维码下载并注册APP
本文关键词:

本文论坛网址:https://bbs.pinggu.org/thread-498469-1-1.html

人气文章

1.凡人大经济论坛-经管之家转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
经管之家 人大经济论坛 大学 专业 手机版