STATA µÚÒ»Õ »Ø¹é·ÖÎö

ÔÚ´Ë´¦ÀûÓÃÁ½¸ö¼òµ¥µÄ»Ø¹é·ÖÎö°¸ÀýÈóõѧÕßѧ»áʹÓÃSTATA½øÐлعé·ÖÎö¡£

STATA°æ±¾£º11.0

°¸Àý1£º

ijʵÑéµÃµ½ÈçÏÂÊý¾Ý

x y

¶Ôx y ½øÐлعé·ÖÎö¡£

µÚÒ»²½£ºÊäÈëÊý¾Ý£¨Ô­Ê¼·½·¨£©

1 4

2

3

4

5

5.5 6.2 7.7 8.5

1.ÔÚÃüÁî´°¿Ú ÊäÈë input x y /Óпոñ 2.»Ø³µ

µÃµ½£º

1

3.ÔÙÊäÈ룺

1 4 2 5.5 3 6.2 4 7.7 5 8.5 end

4.ÊäÈëlist µÃµ½

5.ÊäÈë reg y x µÃµ½»Ø¹é½á¹û

»Ø¹é½á¹û£º

y?3.02?1.12x

T= (15.15) (12.32) R2=0.98

½âÊÍһϣº

SSÊÇƽ·½ºÍ£¬ËüËùÔÚÁеÄÈý¸öÊýÖµ·Ö±ðΪ»Ø¹éÎó²îƽ·½ºÍ£¨SSE£©¡¢²Ð²îƽ·½ºÍ£¨SSR£©¼°×ÜÌåƽ·½ºÍ£¨SST£©£¬¼´·Ö±ðΪModel¡¢ResidualºÍTotalÏà¶ÔÓ¦µÄÊýÖµ¡£ df£¨degree of freedom£©Îª×ÔÓɶȡ£

MSΪSSÓëdfµÄ±ÈÖµ£¬ÓëSS¶ÔÓ¦£¬SSÊÇƽ·½ºÍ£¬MSÊǾù·½£¬ÊÇÖ¸µ¥Î»×ÔÓɶȵÄƽ·½ºÍ¡£

coef.±íÃ÷ϵÊýµÄ£¬ÒòΪ¸ÃÒòËØt¼ìÑéµÄPÖµÊÇ0.001£¬ËùÒÔ±íÃ÷ÓкÜÇ¿µÄÕýЧӦ£¬ÈÏΪËù¼ìÑéµÄ±äÁ¿¶ÔÄ£ÐÍÊÇÓÐÏÔÖøÓ°ÏìµÄ¡£_cons ±íʾ³£ÊýÏî

6.×÷ͼ¿ÉÒÔͨ¹ý Graphics¡ª¡ª>twoway¡ªtwoway graphs¡ª¡ª>plots¡ª¡ª>Create

2

°¸Àý2£º¼Ó´óÒ»µãÄѶÈ

1.

Ê×ÏȽ«excelÁí´æΪCSV¸ñʽÎļþ

3

ÁªÏµ¿Í·þ£º779662525#qq.com(#Ì滻Ϊ@) ËÕICP±¸20003344ºÅ-4