[R] Help for coding

bie@ve@idozom@ m@iii@g oii gm@ii@com bie@ve@idozom@ m@iii@g oii gm@ii@com
Fri Apr 12 18:50:24 CEST 2019


Dear all,
I am trying to write the script to calculate the mean and the standard deviation without using the functions mean and standard deviations since morning. Someone can help

These scripts below are what i did but when i run and check with the function mean and standard deviation it is not the same result
ind<-1:number of observations
Mean<-(1/number of observations*sum(Variable*ind))
Standard<-(1/Number of observations-1*sum(Variable - ((1/1312*sum(Variable*ind)))))

Thanks


	[[alternative HTML version deleted]]



More information about the R-help mailing list