Below is a table depicting a small part of a data set that describes Major League Baseball players as of opening day of the 2011 season. The salaries are in thousand dollars per year. Player Team Position Age Salary Gomes, Jonny Beckett, Josh Sabathia, C. C. Rodriguez, Alex Reds Outfield 30 1,750 Red Sox Pitcher 17,000 24,286 32,000 31 Yankees Pitcher 31 Yankees Third base 36 What do you think the units in which each of the numerical variables is expressed? For example, what does it mean to give Josh Beckett's annual salary as 17,000? (Hint: The average salary of MLB players is above $3 million.)
Variables:
A variable is a trait that can be measured and has multiple possible values.
Categorical and numeric variables are the two basic types of variables. After that, each category is divided into two subcategories: nominal or ordinal for categorical variables, discrete or continuous for numeric variables.
Categorical variables:
Categorical variables have values that may be categorized into a countable number of separate groups depending on a characteristic. It gives categories to a categorical variable, but the categories have no natural order.
Variables with numbers:
Ordinal variables have a natural order. A numeric variable (also known as a quantitative variable) is a measurable attribute with numerical values (except numbers which are codes standing up for categories). Numeric variables can be discrete or continuous.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps