Displaying 1 result from an estimated 1 matches for "cw3_data".
Did you mean:
cpu_data
2010 May 05
4
P values
How do u calculated p values for a z test..
so far i ve done this
A = read.table("cw3_data.txt")
xbar = mean(A)
s = 1
n = 20
mu = 0
z.test = (xbar-mu)/(s/sqrt(n))
p.value = pnorm(abs(z.test))
error = qnorm(0.99)*s/sqrt(n)
left = xbar - error
right = xbar + error
and have got values off of it...but the values for p dont match up with
other sites that i have used to check it agai...