In this set of exercises we shall follow the practice of conducting an experimental study. Researcher wants to see if there is any influence of working-out on body mass. Three groups of subjects with similar food and sport habits were included in the experiment. Each group was subjected to a different set of exercises. Body […]

# Exercises (intermediate)

## Data science for Doctors: Cluster Analysis Exercises

Data science enhances people’s decision making. Doctors and researchers are making critical decisions every day. Therefore, it is absolutely necessary for those people to have some basic knowledge of data science. This series aims to help people that are around medical field to enhance their data science skills. We will work with a health related […]

## User Defined Functions in R Exercises (Part 1)

In the Exercises we will discuss User Defined Function in R Answers to the exercises are available here. Exercise 1 Create a function to print square of number Exercise 2 Create a function to print a number raise to another with the one argument a default argument Exercise 3 Create a function to print class […]

## Forecasting: Exponential Smoothing Exercises (Part-3)

Exponential smoothing is a method of finding patterns in time series, which can be used to make forecasts. In its simple form, exponential smoothing is a weighted moving average: each smoothed value is a weighted average of all past time series values (with weights decreasing exponentially from the most recent to the oldest values). In […]

## Data science for Doctors: Inferential Statistics Exercises(Part-5)

Data science enhances people’s decision making. Doctors and researchers are making critical decisions every day. Therefore, it is absolutely necessary for those people to have some basic knowledge of data science. This series aims to help people that are around medical field to enhance their data science skills. We will work with a health related […]

## Forecasting: Linear Trend and ARIMA Models Exercises (Part-2)

There are two main approaches to time series forecasting. One of them is to find persistent patterns in a time series itself, and extrapolate those patterns. Another approach is to discover how a series depend on other variables, which serve as predictors. This set of exercises focuses on the first approach, while the second one […]

## Data Science for Operational Excellence (Part-2)

Network problems are everywhere. We can easily find instances in logistics, telecom, project mangement, among others. In order to attack these problems using linear programming we need to go beyond assign and transportation problems that we saw in part I. Our goal here is to expand the problems we can solve using lpsove and igraph […]

## Forecasting: Time Series Exploration Exercises (Part-1)

R provides powerful tools for forecasting time series data such as sales volumes, population sizes, and earthquake frequencies. A number of those tools are also simple enough to be used without mastering sophisticated underlying theories. This set of exercises is the first in a series offering a possibility to practice in the use of such […]

## Correlation and Correlogram Exercises

Correlation analysis is one of the most popular techniques for data exploration. This set of exercises is intended to help you to extend, speed up, and validate your correlation analysis. It allows to practice in: – calculating linear and nonlinear correlation coefficients, – testing those coefficients for statistical significance, – creating correlation matrices to study […]

## Data science for Doctors: Inferential Statistics Exercises(Part-4)

Data science enhances people’s decision making. Doctors and researchers are making critical decisions every day. Therefore, it is absolutely necessary for those people to have some basic knowledge of data science. This series aims to help people that are around medical field to enhance their data science skills. We will work with a health related […]