Write r code for applying given method

Assignment Help Advanced Statistics
Reference no: EM131577888

STATISTICS/MATRIX ALGEBRA

In this uploaded paper - The description of the alternating projections method.

Write R code for applying this method in order to compute the nearest correlation matrix when a symmetric matrix is given(see paper for details).

In my case I don't want to use directly the "nearPD" function from R but I want to write my own simpler code without using so many constraints as the above function.

Project to sets S and U and to use the Dykstra correction(see paper).

Test the code to a simple real data set(for example a 8x8 matrix of stocks).

Attachment:- paper.pdf

Reference no: EM131577888

Questions Cloud

Identify principles that govern human and animal behavior : Identify principles that govern human and animal behavior. Apply these principles to your own life
Make a fsm with output that produces an output of one : Construct a finite-state machine with output that produces an output of 1 if the bit string read so far as input ends with four or more consecutive 1s.
How do cultural dynamics impact collaboration : How do cultural dynamics impact collaboration? How will you use the information to better understand working with American Indian communities?
Bank account that pays you five percent interest annually : You currently have $20000.00 in a bank account that pays you 5 percent interest annually. How much are you going to have in that account at the end of 10 years?
Write r code for applying given method : Write R code for applying this method in order to compute the nearest correlation matrix when a symmetric matrix is given(see paper for details).
What ethical considerations are important to research : Researchers must protect participants and be aware of appropriate methods for obtaining information
Discuss the style by which you learned to read : Write an essay of 1,000-1,250 words in which you analyze constructivist and explicit instructional approaches, discuss the style by which you learned to read.
What is value of investment : An investment offers $7100 per year for 24 years, with first payment occurring 1 year from now. If required return is 14 percent, what is value of investment?
Construct a dfsa that recognizes the set : Construct a finite-state machine with output that produces an output of 1 if the bit string read so far as input contains four or more consecutive 1s.

Reviews

len1577888

7/25/2017 2:38:38 AM

uploaded a paper in which there is the description of the alternating projections method. I want to write R code for applying this method in order to compute the nearest correlation matrix when a symmetric matrix is given(see paper for details). In my case I don't want to use directly the "nearPD" function from R but I want to write my own simpler code without using so many constraints as the above function. I want just to project to sets S and U and to use the Dykstra correction(see paper). Finally,I want to test the code to a simple real data set(for example a 8x8 matrix of stocks).

Write a Review

Advanced Statistics Questions & Answers

  What is the estimated multiple linear regression equation

What is the estimated multiple linear regression equation - calculate the F statistic and should the Null hypothesis be rejected at the 5% level of significance?

  After tax comparison

The Shelton Corporation has some excess cash that it would like to invest in marketable securities for a long term hold. Its vice president of finance is considering three investments.

  Taskyour task is to answer a set of research questions

taskyour task is to answer a set of research questions using the supplied data set lsquomalaria data set.sav. details

  How would you spend the amount to maximize your return

How would you spend the $2000 to maximize your return and what would be your net return? Explain your answer - Resolve the problem requiring an integer solution.

  Correlation and regressionuse the subsequent hypothetical

correlation and regressionuse the subsequent hypothetical correlation matrix to answer the first two

  Confidence interval for the true difference in population

Construct a one-sided 95% confidence interval for the true difference in population means and test the null hypothesis that the population means are identical at the 0.05 level of significance.

  What is the probability that george will park in the garage

What is the probability that George will park in the garage, assuming that he follows the optimal policy? Find v∗(n, u), the minimum expected aggregate cost for n stages.

  Linear programming for solving the inequalities

To use Linear Programming for solving the following inequalities - carte implies stand alone rates of each tv channel as given by that broadcaster average bouquet pay channel rate

  Find the probability density of the time between reversals

Find the probability density of the time between reversals. Find the density of the time from one A to B reversal to the next A to B reversal.

  Economic lot order quantity model

What would be the order size for Company A in the given scenario that would minimize total annual cost by using the economic order quantity model?

  Computing fair value of coupon paying bond

A firm has an issue of $1,000 par value bonds with a 9% stated interest rate outstanding. The issue pays interest annually and has 20 years remaining to its maturity date.

  Show that the column space is the set of vectors x

Show that this column space is the set of vectors x for which π x = 0. Then show that r - ge lies in this column space. Show that, with the extra constraint that π w = 0, the equation [P]w - w = r - ge has a unique solution.

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