Information on measurements of the iris flowers

Assignment Help Basic Statistics
Reference no: EM13934129

The file "flowers.csv" contains information on measurements of the iris flowers. The file can be found here: flowers.csv. Create an R data frame by the name "flower.data" that contains the data in the file. The following R code shows an example of how to round a vector of numbers to zero decimal places and then calculate some statistics using the rounded numbers. You might need some of the calculations for this assignment, but you might not need others. You would replace example$years with the name of the R object that you want to analyze (in other programming languages, you might call example$years a variable).

> x <- round(example$years, 0)
> freq <- table(x)
> rel.freq <- freq/sum(freq)
> cumsum(rel.freq)
Cumulative Frequency Table for Petal Length
Use the following table to answer tasks 2-4.
Value:
1
2
3
4
5
6
7
Cumulative Relative Frequency:
.16
.33
.35
.58
.81
.97
1.00
Tasks
1. Sometimes it is difficult to understand data if you do not know what the numbers represent. Provide short definitions of two words: sepal, and petal (be sure to cite your sources even if you paraphrase):
sepal:
petal:

2. There is a cumulative relative frequency table printed above for petal lengths (using rounded values for petal length). Below the number 3 in that table is the number .35. What does .35 represent? (multiple choice)
a. Three of the flowers had petal length of 0.35.
b. There were 0.35 observations that had petal length of 3 (after rounding the petal lengths).
c. Of all the flowers measured in this sample 35% had a petal length of 3 (after rounding the petal lengths).
d. Of all the flowers measured in this sample 35% had a petal length of 3 or less (after rounding the petal lengths).
e. A study of all flowers on the planet would show that about 35% had petal lengths of 3 or less (after rounding the petal lengths).

3. Using only the cumulative relative frequency table printed above combined with some simple paper-and-pencil calculations, which petal length occurs most frequently ?

4. Describe how you determined your answer to the previous question (describe the calculations that you used). Do not show R code for this task--it will not be counted as an answer.

5. Assuming that you read the flowers.csv file into an R object called flower.data, run the following R code (do not paste the ">" character into R) and paste both the command and the output into your answer (you should see five names, each of which should be enclosed in quotes--if you do not see this, try again or contact your instructor):
> names(flower.data)

6. The number of observations in the "flower.data" data frame is:

7. List the variables in the data frame (you can do this by entering the name of the R object that holds that data that you read using the read.csv command--you should have called it flower.data). If you do not see five columns of data, then there was a problem reading the input file--try again or contact your instructor. For each variable identify the type of the variable (factor or numeric).
The name and type of the 1st variable:
The name and type of the 2nd variable:
The name and type of the 3nd variable:
The name and type of the 4nd variable:
The name and type of the 5nd variable:

8. Round the data for the variable Sepal.Length so that it contains integers, then find the frequency of the value 7 (not the relative frequency):

Assuming that you read the flowers.csv file into an R object called flower.data, run the following R code (do not paste the ">" character into R). Note that we are not rounding the numbers here. Use the output for the next five tasks:
> table(flower.data$Sepal.Width)
> plot(table(flower.data$Sepal.Width))

9. What is the sum of the first three frequencies in the frequency table for sepal width? _____

10. What does your answer to the previous question represent (in terms of sepal width and frequency and the percentage of all sepal measurements) ____

11. What is the sum of the last three frequencies in the frequency table for sepal width?

12. What percentage of flowers in the sample had sepal widths less than 4 (do NOT round the sepal width numbers for this, but you can round your final answer to 3 decimal places)?

13. What does the tallest bar in the plot represent?

14. Create a frequency table that shows the frequencies for each species of flower in the sample. Paste your R command and output into your answer.

15. Explain two things about the table that you created for the previous task:
Why did the frequency table for flower species contain words in the first row as opposed to numbers?
What is the meaning of the numbers in the second row of the table

Reference no: EM13934129

Questions Cloud

You start with your new company at the higher pay grade. : You start with your new company at the higher pay grade. Is that ethical?
Supply electric motors for commercial refrigerators : locations: Jung (Sweden), Reynosa (Mexico), Pohang (South Korea) and East Tamaki (New Zealand). The electric motors are manufactured by Nanuq Europe which has three plants capable of producing these motors. These plants are located in Gaydon (UK),..
Government of untied state put strict rules : Why cyber stalking accuses women? Should government of untied state put strict rules against cyber stalking?
How to complete the table using the production analysis : Capacity analysis is essential to understanding how you and your competitors are supplying the market demand. How to complete the table using the Production Analysis page of the Courier
Information on measurements of the iris flowers : The file "flowers.csv" contains information on measurements of the iris flowers. The file can be found here: flowers.csv. Create an R data frame by the name "flower.data" that contains the data in the file.
Principles of psychological research : Demonstrate an understanding of the purpose and principles of psychological research Demonstrate the ability to design conduct and report simple psychological studies
Draw a context diagram for new system for baigs auto rental : Draw a context diagram for the new system for Baig's Auto Rental business. Create fully normalized 3NF table designs for the system.
Deifne the concept and provide examples : Assign an appropriate concept to explain/describe the behavior. Be sure to deifne the concept and provide examples to illustrate the concept.
How do we know that the website is doing well : How do we know that the website is doing well? Website statistics services - what is it?

Reviews

Write a Review

Basic Statistics Questions & Answers

  Central limit theorem problem

he length of time a person spends waiting in a physician's office for an appointment can be a frustrating experience. The results below are the responses of internists from two multispecialty group practices to the following question:

  Details regarding algebra word problems

Smith bicycled 45 miles going east from Durango, and Jones bicycled 70 miles. Jones averaged 5 miles per hour more than Smith, and his trip took one-half hour longer than Smith's. How fast was each one traveling?

  Conclusion draw from sample using standard deviation

Suppose that your sample mean is 1175 and that your sample standard deviation is 100. Using α=0.05, what is the appropriate conclusion you should draw from your sample?

  Labor negotiations estimate that 30 percent of all major

Labor negotiations estimate that 30 percent of all major contract negotiations result in a strike. During the next year, 12 major contracts must be negotiated. Determine the following probabilities.

  Provide sufficient evidence of mean

Does the sample provide sufficient evidence that the mean pH level in the water differs from 8.5? Conduct a test at the ? = .01 level. What are the upper and lower limits of the 95% confidence intervals?

  Sampling design for study

Such things as historical documents, newspaper reports, TV and radio broadcasts, when used in research, represents

  Probability exceed the capacity of the plane

An airline estimates that 90% of people booked on their flights actually show up. If the airline books 71 people on a flight for which the maximum number is 69, what is the probability that the number of people who show up will exceed the capacity..

  Taumeka mccord-mosley

This project has put a lot of light on the necessity of sound doctrine and its importance. One would think that if people attended church more, they would be more in tune with God and sound doctrine

  Percentage of people has a dietary beta-carotene

Some studies suggest a beta-carotene intake over 3000 mcg may protect against ?macular degeneration. What percentage of people has a dietary beta-carotene intake of at least ?3000 mcg?

  How many heads in a row would you need to see

You now begin to flip the coin in order to learn more. Obviously, if you ever see a tail, you know immediately that the coin is fair. As a function of F, how many heads in a row would you need to see before becoming convinced that there is a bette..

  If the standard deviation of the lifetime of a vacuum

if the standard deviation of the lifetime of a vacuum cleaner is estimated to be 300 hours how large of a sample must

  Parametric and nonparametric statistics

Can the formal hypothesis testing approach be used for non parametric tests? How are parametric and nonparametric statistics different?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd