You are on page 1of 1

> # kiem dinh ve tham so cua tong the > > #1.

kiem dinh ve trung binh > #1. kiem dinh ve phuong sai > #1. kiem dinh ve ty le > > #Qui trinh lam bai toan kiem dinh gia thuyet > #1. lap cap gia thuyet: Ho , H1 > #2. tien hanh kiem dinh: dung ham nao cho thich hop > #3. dua ra ket luan: bac bo hay chap nhan Ho > > # dua tren P-value de ket luan: > alpha < p-value ==> chap nhan Ho Error: unexpected '==' in "alpha < p-value ==" > # alpha>= P-value ==> bac bo Ho > #chu y va lam gia thuyet > > #1. trong H0.H1 phai co chua cai gia thuyet minh dang muon kiem dinh. > # va gia thuyet doi cua no la gi > #2. H0 bao gi > > # bai 10 > goi mu la do PH trung binh cua toan bo cc m Error: unexpected symbol in "goi mu" > # Gi > # kiem dinh trung binh, phuong sai a biet, du lieu so cap, > > PH=c(8.18, 8.17, 8.16, 8.15, 8.17, 8.21, 8.22, 8.16, 8.19, 8.18) > z.test(PH,mu=8.2,sigma.x=0.02,alt="t") Error: could not find function "z.test" > qf(0.1,8.2) Error in .Internal(qf(p, df1, df2, lower.tail, log.p)) : 'df2' is missing > pf(0.1,8.2) Error in .Internal(pf(q, df1, df2, lower.tail, log.p)) : 'df2' is missing > # bai 11 > Goi mu la do ben trung binh cua loai soi nay Error: unexpected symbol in "Goi mu" > # kiem dinh gia thiet > # H0: mu >=200 > # H1: mu < 200 > doben=c(210, 198, 195, 202, 197.5, 196, 199, 195.5) > z.test(doben,sigma.x=5,mu=200,alt="less") Error: could not find function "z.test" > # do P gia tri > alpha nen chao nhan H0, hay loai soi nay co do ben it nhat la 200

You might also like