楼主: hisicon
7432 28

[CFA] [CAS][SOA][申精] 精算统计编程 [推广有奖]

  • 3关注
  • 43粉丝

The Last Beethovenian

已卖:654份资源

教授

14%

还不是VIP/贵宾

-

威望
0
论坛币
10019 个
通用积分
4.3969
学术水平
14 点
热心指数
14 点
信用等级
10 点
经验
16241 点
帖子
936
精华
1
在线时间
1068 小时
注册时间
2008-11-3
最后登录
2022-4-17

楼主
hisicon 发表于 2009-7-18 13:55:52 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
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
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:统计编程 SOA CAS Optimization unrestricted SOA CAS Statistics Stat

已有 2 人评分论坛币 学术水平 热心指数 收起 理由
skghappy + 60 精彩帖子
yinjisheng + 100 + 1 + 1 奖励

总评分: 论坛币 + 160  学术水平 + 1  热心指数 + 1   查看全部评分

"We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are

沙发
murong2009(未真实交易用户) 发表于 2009-7-18 14:08:56
楼主的帖子很不错

藤椅
fishball82(真实交易用户) 发表于 2009-7-18 16:13:29
支持一下,好東西就是要頂~~~

板凳
lzw123ccc(未真实交易用户) 发表于 2009-7-18 16:15:01
R是什么软件?

报纸
lxfjj(未真实交易用户) 发表于 2009-7-18 17:36:05
R是什么软件?

地板
hisicon(未真实交易用户) 发表于 2009-7-19 06:51:50
lzw123ccc 发表于 2009-7-18 16:15
R是什么软件?
R is a powerful statistical software evolved from the language S, and is widely used as an open-ended, flexible programming language in the financial,actuarial, consulting, and statistical industry.
"We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are

7
sigh_happy(未真实交易用户) 发表于 2009-7-19 07:09:37
还没有见过在保险公司精算部门用R的,很多health insurance公司用SAS

8
hisicon(未真实交易用户) 发表于 2009-7-19 07:34:25
sigh_happy 发表于 2009-7-19 07:09
还没有见过在保险公司精算部门用R的
You wouldn't say that if you ever worked in New York.
Plus, health insurance division uses API (evolved from LISP markup) across country, never heard of SAS.
"We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are

9
hisicon(未真实交易用户) 发表于 2009-7-19 07:37:28
Sorry I didn't meant to offend you, but you apparently know little, if anything, about the power of R.
"We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are

10
sansucci(未真实交易用户) 发表于 2009-7-19 10:06:53
此贴要顶~!Danke~~~~~

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2025-12-6 05:02