Question

In R studio please explain how to do the stemplot? A sample of 20 endangered species...

In R studio please explain

how to do the stemplot?

A sample of 20 endangered species was obtained and the length of time (in months) since being placed on the list was recorded for each species. A stemplot of these data follows. In the stemplot, 5|2 represents 52 months.

5   2 4 8 9 9

6   0 0 3 5 6 7 8 9

7   3 4 7 8 9 9

8

9   8

The median length of time (in months) since being placed on the list for these 20 species is:

a) 66.0.

b) 66.5.

c) 67.0.

d) 67.5.

In measuring the center of the data from a skewed distribution, the median would be preferred over the mean for most purposes

because:

a) the median is the most frequent number while the mean is most likely

b) the mean may be too heavily influenced by the larger observations and this gives too high an indication of the center

c) the median is less than the mean and smaller numbers are always appropriate for the center

d) the mean measures the spread in the data

e) the median measures the arithmetic average of the data excluding outliers.

The ratio level of measurement is represented in which variable below?

a) Zip code

b) Class standing (freshman, sophomore, junior, senior

c) High temperature

d) Age

Consider the basic syntax of the barplot function .

barplot(H, xlab, ylab, main, names.arg, col, border) Then names.arg

a) is a vector of the labels to be used for the x-axis and y-axis.

b) is a vector containing numeric values used in bar chart.

c) is a vector of the names that will appear under each bar

d) is used to define the title of the bar chart

An R tibble displays:

a) only the first 10 rows, and all the columns that fit on screen.

b) only the first 10 rows and the first 10 columns

c) all rows and all columns

d) all rows and all the columns that fit on screen

Homework Answers

Answer #1

We have given the A sample of 20 endangered species was obtained and the length of time (in months) since being placed on the list was recorded for each species. A stem plot of these data follows.

In the stem plot, 5|2 represents 52 months.

5   2 4 8 9 9

6   0 0 3 5 6 7 8 9

7   3 4 7 8 9 9

8

9   

the numbers is as 52,54,58,59,59, 60,60,63,65,66,67,68,69 ,73,74,77,78,79,79

we have to calculate the median length of time (in months) since being placed on the list for these 20 species is:

We Know that formula for the Median is  

If the total number of numbers(n) is an even number, then the formula is given below:

if the given number is in ascending order

n=20

In R code is as

x<-c(52,54,58,59,59, 60,60,63,65,66,67,68,69 ,73,74,77,78,79,79)

median(x)

R -Output

66

therefore here

Median=66.

Option A is correct.

  • Result: median length of time (in months) since being placed on the list for these 20 species is: 66

____________________________________________________________________________________________

In measuring the center of the data from a skewed distribution, the median would be preferred over the mean for most purposes

  • for option A the mode is is the most frequent number while the mean is most likely. so Option A is wrong.
  • for the option B   we know that the Median is the most Robust i.e. the median is appropriate in the presence of outliers. and the presence of outliers the mean is violated to the large number therefore the Option B is correct .i.e. the mean may be too heavily influenced by the larger observations and this gives too high an indication of the center
  • For option C there is no need that Median is smaller than mean. Option C is wrong.
  • For option D. The dispersion statistics measures the variation in the data and Median is the not the dispersion statistics it is the one of the measures of central tendency. Option D is wrong.
  • For option E. The median measures the arithmetic average of the data excluding outliers. Option E is wrong.
  • Result: In measuring the center of the data from a skewed distribution, the median would be preferred over the mean for most purposes: B) the mean may be too heavily influenced by the larger observations and this gives too high an indication of the center.

_________________________________________________________________________________________

we have to find out the The ratio level of measurement is represented in which variable below

Variable Scale
Zip code Nominal Scale
Class standing (freshman, sophomore, junior, senior Ordinal Scale
High temperature Interval Scale
Age ratio Scale
  • Result: The ratio level of measurement is represented in D) Age

___________________________________________________________________________________________

syntax of the barplot function is as

barplot(H, xlab, ylab, main, names.arg, col, border) Then names.arg

a) is a vector of the labels to be used for the x-axis and y-axis.

Option A is wrong. xlab and the ylab arguments are used for the labels to be used for the x-axis and y-axis.

b) is a vector containing numeric values used in bar chart.

Option B is wrong. above syntax H will a vector containing numeric values used in bar chart

c) is a vector of the names that will appear under each bar

Option C is correct. The Syntax names.arg is used for the names that will appear under each bar

d) is used to define the title of the bar chart

Option D is wrong. title argument are used for the define the title of the bar chart.

  • Result: Then names.arg Option C is correct. The Syntax names.arg is used for the names that will appear under each bar

____________________________________________________________________________________________

An R tibble displays:

a) only the first 10 rows, and all the columns that fit on screen.

Option A is correct.

b) only the first 10 rows and the first 10 columns

c) all rows and all columns

d) all rows and all the columns that fit on screen

  • Result:  An R tibble displays: A) only the first 10 rows, and all the columns that fit on screen.

