Stata

Submitted by: Submitted by

Views: 213

Words: 1643

Pages: 7

Category: Business and Industry

Date Submitted: 06/28/2013 01:47 AM

Report This Essay

L p Ph

ng pháp NCKH – Ch

ng trình CUD UPNT03

S

D NG STATA 10.0 PHÂN TÍCH TH NG KÊ TRONG NGHIÊN C U KHOA H C KI M NH GI THI T

TS. BS T ng Kim H ng

1. Ki m nh s trung bình 1.1 Ki m nh 1 s trung bình

M file “PULSE” phân tích. - L nh s d ng trong STATA nh sau: + Statistics -> Summaries, tables and tests -> Classical tests of hypotheses -> One sample mean comparison test -> Ch n bi n s c n ki m nh và giá tr c n ki m nh, ví d ch n bi n s Pulse1và hypothezied value la 80 -> Submit (Gi s gi nh v phân ph i bình th ng c a bi n s ã c th a)

1

L p Ph

ng pháp NCKH – Ch

ng trình CUD UPNT03

t qu có

c nh sau:

. ttest pulse1 == 80 One-sample t test -----------------------------------------------------------------------------Variable | Obs Mean Std. Err. Std. Dev. [95% Conf. Interval] ---------+-------------------------------------------------------------------pulse1 | 92 72.86957 1.147737 11.00871 70.58973 75.1494 -----------------------------------------------------------------------------mean = mean(pulse1) t = -6.2126 Ho: mean = 80 degrees of freedom = 91 Ha: mean < 80 Pr(T < t) = 0.0000 Ha: mean != 80 Pr(|T| > |t|) = 0.0000 Ha: mean > 80 Pr(T > t) = 1.0000

T k t qu này, ta th y r ng: Vì giá tr p Summaries, tables and tests -> Classical tests of hypotheses -> One sample mean comparison calculator

2

L p Ph

ng pháp NCKH – Ch

ng trình CUD UPNT03

t qu có

c nh sau:

. ttesti 50 96 35 120 One-sample t test -----------------------------------------------------------------------------| Obs Mean Std. Err. Std. Dev. [95% Conf. Interval] ---------+-------------------------------------------------------------------x | 50 96 4.949747 35 86.05311 105.9469 -----------------------------------------------------------------------------mean = mean(x) t = -4.8487 Ho: mean = 120 degrees of freedom = 49 Ha: mean < 120 Pr(T < t) = 0.0000 Ha: mean != 120 Pr(|T| > |t|) = 0.0000 Ha: mean > 120 Pr(T > t) = 1.0000

T k t qu này, ta th y r...