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, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
question
Computers and Technology, 24.06.2019 03:40
4. does the kernel phenotype distribution support the idea that the cob is the result of a dihybrid cross? what information supports your answer? if a dihybrid cross (i.e. f1 to f2 of standard mendelian crosses) is not indicated what conditions might contribute to this finding.
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
What is the process in which the software development team compiles information to determine the final product
Answers: 1
You know the right answer?
Calculating distance with categorical predictors. this exercise with a tiny dataset illustrates the...
Questions
question
Mathematics, 17.04.2021 23:50
Questions on the website: 13722360