___________________________________________________________________________________________

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Here are the numbers of calls received during 20 randomly chosen, 15 -minute time intervals at...
Here are the numbers of calls received during 20 randomly chosen, 15 -minute time intervals at a customer support service. 1 , 4 , 6 , 6 , 8 , 9 , 11 , 11 , 11 , 12 , 13 , 13 , 14 , 14 , 17 , 17 , 18 , 18 , 21 , 23 (a) Which measures of central tendency do not exist for this data set? Choose all that apply. Mean Median Mode None...
Measures of Center & Outliers The following are the weights of a sample of female high...
Measures of Center & Outliers The following are the weights of a sample of female high school students: 08 |8 09 | 5 2 0 9 10 | 4 9 3 11 | 5 9 8 3 12 | 3 9 7 7 6 14 | 0 6 3 15 | 4 1 7 2 18 | 5 This table, for example, indicates that one female weighs 88 pounds and that no female students weigh between 130 and 139 pounds....
A firm wants to establish how long it is supposed to take to assemble a certain...
A firm wants to establish how long it is supposed to take to assemble a certain product. A random sample of 13 employees is selected and the company measures how long it takes each of them to assemble the product rounded to the nearest minute. Data: 5; 45; 11; 9; 14; 22; 45; 16; 30; 25; 19; 45; 15 Solve the following by hand. You must show your work including the formulas and all your computations. 3. The mean is:...
1 An x̅ chart with a sample size of 4 is used to control the mean...
1 An x̅ chart with a sample size of 4 is used to control the mean of a normally distributed quality characteristic. It is known that process standard deviation is 8. The upper and lower control limits of the chart are 147 and 123 respectively. Assume the process mean shifts to 121. What is the probability that this shift is detected on the first subsequent sample? What is expected number of samples taken before the shift is detected? 2 The...
please solve and show steps. 1. The closing stock price of Ahmadi, Inc. for a sample...
please solve and show steps. 1. The closing stock price of Ahmadi, Inc. for a sample of 10 trading days is shown below. Day Stock Price 1 135 2 137 3 144 4 138 5 135 6 139 7 151 8 133 9 232 10 166 For the above sample, compute the following measures. a. The mean b. The median c. The mode d. The range 2. The flashlight batteries produced by one of the northern manufacturers are known to...
Use R to do each of the following. Use R code instructions that are as general...
Use R to do each of the following. Use R code instructions that are as general as possible, and also as efficient as possible. Use the Quick-R website for help on finding commands. 1. Enter the following values into a data vector named Dat: 45.4 44.2 36.8 35.1 39.0 60.0 47.4 41.1 45.8 35.6 2. Calculate the difference between the 2nd and 7th entries of this vector using only reference indices. 3. Calculate the median of Dat. 4. Sort the...
A firm wants to establish how long it is supposed to take to assemble a certain...
A firm wants to establish how long it is supposed to take to assemble a certain product. A random sample of 13 employees is selected and the company measures how long it takes each of them to assemble the product rounded to the nearest minute. Data: 5; 45; 11; 9; 14; 22; 45; 16; 30; 25; 19; 45; 15 Solve the following by hand. You must show your work including the formulas and all your computations. 3. The mean is:...
A Guide to SQL Questions 1. How do you create a table using SQL? 2. How...
A Guide to SQL Questions 1. How do you create a table using SQL? 2. How do you delete a table using SQL? 3. What are the common data types used to define columns using SQL? 4. Identify the best data type to use to store the following data in Oracle, in SQL Server, and in Access:    a. The month, day, and year that an employee was hired    b. An employee’s Social Security number    c. The department...
SHOW ALL WORK. DO NOT USE SOFTWARE TO GENERATE ANSWERS. Calculate the R-chart and X-bar chart...
SHOW ALL WORK. DO NOT USE SOFTWARE TO GENERATE ANSWERS. Calculate the R-chart and X-bar chart limits for the data given below. Day A B C D 1 7.2 8.4 7.9 4.9 2 5.6 8.7 3.3 4.2 3 5.5 7.3 3.2 6.0 4 4.4 8.0 5.4 7.4 5 9.7 4.6 4.8 5.8 6 8.3 8.9 9.1 6.2 7 4.7 6.6 5.3 5.8 8 8.8 5.5 8.4 6.9 9 5.7 4.7 4.1 4.6 10 3.7 4.0 3.0 5.2 11 2.6 3.9...
1. Joint frequency distributions are used to display: Select one: a. the cumulative distribution of a...
1. Joint frequency distributions are used to display: Select one: a. the cumulative distribution of a variable with two possible outcomes. b. the histograms of two variables analyzed simultaneously. c. the relative frequency of two variables. d. the number of occurrences at each of the possible joint occurrences of two variables. 2.For which data collection method is it most important to have a polished-looking survey form? Select one: a. Telephone survey b. Experimental design c. Written questionnaire d. Personal interview...