Exercises Lesson 3
In these exercises we will practice using the source nodes demonstrated in this lesson. The exercise data file is to be
used throughout the course and exists in three formats; comma delimited (charity.csv), Excel (charity.
Exercises Lesson 6
In this exercise we some manipulation on the fields in the charity data.
1. Read data from charity.sav (Read names and labels; Read labels as data).
2. Connect a Filter node between the Statistics File node and the Table n
Exercises Lesson 4
In this exercise, we will first use the Data Audit node to assess a smaller version of the charity data in which
we have introduced some missing data. We will then use the stream created in the previous exercise and the
Assignment 3 - Programming with for/while and if/else
Noah DeStefano Section: TR
due February 7, 2017
(Basic for loop) The infinite sequence 1 + 1/2 + 1/4 + 1/8 + 1/16 + . + 1/ 2^i + . can
be shown to sum to 2. Verify that this seems reasonable by defin
Activity 4 - Functions
Noah Destefano TR
due February 14, 2017
Write a function called fracunique that takes an argument x (a vector) and returns the
fraction of element of x that are distinct. For example, running
fracunique( c(1,1,2,6,6,8,8,6) ) would
Assignment 2 - Data Integrity
Noah Destefano TR section
due 1/31/17 by 5pm
In this assignment, you will get some practice with validating data and dealing with data
integrity issues. You will read in the dozer.csv, which is up on Blackboard. See also the
Assignment 5 - Classification with Naive Bayes and
Noah DeStefano Section: TR
due February 21, 2017
Write a function called probability_demo that takes a single number between 0
and 1 as the argument (the probability of some event) a
Assignment 1 - Data Manipulation
NAME: Noah DeStefano SECTION: TR
Due 1/24/2017 by 5pm
In this assignment you will get more practice with basic data manipulation. On
Blackboard there is a file called Assignment1.RData. This file is
-title: "Assignment 2 - Data Integrity"
author: "Noah Destefano
date: "due 1/31/17 by 5pm"
-`cfw_r setup, include=FALSE
#DO NOT CHANGE THIS CHUNK
#Note: for this to knit, both the regclass/lubridate packages must have
Exercises Lesson 5
In these exercises you will use a new data file, custandhol.dat, which contains information on customer
holidays arranged by a leading travel company. This table lists the fields in the file, which include
Exercises Lesson 9 Due Friday
In this exercise you will restructure the data that was merged in the exercises for Lesson 8 to create a file that
has one record per holiday code. Each new record will contain information including total number
Exercises Lesson 8
We will use data from the travel company that we used previously for the exercises in Lesson 5. In that
lesson the data file had already been combined; here our job is to combine separate files to create the
merged holidays file.
Exercises Lesson 7
In this session we will use the stream created in the previous exercises and investigate whether there are any
simple relationships in the data. In future lessons we will attempt to predict the field Response to campaign,
Exercises Lesson 10
In these exercises, we will use the charity data file.
1. Import data from charity.sav (Statistics File; Read names and labels; Read labels as data).
2. First, we will sort the file on Pre-campaign expenditure (ORISPEND)