Create data vectors x1 and x2

Assignment Help Financial Management
Reference no: EM131231644

The goal of this problem is to illustrate one of the most important features of the projection pursuit regression: its ability to detect interactions between the regressor variables. We first show that the function f(x1, x2) = x1x2 is easily written in the form used by the projection pursuit algorithm

1. Determine µ, β1 and β2 so that the identity:

holds for all xt = [x1, x2] with at 1 = [1, 1],  = [1, -1] and φ1(t) = t2 and φ2(t) = -t2.

2. Create data vectors X1 and X2 of length n = 512 and with entries forming independent samples from the uniform distribution U(-1, +1) over the interval [-1, 1]. Create the vector Y according to the formula:

Where ? = { ?j}j=1,...512 is a Gaussian white noise (i.e. a sequence of independent identically distributed normal random variables with mean zero) with standard deviation σ = .2. Give a scatterplot of Y against X1, and of Y against X2.

3. Run the projection pursuit algorithm to regress Y on X1 and X2 with a number of terms between min.term= 2 and max.term= 3. Produce scatterplots to visualize the graphs of the functions φj (t) found by the algorithm (if in doubt, read the on line help file for the function ppreg). Does that fit with the results of the computations done in question 1. above? Finally, do a scatterplot of Y versus Yˆ and another scatterplot of the residuals versus Yˆ and comment.

NB: recall that we use the notation t to denote the transpose of a vector or a matrix.

Reference no: EM131231644

Questions Cloud

Assess quality of fit by computing sum of square residuals : Assess the quality of the fit by computing the sum of square residuals. - Produce the plots of the first three additive terms in the projection pursuit regression formula.
Discuss the implications of these two estimates : Discuss the implications of these two estimates. How many collectors of 3 m × 10 m would be required to produce the energy for commuting with an all-electric car with 60% efficient batteries?
Social environment of workplace influences the performance : Check your understanding by matching some of the theories in the left-hand column below with the corresponding key contributor or key concepts in the right-hand column. Pioneer in illustrating how the social environment of the workplace influences th..
Describe a time when you were surprised by something : Describe a time when you were surprised by something that was considered popular but that was new to you. Analyze whether or not you consider yourself to be an active participant in popular culture. Explain your analysis.
Create data vectors x1 and x2 : Create data vectors X1 and X2 of length n = 512 and with entries forming independent samples from the uniform distribution.
What is the margin as a percentage of the mid-exchange rate : What is the margin as a percentage of the mid-exchange rate? What is the ask rate for CAD? What is the bid rate for CAD? What is the ask rate for GBP? What is the bid rate for GBP?
Describe the topic and summarize the scope : Describe the topic and summarize the scope of your paper. Be specific and to the point. This is an important part of a paper as it engages the reader and sets the tone of the paper.
What reduction in co2 generation did the program achieve : Assuming that imported oil cost $55 per barrel, how long did it take for the savings in import to equal the investment in the program?
Preparing adjusting and closing entries across two periods : Prepare journal entries to: -  Accrue the salaries payable on December 31: - Close the Salaries Expense account on December 31.

Reviews

Write a Review

Financial Management Questions & Answers

  The current value of the lease

Your car dealer is willing to lease you a new car for $379 a month for 84 months. Payments are due on the first day of each month starting with the day you sign the lease contract. If your cost of money is 4.8 percent, what is the current value of th..

  Rate for four-year-maturity treasury securities

Suppose that the current one-year rate (one-year spot rate) and expected one-year Tbill rates over the following three years (i.e., years 2, 3, and 4, respectively) are as follows:

  Use the afn equation to forecast broussards additional fund

AFN equation Broussard Skateboard's sales are expected to increase by 20%. - Use the AFN equation to forecast Broussard's additional funds needed for the coming year.

  Breakeven point for number of luxury boxes in new stadium

Preliminary plans are underway for construction of a new stadium for a major league baseball team. City officials question the number and profitability of the luxury corporate boxes planned for the upper deck of the stadium. What is the breakeven poi..

  Amortized over its useful life or over statuatory period

Matt operates a sole proprietorship and files his return on a calendar year basis. He took out a fire insurance policy for his business effective July 1, year 1, and paid a premium of 3,600 for 4 years. Matt reports his income and expenses on a cash ..

  If projects are mutually exclusive

If projects are mutually exclusive: a: they can only be accepted under capital rationing, b: the selection of one alternative precludes the seclusion of other alternatives, c: the payback method should be used, or d: the net present value method will..

  Producing a return that is equal to the required return

If an investment is producing a return that is equal to the required return, the investment's net present value will be:

  Explain advantages of maturity as well as the limitations

Contrast and Compare: A Mature Industry vs. New Innovation and Technology. Explain the advantages of maturity as well as the possible limitations. Then, compare that to the same issues for a new company. Provide examples of a service or product that ..

  What is the projects NPV

Down Under Boomerang, Inc., is considering a new three-year expansion project that requires an initial fixed asset investment of $2.52 million. The fixed asset will be depreciated straight-line to zero over its three-year tax life, after which time i..

  After transactions costs but before taxes

Suppose you believe that Du Pont’s stock price is going to decline from its current level of $82.50 sometime during the next 5 months. For $510.25 you could buy a 5-month put option giving you the right to sell 100 shares at a price of $83.00 per sha..

  Eoq model- very large increase in sales will result

According to the EOQ model, a very large increase in sales will result in

  Investment management

Saint and Lewis Investment Management (SLIM) Inc. is considering purchasing bonds to be issued by Caterpilar Inc. The bonds have a face value of $10,000 and a coupon rate of 6%. The bonds will mature 10 years after they are issued. The issue price is..

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