Probstat/week14 practice 1

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา

Least square estimators

1. You should work in pairs. Try the following for

  • First, you pick a parameter and and generate a sample of size using the formula:

Use random values for in the range that you like. For the error , you can generate a random error based on a normal distributions.

  • Give the data to your partner.
  • After you get the data from your friend, find the least square estimators for and .
  • Ask for the correct parameters and see how close you get to those parameters as we increase the size of the samples .

Multiple linear regression