Stat 362 Monte Carlo Methods Assignment Problem

Assignment Help Other Subject
Reference no: EM132385423

Stat 362-Monte Carlo Methods

Lab Assignment

Instructions: you should submit one file (either a .docx file or a .pdf file). The first part of the file should include your answers to the questions and any relevant output. After your solutions, please include all your code you wrote to answer the questions (separated by question). Please clearly label each answer.

1) The data set DinosaurBBQShrimp.txt posted on blackboard contains data on whether the Drunken Spicy Shrimp can be selected as part of Dinosaur Bar-B-Que's combo meals at each location. Each observation consists of the city, state, and a variable indicating whether shrimp is an option (with values of "Yes" if it is and "No" if it is not).

In addition, the DinosaurBBQRibs.txt (an organized version of last week's data set) is also posted on blackboard and contains data on the price of a quarter rack of ribs at 9 different Dinosaur Bar-B-Que locations. Each observation is made up of the restaurant's city, state, and price and it is a space delimited file.

a) Import both the DinosaurBBQShrimp.txt and the DinosaurBBQRibs.txt data sets into SAS as separate SAS data sets. Merge the SAS data sets into one and print your result. Provide a properly titled table in your solution.

b) Sort your merged SAS data set by price of a quarter rack of ribs, from cheapest to most expensive. Print the resulting table and present it (properly titled) in your solutions.

c) Create a data set consisting only of the Dinosaur BBQ locations in the state of New York. Print and present your properly titled table.

d) Read the two data sets into R. Merge them into a single data frame. Copy and paste the data frame after printing it in your console.

e) Sort your data frame by the price of a quarter rack of ribs, from most expensive to cheapest. Present your sorted data frame in your solutions.

f) Determine the mean price of a quarter rack of ribs across all Dinosaur BBQ locations.

g) Use the subset() function to create a data set consisting only of locations that serve shrimp as a combo meal option. Determine the mean price of a quarter rack of ribs at these locations. Report your results.

#2 on the next page.

2) Using an organized version of the Mouse Weights data set from HW 2, complete the following.

a) Import the organized data set to SAS. Calculate the difference between the Day 21 weight and the Day 3 weight for each mouse. Present it as a new column in SAS and print only the mouse number and the weight difference.

b) Calculate the mean difference in weight and present your answer in your solutions.

c) Repeat part (a) in R.

d) Repeat part (b) in R.

Remember to present your code at the end of your solutions.

Attachment:- Lab Assignment.rar

Reference no: EM132385423

Questions Cloud

Explain to the administrators at least three primary roles : Assume you are interviewing with two top administrators of an organization for a new position of curriculum leadership. The administrators are still developing.
How the courses you have taken have helped you : Think back on your motivations for starting the M.Ed. program at Strayer University and your career goals. Examine how you believe your M.Ed. degree.
Identification of business case stakeholders : Identification of business case stakeholders. A description of relevant historical information that spurred on the motivation for the business case.
Your research interests in area of information technology : What are your research interests in the area of Information Technology? Why do you think it is important to research in this area?
Stat 362 Monte Carlo Methods Assignment Problem : Stat 362-Monte Carlo Methods Assignment Help and Solutions, Stanford University USA-Create a data set consisting only of the Dinosaur BBQ locations.
What is the strongest moral theory : Text Task: What is the strongest moral theory presented in Rachels text, Chapters 11 and 12. Why? Support your claim, by responding to the following moral.
Practical manner to your current work environment : How the knowledge, skills, or theories of this course have been applied, or could be applied, in a practical manner to your current work environment.
Technological innovation for each case of Google and Lego : What is one key takeaway on what to do and what not to do when it comes to technological innovation for each case of Google and Lego
BIT242 - IT Project Management Assignment Problem : BIT242 - IT Project Management Assignment Help and Solution - Sem 2 2018 - Melbourne Polytechnic?, Australia - Project Management Plan

Reviews

Write a Review

Other Subject Questions & Answers

  Discuss what needs to be done to help combat this problem

Discuss what needs to be done to help combat this problem on the local level during these events.

  Describe movement of the person in platos allegory of cave

Describe the movement of the person in Plato's allegory of the cave and being very specific about the various stages in this movement.

  Create strategy for international talent acquisition program

For the Module 1 Milestone, create an overall strategy for an international talent acquisition program that includes a retention component.

  Question and the literature search process

PICOT Question: In diabetic female patients aged from 55- 75, does education on behavior change assist patient on manage or prevent complications from diabetes

  Lifecycle of pre-school children

How does fitness affect the health of Pre-Schoolers? Is this relationship between fitness and health different from other age groups? Explain your answer.

  What is meant by social contract

What is meant by social contract? What are the three pillars of a social contract, and why are they important

  Establish relationships with many constituent groups

There are many occasions however, when stake holder groups establish and maintain partnerships or form collaborative relationships with other stakeholder groups. The question therefore is why do stake holders of an organization seek out other st..

  Case study: classroom environment

What modifications you would need to make to Mrs. Ashland's classroom in order to ensure that your chosen model of teaching could be successfully implemented

  Describe the components of a healing hospital

Describe the components of a healing hospital and their relationship to spirituality. What are the challenges of creating a healing environment in light of the barriers and complexities of the hospital environment

  How do childhood experiences influence personality

Use the library databases to find 2 scholarly articles that are relevant to your chosen research question.

  Did your lesson plan accommodate diverse learners

Did your lesson plan accommodate diverse learners? Did your lesson plan include parental involvement? If so, how? If not, how could you include parents?

  List and analyze methods of alternative dispute resolution

List and analyze methods of alternative dispute resolution and determine which would be most effective in resolving genuine disputes that arise with consumers who may make purchases from businesses that provide links via social media.

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