Skip to content
Prev 217407 / 398498 Next

Is it ok to apply the z.test this way?

It would help if you could give more detail on what you are trying to accomplish.  You can get boundaries from a dataset using the quantile function, but it is not clear if that is really what you want or not.  Asking about a sample size of 30 implies that you want to do some normal based inference using your data, but you don't say what your ultimate question/goal is. (and 30 is just a rule of thumb, in some cases too conservative, in others too liberal).