Different statistical programming languages

Assignment Help Basic Computer Science
Reference no: EM132772379

Assignment:

Now that you have R installed on your computer, you will begin to get some experience (hands-on) with the software. For this assignment, you are exposed to just 4 features of R: Arithmetic Operations; Operations on vectors; the Recycle Rule for adding/subtracting vectors; and Creating a S3 Class Object. A separate screen shot is required for execution of each feature. Open R (either command line or RStudio). Enter code that will handle the following (show all code, comment for each code line and the computed results in your screen shots). These are instructions; do NOT just write the instructions - actually show this within R and capture a readable screen shot to show that it works properly!!

Screen shot 1: Arithmetic Operations

assign a value of 144 to x

assign a value of 6 to y

add x and y

subtract y from x

multiply x times y

divide x by y

find the square root of x

Screen shot 2: Operations on vectors

create a vector (afc) and assign values 2,6,3

create a vector (nfc) and assign values 6,4,2

add afc and nfc

Screen shot 3: Recycle Rule for adding and subtracting vectors

assign values 2,1,8,3 to vector x

assign values 9,4 to vector y

add x to y

notice the warning message - use the Recycle Rule for adding vectors; then

add x to y and show results

subtract 1 from x - apply the Recycle Rule for subtracting vectors; then

subtract y from x and show results

Screen shot 4: Create an S3 Class Object

create a list - with components: name = Your name, date = today's date, and score = score you desire on Assignment 2.

name the class as "graduate student"

Save the screen shots as a MS Word document (*.docx).

Discussion:

Why are statistical programming languages important to data scientists? What are some advantages and disadvantages the R programming language has over the other main statistical

programming languages (i.e. Python, SAS, SQL)?

Explain why you agreed or disagreed with their evaluation of the different statistical programming languages.

Reference no: EM132772379

Questions Cloud

Maintenance of big data analytics with business intelligence : How they can improve to be more successful in the implementation and maintenance of big data analytics with business intelligence.
Would the worldwide adoption of ifrs result in global : Harmonization or convergence of accounting standards, Would worldwide adoption of IFRS result in global comparability of financial statements? Why or Why not?
How have you come to terms with the issues in your own life : How have you come to terms with these issues in your own life? Just complete this question for James since the answer would be the same for all three individual
Journal entry are referred to as the recording of business : Mary Sunny began business as Sunny Law, Journal entry are referred to as the recording of business transaction on the bases of the dual concept.
Different statistical programming languages : Explain why you agreed or disagreed with their evaluation of the different statistical programming languages.
Do you think that given a methodological or ethical problem : Qualitative research is considered by some researchers to be less externally valid than quantitative research. Specifically, because of the nature of the data.
Find the equilibrium under free trade : Now allow Venezuela and the U.S. to trade with each other. Find the equilibrium under free trade. What is the world price? What is the volume of trade?
Project steering and review committees in change management : Evaluate the role of the Project Steering and Review Committees in change management.
Do you think that the given was a good decision : In the DSM-5, Gambling Disorder was moved from the "Impulse Control Disorders" category to the "Substance-Related and Addictive Disorders" category.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Define the standards we will use for srs-sdd and pmp

define the standards we will use for srs, sdd, and pmp. Review and describe basecamp tool. Review and describe IHMC Cmaptools.

  Social media affect the early adoption of eco-farming

How would social media affect the early adoption of eco-farming in the 1980's if it was available in that time period?

  Write an instruction sequence to swap the upper four bits

Write an instruction sequence to swap the upper four bits and the lower four bits of accumulator A(swap bit 7 with bit 3, bit 6 with bit 2, and so on).

  Why entity relationship modeling is important

Explain the key reasons why entity relationship modeling is important, and determine at least (1) way in which it impacts the overall development

  Attacker to deliver payload through the cache

How should cache handling be accomplished in order to minimize the ability of the attacker to deliver a payload through the cache?

  Write application to allow user to enter a list of integer

Control flow: two sum problem. Write an application to allow user to enter a list of integers, ends the input once the user enter 0. Then ask user to enter a target number, which should be an integer too. Then go through the list of integers, find tw..

  How open-source software products-successful growth strategy

Open-source software products like Linux, be successful growth strategy in "brutally competitive marketplace" in which it operates? Why or why not?

  Consider the social effects of information technologies

Consider the social effects of information technologies.

  Draw at least one sequence diagram for each use case

Draw at least one sequence diagram for each use case - Create the C++ classes .h for the classes contract and vehicle or JAVA classes contract.java and vehicle

  Translate technical jargon into business language

Translate technical jargon into business language that senior leadership and executives can understand to support business decisions.

  How many times each one of them occurs in the string

Write a program that reads a string from the console and prints in alphabetical order all letters from the input string and how many times each one of them occurs in the string.

  Describe project that suffered from scope creep

Describe a project that suffered from scope creep. Could it have been avoided? How? Can scope creep be a good thing?

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