[R] Quantative procedure assessing if data is normal

2009-04-13 Thread Henry Cooper
Hi, As part of an R code assingment I have been asked to find a quantitative procedure for assessing whether or not the data are normal? I have previously used the graphical procedure using the qqnorm command. Any help/tips would be greatly appreciated as to how I should start going

[R] Finding the 5th percentile

2009-04-13 Thread Henry Cooper
I have run the below function.. coef-function(N,theta,k,alpha,lamda){ omega-rgamma(N,alpha,lamda) theta-rnorm(N,theta,1/(k*omega)) coeff-1/(sqrt(omega)*theta) return(coeff) } I have been told I have to calculate the fifth percentile for :

[R] Quantative procedure assessing if data is normal

2009-04-12 Thread Henry Cooper
Hi, As part of an R code assingment I have been asked to find a quantitative procedure for assessing whether or not the data are normal? I have previously used the graphical procedure using the qqnorm command. Any help/tips would be greatly appreciated as to how I should start going