subject
Computers and Technology, 12.08.2020 05:01 j015

Longley data set. The Longley data set of labor statistics was one of the first used to test the accuracy of least squares computations. You don't need to go to the NIST Web site to do this problem, but if you are interested in the background, you should see the Longley page at [3]. The data set is available in NCM in the file longley. dat. You can bring the data into MATLAB with load longley. dat
y = longley (:,1);
x = longley (:,2:7);
There are 16 observations of 7 variables, gathered over the years 1947 to 1962. The variable y and the 6 variables making up the columns of the data matrix X are X3 =
y = Total Derived Employment,
x1 = GNP Implicit Price Deflater,
x2 = Gross National Product,
x3 = Unemployment,
x4 = Size of Armed Forces,
x5 = Non-institutional Population
x6 = Age
The objective is to predict y by a linear combination of a constant and the six x's:
y aBo + Bkxk. 26 = 6 1
A) Use the MATLAB backslash operator to compute Bo, B1, ..., B6. This involves augmenting X with a column of all l’s, corresponding to the constant term.
B) Compare your B’s with the certified values.
C) Use errorbar to plot y with error bars whose magnitude is the difference between y and the least squares fit.
D) Use corrcoef to compute the correlation coefficients for X without the column of 1's. Which variables are highly correlated?
E) Normalize the vector y so that its mean is zero and its standard deviation is one. You can do this with
y = y mean(y);
y = y/std(y)
Do the same thing to the columns of X. Now plot all seven normalized vari- ables on the same axis. Include a legend.
Using MATLAB to solve it.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:30
Sara is writing a program to input her monthly phone bills and output the month name and amount for the month with maximum amount. she has defined an array to hold the month names. complete the pseudocode program. [6] # program to output maximum month's phone bill monthname ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"] # define an array to hold the phone bills for each month
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
What does a cascading style sheet resolve a conflict over rules for an element? a. the rule affecting the most content wins b. the rule affecting the most content loses c. the rule with the most specific selector loses d. the rule with the most specific selector wins
Answers: 2
question
Computers and Technology, 22.06.2019 12:50
You have just been hired as an information security engineer for a large, multi-international corporation. unfortunately, your company has suffered multiple security breaches that have threatened customers' trust in the fact that their confidential data and financial assets are private and secured. credit-card information was compromised by an attack that infiltrated the network through a vulnerable wireless connection within the organization. the other breach was an inside job where personal data was stolen because of weak access-control policies within the organization that allowed an unauthorized individual access to valuable data. your job is to develop a risk-management policy that addresses the two security breaches and how to mitigate these risks.requirementswrite a brief description of the case study. it requires two to three pages, based upon the apa style of writing. use transition words; a thesis statement; an introduction, body, and conclusion; and a reference page with at least two references. use a double-spaced, arial font, size 12.
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Quic which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
You know the right answer?
Longley data set. The Longley data set of labor statistics was one of the first used to test the acc...
Questions
Questions on the website: 13722360