ผลต่างระหว่างรุ่นของ "Probstat/week14 practice 1"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
แถว 5: แถว 5:
  
 
<center><math>Y = \alpha + \beta x + e</math></center>
 
<center><math>Y = \alpha + \beta x + e</math></center>
 +
 +
Use random values for <math>x</math> in the range that you like.  For the error <math>e</math>, 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 <math>\alpha</math> and <math>\beta</math>
  
 
== Multiple linear regression ==
 
== Multiple linear regression ==

รุ่นแก้ไขเมื่อ 01:57, 25 พฤศจิกายน 2557

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

Multiple linear regression