Perform a simple linear regression analysis

Assignment Help Applied Statistics
Reference no: EM131977033

Assignment -

Suppose we want to perform a simple linear regression analysis. Go to the D2L and get 'weight.txt' file. It contains two variables: age and weight. We can use the following code to do regression analysis.

Proc Reg data = d;

model weight = age;

run;

Let Y be a column vector of "weight". Let X be a matrix with the first column being a vector of one and the second column being a vector of "age". Let I be the identity matrix and J be a square matrix with its elements being 1.

Recall that

estimate of β = (X'X)-1X'Y

SST (sum of squares of total) = Y'[I-(1/n)J]Y

SSE (sum of squares due to error) = Y'[I-X(X'X)-1X']Y

SSR = SST - SSE.

Print the estimated coefficients and SST, SSE, and SSR in the output window using Proc IML. Check if your values are the same with the output of the Proc Reg.

Reference no: EM131977033

Questions Cloud

What problems and ethical issues exist : In what ways can you see having to manage and choose between options that include free ones?
What amount will the coach receive : The football coach at a university was given a five-year employment contract that paid $225,000 the first year, and increased at an 8% uniform rate.
What is effect of inflation rates on the balance of trades : Foreign competitors' costs and pricing depend on importing and exporting, movements in the exchange rates, and the labor costs and inflation.
Exploring the history and practice of recording and radio : In five to seven pages exploring the history and practice of recording & radio, movies and television & digital media.
Perform a simple linear regression analysis : Suppose we want to perform a simple linear regression analysis. Print the estimated coefficients and SST, SSE, and SSR in the output window using Proc IML
Prepare a retained earning statement for the month may : Prepare a Retained Earning Statement for the month May 31. Prepare an Income Statement for the month of May 31.
What is the dollar sales volume the firm must achieve : What is the break-even point in pairs of shoes for the company? What is the dollar sales volume the firm must achieve to reach the break-even point?
Imagine the speed of light is much lower than its actual : Imagine the speed of light is much lower than its actual value. How would the results of this experiment change if the speed of light
What percentage ford tenth payment is principle : Ford borrows 10,000,000 at 7% per annum interest rate compounded quarterly. The loan is amortized over 5 years and requires quarterly payments.

Reviews

Write a Review

Applied Statistics Questions & Answers

  Hypothesis testing

What assumptions about the number of pedestrians passing the location in an hour are necessary for your hypothesis test to be valid?

  Calculate the maximum reduction in the standard deviation

Calculate the maximum reduction in the standard deviation

  Calculate the expected value, variance, and standard deviati

Calculate the expected value, variance, and standard deviation of the total income

  Determine the impact of social media use on student learning

Research paper examines determine the impact of social media use on student learning.

  Unemployment survey

Find a statistics study on Unemployment and explain the five-step process of the study.

  Statistical studies

Locate the original poll, summarize the poling procedure (background on how information was gathered), the sample surveyed.

  Evaluate the expected value of the total number of sales

Evaluate the expected value of the total number of sales

  Statistic project

Identify sample, population, sampling frame (if applicable), and response rate (if applicable). Describe sampling technique (if applicable) or experimental design

  Simple data analysis and comparison

Write a report on simple data analysis and comparison.

  Analyze the processed data in statistical survey

Analyze the processed data in Statistical survey.

  What is the probability

Find the probability of given case.

  Frequency distribution

Accepting Manipulation or Manipulating

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