subject

Calculating distance with categorical predictors. this exercise with a tiny dataset illustrates the calculation of euclidean distance and the creation of binary dummies. (note that creating dummies is not required in certain software such as jmp, but it is useful to understand how they are derived and used).

the online education company statistics. com segments its customers and prospects into three main categories: it professionals (it), statisticians (stat), and other (other). it also tracks, for each customer, the number of years since first contact (years). consider the following customers; information about whether they have taken a course or not (the outcome to be predicted) is included:

customer 1: stat, 1 year, did not take course

customer 2: other, 1.1 year, took course

a. consider now the following new prospect:

prospect 1: it, 1 year

using the information given above on the two customers and one prospect, create one dataset for all three with the categorical predictor variable transformed into 2 dummy variables, and a similar dataset with the categorical predictor variable transformed into 3 dummy variables.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:00
Complete the sentence about a presentation delivery method
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
Where can page numbers appear? check all that apply. in the header inside tables in the footer at the bottom of columns at the top of columns
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Each row in a database is a set of unique information called a(n) ? a.) table. b.) record. c.) object. d.) field.
Answers: 2
question
Computers and Technology, 25.06.2019 02:30
What group of plants produce fruit? question 2 options: gymnosperms nonvascular plants seedless vascular plants angiosperms
Answers: 1
You know the right answer?
Calculating distance with categorical predictors. this exercise with a tiny dataset illustrates the...
Questions
question
Mathematics, 26.10.2021 14:00
question
Chemistry, 26.10.2021 14:00
question
Mathematics, 26.10.2021 14:00
question
History, 26.10.2021 14:00
Questions on the website: 13722360