Question

Using the chickwts dataframe, compute the 10th, 30th, and 90th percentiles of all the chick weights...

Using the chickwts dataframe, compute the 10th, 30th, and 90th percentiles of all the chick weights and then use tapply to determine which feed type is associated with the highest sample variance of weights. Use rStudio and the dataframe provided within rStudio named chickwts

Homework Answers

Answer #1

The following codes are run to get the required output:

> attach(chickwts)
The following objects are masked from chickwts (pos = 3):

feed, weight

The following objects are masked from chickwts (pos = 4):

feed, weight

> data=chickwts
> quantile(data[,1],c(0.10,0.30,0.90))
10% 30% 90%
153 217 359

> tapply(data[,1],INDEX=data[,2],FUN=var)
casein horsebean linseed meatmeal soybean sunflower
4151.720 1491.956 2728.568 4212.091 2929.956 2384.992


Hence, Meatmeal feed type  has the highest sample variance in the data.

I hope this clarifies your doubt. If you're satisfied with the solution, hit the Like button. For further clarification, comment below. Thank You. :)

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
5. Measures of relative standing (percentiles and quartiles), interquartile range A growth chart is a plot...
5. Measures of relative standing (percentiles and quartiles), interquartile range A growth chart is a plot of the percentiles of growth measurements, such as weight and height, for a population of infants or children. It is used by pediatricians to assess a child’s growth over time. The Centers for Disease Control and Prevention (CDC) is a U.S. agency devoted to the protection and promotion of public health. Through one of its units, the National Center for Health Statistics (NCHS), the...
*Answer all questions using R-Script* Question 1 Using the built in CO2 data frame, which contains...
*Answer all questions using R-Script* Question 1 Using the built in CO2 data frame, which contains data from an experiment on the cold tolerance of Echinochloa crus-galli; find the following. a) Assign the uptake column in the dataframe to an object called "x" b) Calculate the range of x c) Calculate the 28th percentile of x d) Calculate the sample median of x e) Calculate the sample mean of x and assign it to an object called "xbar" f) Calculate...
Do all the following problems. I. Choose the best answer for each multiple choice. Please use...
Do all the following problems. I. Choose the best answer for each multiple choice. Please use CAPITAL letters to indicate your answer and write neatly. (30 points) 1. ____ 4.____ 7. ____ 10.____ 13. ____ 2. ____ 5.____ 8. ____ 11.____ 14. ____ 3. ____ 6.____ 9. ____ 12.____ 15. ____ Whenever the population standard deviation is unknown and the population has a normal or near-normal distribution, which distribution is used in developing an interval estimation? A. standard distribution B....
The data below give the weights in ounces of randomly-selected bars of bath soap produced by...
The data below give the weights in ounces of randomly-selected bars of bath soap produced by two different molding machines. Weights (ounces) Machine 1 11.4 12.4 12.1 11.8 11.8 11.7 12.3 12.0 11.8 Machine 2 13.0 12.4 12.4 12.1 12.3 12.1 12.5 12.0 12.1 The question of interest is whether these two molding machines produce soap bars of differing average weight. The computed test statistic was found to be -2.75. Find the approximate P-value for the this test assuming that...
(1) A Chi-squared test is typically used to test for any of the following except which...
(1) A Chi-squared test is typically used to test for any of the following except which of the following? (A) If a mathematical model accurately predicts our observed frequencies of data values. (B) If a mathematical model accurately predicts the total number of observed data values. (C) If a mathematical model accurately predicts the pattern of our observed data values. (D) Whether two factors present in a population are independent of one another. (E) Whether a series of populations experience...
BridgeRock is a major manufacturer of tires in the U.S.. The company had five manufacturing facilities...
BridgeRock is a major manufacturer of tires in the U.S.. The company had five manufacturing facilities where tires were made and another 20 facilities for various components and materials used in tires. Each manufacturing facility produced 10,000 tires every hour. Quality had always been emphasized at BridgeRock, but lately quality was a bigger issue because of recent fatal accidents involving tires made by other manufacturers due to tread separation. All tire manufacturers were under pressure to ensure problems did not...
You will write a program that loops until the user selects 0 to exit. In the...
You will write a program that loops until the user selects 0 to exit. In the loop the user interactively selects a menu choice to compress or decompress a file. There are three menu options: Option 0: allows the user to exit the program. Option 1: allows the user to compress the specified input file and store the result in an output file. Option 2: allows the user to decompress the specified input file and store the result in an...
Item 1 In the case below, the original source material is given along with a sample...
Item 1 In the case below, the original source material is given along with a sample of student work. Determine the type of plagiarism by clicking the appropriate radio button. Original Source Material Student Version There is a desperate need for theorists and researchers to generate and refine a new breed of learning-focused instructional design theoriesthat help educators and trainers to meet those needs, (i.e., that focus on learning and that foster development of initiative, teamwork, thinking skills, and diversity)....
Economic inequality is a huge issue. A recent study found that the world’s 80 wealthiest individuals...
Economic inequality is a huge issue. A recent study found that the world’s 80 wealthiest individuals own as much as the entire world’s poorest 3.5 billion people. The richest 1 percent of the world’s population control half of the world’s total wealth. Many individuals, corporations, charities, and government agencies have projects and programs in place to attempt to tackle this and other important global issues such as sustainability, but there are many opportunities to do more. A grassroots group of...
Project Details The Acme Gadget Company designs and manufactures consumer gadgets. Last year, Acme began development...
Project Details The Acme Gadget Company designs and manufactures consumer gadgets. Last year, Acme began development of three prototype gadgets with the intention of bringing all three to market. However, a recent downturn in the economy has forced Acme to reconsider due to decreased consumer demand that is projected to remain low for 2-3 years. As such, Acme will bring only one of the prototypes to market. They’ve hired a consulting firm to advise which prototype to bring to market....
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT