subject

Stet by step in R and attach R file and R codes too. First, load the MASS library in R.
A. Package ‘MASS’ which provides a description of the datasets available in the MASS package
Then, complete the following analysis of the identified data from the library.
B. One-sample t-test:
Use the "chem" dataset to answer the question, "is the flour production company producing whole meal flour with greater than 1 part per million copper in it?"
C. Two-sample t-test:
Use the "cats" dataset to answer the question, "do male and female cat samples have the same body weight?"
Hint: one way to get separate vectors for male and female cat body weight is to use the subset function as follows: "male <-subset(cats, subset=(cats$Sex=M))"
D. Paired t-test:
Use the "shoes" dataset to answer the question, "did material A wear better than material B?"
E. Test of equal or given proportions:
Use the "bacteria" data set to answer the question, "did the drug treatment have a significant effect of the presence of the bacteria compared with the placebo?"
F. F-test:
Use the "cats" data set to test for the variance of the body weight in male and female cats.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 05:20
Which operating system is a version of linux?
Answers: 1
question
Computers and Technology, 24.06.2019 00:20
The guy wire bd exerts on the telephone pole ac a force p directed along bd. knowing the p must have a 720-n component perpendicular to the pole ac, determine the magnitude of force p and its component along line ac.
Answers: 2
question
Computers and Technology, 24.06.2019 16:30
Jenny needs to record the names of 30 students, write down the subjects they studied, and note their grades in each subject after the midsemester exams and the end-of-semester exams. she divides the midsemester and end-of-semester information into two separate worksheets, sheet 1 and sheet 2. how will she rename the two worksheets?
Answers: 2
question
Computers and Technology, 24.06.2019 17:50
Create a class hand in its own module. one object of class hand represents a hand of cards and so one object stores a number of card objects. for this assignment you will submit three separate modules, one with the definition of class card, one with the definition of class hand and one with the main application that thoroughly tests class hand.class hand must contain the following four methods: 1) , numcardsinhand) takes an integer as parameter and initializes a hand object with numcardsinhand card objects inside it. these card objects are generated randomly. for simplicity, assume an infinite number of decks of cards.2) bjvalue(self) returns the blackjack value for the whole hand of cards3) ) returns a string containing all the cards in the hand4) hitme(self) adds one randomly generated card to the handcreate a main program in its own module that thoroughly tests class hand. you will have three modules/files to upload to your etudes assignment submission: card.py, hand.py and the module that contains your main program.two alternatives for extra credit - you cannot get credit for both! (+1 point): after you have thoroughly tested the class hand and all of its methods, add code to your main program that stores one hand object as a pickle file and reads it back into a new hand object. you are only eligible for this extra credit if class hand has all four of the methods above working.or(+2 points): after you have thoroughly tested the class hand and all of its methods, add code to your main program that stores one hand object as a text file on the disk and reads it back into a new hand object. you are only eligible for this extra credit if class hand has all four of the methods above working.notes: -start by making any and all modifications suggested by my comments to your previous submission of class card from assignment #6 "a robust card object"-once your class card is tested and working well, you will not make any further modifications to it for the purposes of class hand.-you can keep the test code for class card intact. if it is indented inside an if __name__ == "__main__", then it will not be executed when your main program's module imports it.-to save time, write and test one method for class hand at a time.-under no circumstances are you to attempt the extra credit until you are completely finished with writing and testing all the methods in class hand.
Answers: 3
You know the right answer?
Stet by step in R and attach R file and R codes too. First, load the MASS library in R.
A. Pa...
Questions
question
English, 05.05.2021 01:00
question
Mathematics, 05.05.2021 01:00
question
Mathematics, 05.05.2021 01:00
Questions on the website: 13722367