financial modeling: r studio

## **Section I: R programming (60 points)** ### 1. (10 points) Use the “`seq“` function to generate a subscript vector that selects those elements of a vector (use numeric vector “`c(1:10)“`) that have even-numbered subscripts. ### 2. (10 points) Use logical subscripts to extract the even-numbered elements of the “`letters“` vector. ### 3. (20 points) Use “`repeat“` to print the odd integers between 1 and 10. Repeat this exercise using “`while“`, instead of “`repeat“`, and print the even integers. ### 4. (20 points) Write an R function that takes a matrix “`x“` (as the following) as input and standardizes each row by subtracting the median and dividing by the MAD. You might want to look at the functions “`mad“` and “`median“`. “`{r} x=c(1,9,2,4,6,4,8,7,3) dim(x)=c(3,3) x “` ## **Section II: Applications (40 points total)** ### Repeat the exercise in Homework 2 Part I. ### 5. Import data from file “AAPL.csv” posted on Canvas ### 6. Report the summary statistics (mean, median, standard deviation, minimum, maximum, 25th percentile, 75th percentile) for AAPL daily holding perdiod return from February 1, 2017 to December 29, 2017; ### 7. Estimate the CAPM relationship using the data given, and report the regression output.[Note that the output difference (HW2 vs HW4) is due to rounding error when you convert .xlsx file into .csv file] Requirements: 500 | _____________________Order any type of Service We Provide We are the best assignment service that can satisfy student’s demands in different scientific fields. We perform tasks of any kind. Our specialists provide diverse custom assignment writing services to students from all over the world every day. You can contact us for assistance with: • Essays of any type (application, scholarship, argumentative, personal, informative, persuasive, compare and contrast, narrative, analytical, cause and effect, critical, process, descriptive, expository essays); • Homework, • Assignments, • Reviews of all types (for a book, an article, or a film), • Reports, • Annotated bibliography, • Projects, • Thesis, • Term papers, • Presentations, • Lab works, • Research papers, • Speeches, • Critical thinking, • Capstone projects; • plan; • Coursework’s; • Dissertations. The list is far from complete! Representatives of our student assignment service are connoisseurs of the peculiarities of presentation in regards to academics.

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 929 473-0077

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 20% with the discount code GURUH