Sale!

Homework 1 of STAT 3355 Data Analysis for Statisticians & Actuaries solved

Original price was: $35.00.Current price is: $30.00. $25.50

Category:

Description

5/5 - (5 votes)

Problem 1 (3 points)
Find the numeric answers of the following mathematical expressions (up to 2 decimal
places if the answer is not an integer).
(a) 6 + 5 − 4/3
2
(b) exp p
(14 + 13)/(12 + 11)
(c)
11+12!
13!+14 2
Problem 2 (2 points)
The monthly sales figures of Hummer H2 vehicles in the U.S. during 2002 were 2700,
2600, 3050, 2900, 3000, 2500, 2600, 3000, 2800, 3200 2800 3400. Please answer the
following questions.
(a) Enter this data into a data vector called H2
(b) Name the data vector with the month abbreviation
(c) What is the total number of Hummer H2 sold in 2002?
(d) Using diff(), find the month with the greatest increase from the previous month,
and the month with the greatest decrease from the previous month
Problem 3 (3 points)
Rewrite each code block to comply with the “Homework and Project Code Style Guide”
(a)
x <- c( 1 ,-2,3 ,-4,5,100 )
y <- x * – 1 y [ y >0 ]