Create a new variable in your data frame


Problem: You decide to create a new variable in your data frame called friendly which is true if contact is greater than 40 and false otherwise (meaning you spoke for more than 40minduring your interview). After doing this, you decide to examine what number of aliens of each colour are friendly(or not) by constructing a cross-tabulation (table) with colour and friendly as your two variables. What statement best describes your data?

A. The cross-tabulation with both variables has four total cells in it.

B. Red aliens have the greatest proportion of friendly ones

C. There are more friendly orange aliens than total white aliens.

D. In total, there are an equal number of friendly and unfriendly aliens

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Create a new variable in your data frame
Reference No:- TGS03340987

Expected delivery within 24 Hours