在此处利用两个简单的回归分析案例让初学者学会使用STATA进行回归分析。
STATA 版本:11.0
案例1:
某实验得到如下数据
x 1 2 3 4 5
y 4 5.5 6.2 7.7 8.5
对xv迸行回归分析。
第一步:输入数据(原始方法)
D? gdt Data Gf^hcs giansm user h^p
? R劇I直勺?同—
Corrmarij
Statistics/bata Analysis special Edition
single-user stara license expires 31 serial nunber: 716062Bl563
Licensed to: STATAPorAl1 STATA
Notes:
(/m^ opxlon (/vX opt ion
HaniB Late!
T 回 Fccmst
Copyright 1984-2009
StataCorp
4905 uake?*ay Drive
college station. Texas 77845 usa adO-sTATA-pc hxrp: //v/hw. stara. com
979-696-4600 stat aetata, con
979-090-4CQ1 (fax)
Dec 9999:
or -ser memory-) 50.00 mb aTlocaced to data or -s
原创力文档

文档评论(0)