Re: [R] Is it ok to apply the z.test this way?

2010-04-17 Thread Atte Tenkanen
Hi, I thank you all who answered to my question. I think I learned a lot although there still remain things and concepts I have to ruminate. To the questions about the plots: In this case, I have segmented music into so-called pitch-class sets and further transformed them to 'set classes',

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

2010-04-16 Thread Atte Tenkanen
Dear R-users, I want to check if certain values are from random distribution, that includes values between 0-1. So, it is not really normal even though shapiro.test says it is highly normal... Can I do something like this and think that the values given are right. z.test is from package

Re: [R] Is it ok to apply the z.test this way?

2010-04-16 Thread David Winsemius
On Apr 16, 2010, at 12:11 PM, Atte Tenkanen wrote: Dear R-users, I want to check if certain values are from random distribution, that includes values between 0-1. So, it is not really normal even though shapiro.test says it is highly normal... Can I do something like this and think that

Re: [R] Is it ok to apply the z.test this way?

2010-04-16 Thread Greg Snow
Several points: 1. The Shapiro test does not tell you that something is normal or highly normal, only that you don't have enough evidence to disprove that the data came from a normal population (powered for a certain type of deviation from normality). 2. The z.test function is intended to be

Re: [R] Is it ok to apply the z.test this way?

2010-04-16 Thread Christos Argyropoulos
So .. are you trying to figure out whether your data hasa substantial number of outliers that call into question the adequacy of the normal distro fro your data? If this is the case, note that you cannot individually check the values (as you are doing) without taking into account of the

Re: [R] Is it ok to apply the z.test this way?

2010-04-16 Thread Greg Snow
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

Re: [R] Is it ok to apply the z.test this way?

2010-04-16 Thread Atte Tenkanen
Thanks, OK. My question is if there is any reasonable way to find p=0.05 boundaries for such a random distribution? Unfortunately I'm not statistician and thus I'm not sure, if even this question makes sense... Should we always consider samples of, say, more than 30 individuals? Atte Tenkanen

Re: [R] Is it ok to apply the z.test this way?

2010-04-16 Thread Atte Tenkanen
Hi, In fact, my original intention is to show that the measurings of the musical data are not random. Here I have a measurement from a composition. http://www.ag.fimug.fi/~Atte/Comp.pdf and here one random composition which I have used, among many others, in order to produce that

Re: [R] Is it ok to apply the z.test this way?

2010-04-16 Thread David Winsemius
On Apr 16, 2010, at 3:39 PM, Atte Tenkanen wrote: Hi, In fact, my original intention is to show that the measurings of the musical data are not random. Here I have a measurement from a composition. http://www.ag.fimug.fi/~Atte/Comp.pdf and here one random composition which I have used,