Concept explainers
Categorical or quantitative? Identify each of the following variables as categorical or quantitative.
- a. Number of children in family
- b. Amount of time in football game before first points scored
- c. College major (English, history, chemistry,…)
- d. Type of music (rock, jazz, classical, folk, other)
a.
Identify whether the variable is categorical or quantitative variable.
Answer to Problem 90CP
The variable number of children in family is quantitative variable.
Explanation of Solution
The given variable is that “number of children in family”.
Categorical variables and quantitative variables:
The variables are classified as categorical and quantitative variable. Quantitative variables are those variables that take numerical values while categorical variables do not take numerical values. Therefore, categorical variables are those in which observations belong to one set of categories and quantitative are those variables in which observation are numerical values.
The number of children in family can take values 0, 1, 2… etc. That is, the variable “number of pets in family” can take numerical values. Therefore, number of children in family is quantitative variable.
b.
Identify whether the variable is categorical or quantitative variable.
Answer to Problem 90CP
The variable amount of time in football game before first point is quantitative variable.
Explanation of Solution
The given variable is that “amount of time in football game before first point”.
The amount of time in football game before first point can take numerical values. Therefore, amount of time in football game before first point is quantitative variable.
c.
Identify whether the variable is categorical or quantitative variable.
Answer to Problem 90CP
The variable college major is categorical variable.
Explanation of Solution
The given variable is that “college major”.
The variable college major includes name of the subjects such as English, history, chemistry, etc. That is, the variable cannot take numerical values these are different subjects. Therefore, the variable college major is categorical variable.
d.
Identify whether the variable is categorical or quantitative variable.
Answer to Problem 90CP
The variable type of music is categorical variable.
Explanation of Solution
The given variable is that “type of music”.
The type of music is rock, jazz, classical, folk, and others. That is, the variable types of music do not take numerical values. Therefore, the variable type of music is categorical variable.
Want to see more full solutions like this?
Chapter 2 Solutions
Statistics: The Art and Science of Learning from Data (4th Edition)
- For context, the images attached below are a question from a June, 2024 past paper in statistical modelingarrow_forwardFor context, the images attached below (question and related graph) are from a February 2024 past paper in statistical modelingarrow_forwardFor context, the images attached below are from a February 2024 past paper in statistical modelingarrow_forward
- For context, the image provided below is a question from a September, 2024 past paper in statistical modelingarrow_forwardFor context, the image below is from a January 2024 past paper in statistical modelingarrow_forwardFor context, the image provided below is a question from a September, 2024 past paper in statistical modelingarrow_forward
- Section 2.2 Subsets 71 Exercise Set 2.2 Practice Exercises In Exercises 1-18, write or in each blank so that the resulting statement is true. 1. {1, 2, 5} {1, 2, 3, 4, 5, 6, 7} 2. {2, 3, 7} {1, 2, 3, 4, 5, 6, 7} 3. {-3, 0, 3} {-4,-3,-1, 1, 3, 4} 4. {-4, 0, 4} 5. {Monday, Friday} {-3, -1, 1, 3} {Saturday, Sunday, Monday, Tuesday, Wednesday} 6. {Mercury, Venus, Earth} {Venus, Earth, Mars, Jupiter} 7. {x/x is a cat} {xx is a black cat} {x|x is a pure-bred dog} ibrary mbers, ause the entire sual 8. {xx is a dog} 9. (c, o, n, v, e, r, s, a, t, i, o, n} {v, o, i, c, e, s, r, a, n, t, o, n} 10. [r, e, v, o, l, u, t, i, o, n} {t, o, l, o, v, e, r, u, i, n} 33. A = {x|x E N and 5 < x < 12} B = {x|x E N and 2 ≤ x ≤ 11} A_ B 34. A = {x|x = N and 3 < x < 10} B = A. {x|x = N and 2 ≤ x ≤ 8} B 35. Ø {7, 8, 9,..., 100} 36. Ø _{101, 102, 103, . . ., 200} 37. [7, 8, 9,...} 38. [101, 102, 103, ...} 39. Ø 40. { } { } e In Exercises 41-54, determine whether each statement is true or false. If…arrow_forwardA = 5.8271 ± 0.1497 = B 1.77872 ± 0.01133 C=0.57729 ± 0.00908 1. Find the relative uncertainty of A, B, and C 2. Find A-3 3. Find 7B 4. Find A + B 5. Find A B-B - 6. Find A * B 7. Find C/B 8. Find 3/A 9. Find A 0.3B - 10. Find C/T 11. Find 1/√A 12. Find AB²arrow_forwardWhy charts,graphs,table??? difference between regression and correlation analysis.arrow_forward
- You’re scrolling through Instagram and you notice that a lot of people are posting selfies. This piques yourcuriosity and you want to estimate the percentage of photos on Instagram that are selfies.(a) (5 points) Is there a “ground truth” for the percentage of selfies on Instagram? Why or why not?(b) (5 points) Is it possible to estimate the ground truth percentage of selfies on Instagram?Irrespective of your answer to the previous question, you decide to pull up n = 250 randomly chosenphotos from your friends’ Instagram accounts and find that 32% of these photos are selfies.(c) (15 points) Determine which of the following is an observation, a variable, a sample statistic (valuecalculated based on the observed sample), or a population parameter.• A photo on Instagram.• Whether or not a photo is a selfie.• Percentage of all photos on Instagram that are selfies.• 32%.(d) (5 points) Based on the sample you collected, do you think 32% is a reliable ballpark estimate for theground truth…arrow_forwardCan you explain this statement below in layman's terms? Secondary Analysis with Generalized Linear Mixed Model with clustering for Hospital Center and ICUvs Ward EnrolmentIn a secondary adjusted analysis we used generalized linear mixed models with random effects forcenter (a stratification variable in the primary analyses). In this analysis, the relative risk for the primaryoutcome of 90-day mortality for 7 versus 14 days of antibiotics was 0.90 (95% Confidence Interval [CI]0.78, 1.05).arrow_forwardIn a crossover trial comparing a new drug to a standard, π denotes the probabilitythat the new one is judged better. It is desired to estimate π and test H0 : π = 0.5against H1 : π = 0.5. In 20 independent observations, the new drug is better eachtime.(a) Find and plot the likelihood function. Give the ML estimate of π (Hint: youmay use the plot function in R)arrow_forward
- Holt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGALGlencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillBig Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin Harcourt