Sheet 01

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Technical University of Munich MA9712 Statistics for Business Administration

Chair of Mathematical Finance Summer Semester 2018


PD Dr. Aleksey Min, Dr. Carlos Amendola, Miriam Jaser Exercise Sheet 1

13 April 2018

Tutorial Exercises

Exercise T.1

Within the framework of the Munich Rent Report several variables were surveyed. Discuss the
variables net rent (in Euro), living size (in m2 ), building age (in years), central heating (yes/no), hot
water supply (yes/no), good location (yes/no), and upscale bathroom equipment (yes/no) regard-
ing their variable type (i.e. nominal, ordinal, metric). In addition, decide whether the variables are
quantitative or qualitative and whether they are discrete or continuous variables.

Exercise T.2

A statistical consulting company is charged with the following topics:

a) quality tests of wine from Koblenz,

b) quality inspections of condom production,

c) analysis of addiction behavior of youths.

As head of the data collection department, you should decide between a full survey and a sample
survey to collect the required data. Give reasons for your decisions.

Homework Exercises

Exercise H.1

In order to improve the planning of parking spaces and the use of company-owned busses, a com-
pany is interested in some information about its employees. Specifically, the company is interested
in the distance from their place of residence and the means of transport predominantly used by
their employees to reach the workplace. To this end, the company uses a survey in which the eco-
nomic situation of the employees was assessed. On a reference date, 50 employees were selected
and questioned on the following aspects:

- household size (number of people living in the household),


- monthly rent,
- means of transport predominantly used to reach the workplace,
- distance between the place of residence and the place of work,
- own assessment of economic situation with 1 = very good, ... , 5 = very bad.

a) Specify the population and the statistical units of analysis (the sample).

b) Which values can the collected variables take and of which type are these variables?

1 (please look for the next page)


R-Exercises

Exercise R.1

Assign the sequences below to different variables in R. Make use of the R-function seq() first. If it
cannot be managed in this way then use the R-function c().

a) 1, 2, 3, 5, 8, 13, 21, 34

b) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

c) 1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10

d) 1, 8, 27, 64, 125, 216

e) 1964, 1965, . . . , 2003

f) 14, 18, 23, 34, 42, 50, 59, 66, 72, 79, 86, 96, 103, 110

g) 0, 25, 50, 75, 100, . . . , 975, 1000

Exercise R.2

A student of TUM had the following travel times (in minutes) to university for the last 10 working
days:

17 16 20 24 22 15 21 15 17 22

a) Store the above data as a vector in R. Apply the R-functions max(), mean() and min() to the
data to determine the longest, the average and the shortest travel time.

b) It turned out that the observation with value 24 was wrongly recorded. Instead, the travel
time was 18 minutes on this day. Correct this mistake in the data in R by changing only the
wrong value of the vector you have defined. Now, compute the average travel time again.

c) How often did it take more than 20 minutes for the student to get to university?

d) What is the proportion of travel times, which were less than 18 minutes?

You might also like