What ordering of the brands do you think is best

Assignment Help Computer Engineering
Reference no: EM132078953

Need help with R codes and visualizations for the questions below. The datasets are part of the installed packages in R and can be installed in R.

Q1: Bodyfat

The dataset bodyfat is available in the MMST package. It provides estimates of the percentage of body fat of 252 men, determined by underwater weighing, and body circumference measurements. The dataset is used as a multiple regression example to see if body fat percentage can be predicted using the other measurements. Draw a parallel coordinate plot for the dataset.

a) Are there any outliers? What can you say about them?

b) Can you deduce anything about the height variable?

c) What can you say about the relationship between the first two variables, density and bodyfat?

d) Do you think the ordering of the variables is sensible? What alternative orderings might be informative?

Q2: Wine

The wine dataset can be found in the packages gclus, MMST, pgmm, and rattle. They took the data from the UCI Machine Learning Repository [Bache and Lichman, 2013]. The original source is an Italian software package [Forina et al., 1988]. The version in pgmm has about twice as many variables as the others, and the version in MMST includes the names of the three classes of wine, rather than the numeric coding that the other versions use.

a) Use pcp's to investigate how well the variables separate these classes.

b) Are there any outliers?

c) Is there evidence of subgroups within the classes?

Q3: Whisky

The package bayesm includes the dataset Scotch, which reports which brands of whisky 2218 respondents consumed in the previous year.

a) Draw a barchart of the number of respondents per brand. What ordering of the brands do you think is best?

b) There are 20 named brands and a further category Other.brands. That entails drawing a lot of bars. If you decided to plot only the biggest brands individually and group the rest all together in the ‘Other' group, what cutoff would you use for defining a big brand?

c) Another version of the dataset called whiskey is given in the package flexmix. It is made up of two data frames, whiskey with the basic data, and whiskey_brands with information on whether the whiskeys are blends or single malts. How would you incorporate this information in your graphics, by using colour, by using a different ordering, or by drawing two graphics rather than one?

d) Which of the spellings, ‘whisky' or ‘whiskey', is more appropriate for this dataset?

Reference no: EM132078953

Questions Cloud

Required respiratory location : What is the effect of not auscultating all required respiratory location and not listen at least 3 seconds to carotid artery sound.
Why do providers asked patient of a child : Why do providers asked patient of a child with otitis media these questions, have you noticed your child pulling her ear? What treatment has she have for cough
Offspring inherent the mutation : If there is a change in the paternal DNA due to life choices will the offspring inherent the mutation?
Create a program that forces one data type to be converted : Create a program in C++ or C# that forces one data type to be converted into another (using explicit type conversion). Show the Source code.
What ordering of the brands do you think is best : Draw a barchart of the number of respondents per brand. What ordering of the brands do you think is best?
Implement the ransac algorithm for linear regression : You must find the observed data, threshold, also the outliers and remove them from (X,y) How exactly do i do this? please provide the code.
Provide one field and method that compellingly differentiate : Provide at least one field and one method that compellingly differentiates each class from the others.
What amount of unrealized holding gain or loss : What amount of unrealized holding gain or loss should ABC Company include in net income for the year ended December 31, 2006
Provide the sed command to move the email addresses : Provide the sed command to: Substitute the 3rd occurrence of "asu" in email address with "vcu".

Reviews

Write a Review

Computer Engineering Questions & Answers

  What is the dissimilatries between rfp and rfq

What is the dissimilatries between an RFP and an RFQ? Are they different, or the same? How does RFI associated to them

  Create a watermark function to blend watermark onto an image

Create a watermark function to blend a watermark onto an image, in which the position of the watermark can be a tile, scale, or a tuple (X, Y).

  Explain what a system bus is and why it is needed

Explain what a system bus is and why it is needed. Summarize the use of Boolean operators in computer-based calculations. Categorize the various types of memory and storage.

  Create a new type of credit card

Invent a new way to protect computers from viruses. Create a new type of credit card. Work on solving a problem of your own choosing - a problem that is related to your major field of study.

  Program for calling the function

Suppose the availability of class named DataTransmitter which offers a static method, sendSignal which takes no arguments. Write down the code for calling this method.

  Create a ring class along with functions for inserting data

Create a templated ring class along with functions for inserting and deleting data, and a function that displays the contents of the ring.

  Build a 4-bit parallel adder

Build a 4-bit parallel adder by using four "Full Adder" devices.

  Write down c program that has declaration in main() to store

Modify this display() function to alter the address in channels. Always use the expression *channels rather than *(channels + i) to retrieve the right elements.

  What is a data type and what is strong typing

What is a data type? What is strong typing? Define the following data types. integer, real, character and Boolean.

  Give the worst type of unwanted electronic communication

give the worst type of unwanted electronic communication.

  Java program that allows a user to enter three words

design a Java program that allows a user to enter three words, and displays the appropriate three-letter acronym (constructed from the input) in all uppercase letters. If user enters more than three words, ignore the extra words.

  Write a program that plays the hi-lo guessing game

Write a program that plays the Hi-Lo guessing game with numbers. The program should pick a random number between 1 and 100 (inclusive), then repeatedly prompt.

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