Articles by Miodrag Sljukic

Exploratory Factor Analysis – Exercises

June 14, 2017 | Miodrag Sljukic

This set of exercises is about exploratory factor analysis. We shall use some basic features of psych package. For quick introduction to exploratory factor analysis and psych package, we recommend this short “how to” guide. You can download the dataset here. The data is fictitious. Answers to the exercises are ... [Read more...]

Experimental Design Exercises

April 23, 2017 | Miodrag Sljukic

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 ... [Read more...]

Data Structures Exercises

March 15, 2017 | Miodrag Sljukic

There are 5 important basic data structures in R: vector, matrix, array, list and dataframe. They can be 1-dimensional (vector and list), 2-dimensional (matrix and data frame) or multidimensional (array). They also differ according to homogeneity of elements they can contain: while all elements contained in vector, matrix and array must ... [Read more...]

String Manipulation – Exercises

November 27, 2016 | Miodrag Sljukic

In this set of exercises we will practice functions that enable us to manipulate strings.You can find more about string manipulation functions in Handling and Processing Strings in R e-book. Answers to the exercises are available here. If you have different solution, feel free to post it. Exercise 1 Load ... [Read more...]

Nonparametric Tests Exercises

November 20, 2016 | Miodrag Sljukic

In this set of exercises you will be presented with real-life problems in marketing. Your task will be to choose appropriate nonparametric statistical technique and solve the problem using appropriate R functions. Answers to the exercises are available here. Exercise 1 A company wants to learn if sales income is equaly ... [Read more...]

Network Analysis Part 3 Exercises

October 20, 2016 | Miodrag Sljukic

This is the third set of exercises on networks in which we practice the functions for graph structure, using package igraph. The first and second part are available here: Part 1 Part 2 If you don’t have package already installed, install it using the following code: install.packages("igraph") and load ... [Read more...]

Network Analysis Part 2 Exercises

October 2, 2016 | Miodrag Sljukic

In this set of exercises we shall practice the functions for network statistics, using package igraph.If you don’t have package already installed, install it using the following code: install.packages("igraph") and load it into the session using the following code: library("igraph") before proceeding. You can find ... [Read more...]

Network Analysis Part 1 Exercises

September 15, 2016 | Miodrag Sljukic

In this set of exercises we shall create an empty graph and practice the functions for basic manipulation with vertices and edges, using the package igraph. If you don’t have the package already installed, install it using the following code: install.packages("igraph") and load it into the session ... [Read more...]

Fundamental and Technical Analysis of Shares Exercises

August 31, 2016 | Miodrag Sljukic

In this set of exercises we shall explore possibilities for fundamental and technical analysis of stocks offered by the quantmod package. If you don’t have the package already installed, install it using the following code: install.packages("quantmod") and load it into the session using the following code: library("... [Read more...]

Stock Prices Analysis part 3 – Exercises

August 9, 2016 | Miodrag Sljukic

This is the third and the final part of the exercises dedicated to analysis of stock prices. In this part we will provide exercises for testing the type of distribution of stock prices and analysing and predicting stock prices using ARIMA models. You dont need to be an expert stock’... [Read more...]

Stock prices analysis part 2 exercises

August 2, 2016 | Miodrag Sljukic

This is the second part of the exercises dedicated to analysis of stock prices. In this part we will provide exercises for plotting, fitting linear model and predicting stock prices. You dont need to be an expert stock’s trader in order to understand the examples, but you should go ... [Read more...]

Stock prices analysis part 1 exercises

July 26, 2016 | Miodrag Sljukic

In this set of exercises we are using R to analyse stock prices. This is the first part where we exercise basic descriptive statistics. You dont need to be an expert stock trader in order to understand examples. Where needed, additional explanations will be provided. All examples will be based ... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)