ACTL1101 Lecture Notes - Lecture 5: Standard Deviation, Gzip

37 views4 pages
22 Oct 2018
Course
Professor

Document Summary

# load the package install. packages("moments") library("moments") total1 % summarise(avg = mean(grosslossbuilding), # find the standard deviation skewness = skewness(grosslossbuilding)) # find the skewness claims % group_by(georisk) a % summarise(num_claim=n()) a. # find the claims in group of georisk policies % group_by(georisk) # find the policies in group of georisk total2 % mutate(claim_pppy=num_claim/num_policy/10) # calculate the average claims per policy per year. Content type "application/x-gzip" length 5686536 bytes (5. 4 mb) downloaded 5. 4 mb. The following objects are masked from (cid:528)package:stats(cid:529): filter, lag. The following objects are masked from (cid:528)package:base(cid:529): intersect, setdiff, setequal, union. Content type "application/x-gzip" length 54657 bytes (53 kb) downloaded 53 kb. > # find the claims in group of georisk. > # find the policies in group of georisk. > # calculate the average claims per policy.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions