Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

Fin 40230/70230 Prof.

Barry Keating
Business Forecasting

Partition Data

Purpose: To learn how to partition data using XLMiner ©.

Go to the website for this course and download the file “Partition Data Example.xls”.
Use this file to complete the following tasks. Hand in your work in class.

a) Print out the data contained in the Subset Example.xls file.


b) Partition the data (variables Y, X1, X2, X3, X4, X5, X6) into a training data set and a
validation data set using random partitioning with 60% of all of the data in the
training data set and 40% in the validation data set. Use the default random seed of
12345. Print out the XLMiner sheet that displays this data partition.
c) Partition the data (variables Y, X1, X2, X3, X4, X5, X6) into a training data set and a
validation data set using the partitioning variable “part1”. (t stands for a training data
set observation while v stands for a validation data set observation. Print out the
XLMiner sheet that displays this data partition.
d) Partition the data (variables Y, X1, X2, X3, X4, X5, X6) into a training data set, a
validation data set, and a test data set using random partitioning with 60% of all of
the data in the training data set, 20% in the validation data set, and 20% in the test data
set. Use the default random seed of 12345. Print out the XLMiner sheet that displays this
data partition.
e) Partition the data (variables Y, X1, X2, X3, X4, X5, X6) into a training data set, a
validation data set, and a test data set using the partitioning variable “part2”. (t
stands for a training data set observation, v stands for a validation data set observation,
and s stands for a test data set observation). Print out the XLMiner sheet that displays
this data partition.

You might also like