[R] (no subject)

2014-07-27 Thread kafi dano
Hi. I have a problem in R. I want the command of least median squares and the package of this estimator   Kafi Dano Pati Ph.D candidate ( mathematics/statistics) Department of mathematical Science/ faculty of Science University Technology Malaysia 81310 UTM, Johor Bahru, Johor, Malaysia

[R] command

2014-06-06 Thread kafi dano
Hi for all user in R please send me the command of least absolute value (LAV ) in R programming TQ.   Kafi Dano Pati Ph.D candidate ( mathematics/statistics) Department of mathematical Science/ faculty of Science University Technology Malaysia 81310 UTM, Johor Bahru, Johor, Malaysia IC

[R] program

2014-05-21 Thread kafi dano
###   #Bias,RMSE and SE for MMR    MMR.AVE<-SUM.MMR.BS/R  MMR.MSE<-SUM.MMR.MSE/R  MMR.BIAS<-MMR.AVE-1  MMR.RMSE<-sqrt(MMR.MSE)  MMR.SE<-abs(MMR.MSE-MMR.BIAS^2)^0.5    MMR.output<-cbind(MMR.BS,MMR.BIAS,MMR.RMSE,MMR.SE)  MMR.output   BS            

[R] help me

2014-04-27 Thread kafi dano
frame(y,x1,x2,x3))  stack   d <- lm(y ~ x1+x2+x3)$residuals   d1<-lm(y ~ x1+x2+x3)$fit   d2<-abs(d)   k<-4.685   w<-NULL    for(i in 1:n){    if(d2<=k){w[i]=d{1-(d/k)^2}^2} else{w[i]=0}}    w   Kafi Dano Pati Ph.D candidate ( mathematics/statistics) Department of mathematical Sci

[R] program

2014-04-14 Thread kafi dano
Dear Sir. I need your to help me to correct the attached R-code. when I apply this code give me the bad result Attached the program by using R Thank you    Kafi Dano Pati Ph.D candidate ( mathematics/statistics) Department of mathematical Science/ faculty of Science University