Displaying 3 results from an estimated 3 matches for "resid1".
Did you mean:
reside
2003 Feb 04
1
test for two samples
Hi R-users,
My question is more methodological one, rather than technical.
I have to samples representing residuals based on two measurements
techniques (resid1,resid2; n=69). I need to compare two samples, to
reject one technique (the worse one), and to keep the one which gave
lower residuals (better one). What to look for? What should I analyse?
Means, variance, std. deviations?
Based on preliminary EDA:
mean_resid1 < mean_resid2 #I would reject...
2013 Apr 22
0
Copula fitMdvc:
...arameter and when I try
to run it it say that the length of my initial values is not the same as
the parameter.
Can somebody guide me where my mistake is.
Thanks,
Elisa.
#################################
#### OLS ESTIMATION
fit1 <- lm(Y1 ~ Xi)
fit2 <- lm(Y2 ~ Xi)
fit3 <- lm(Y3~ Xi)
resid1 <- Y1-as.matrix(cbind( 1,Xi))%*%fit1$coef
resid2 <- Y2-as.matrix(cbind( 1,Xi))%*%fit2$coef
resid3 <- Y3-as.matrix(cbind( 1,Xi))%*%fit3$coef
sigma1<-sum(resid1*resid1)/nrow(Xi)
sigma2<-sum(resid2*resid2)/nrow(Xi)
sigma3<-sum(resid3*resid3)/nrow(Xi)
rho12<- cor(resid1, resid2)
rh...
2012 Aug 14
1
bootstrapped CI for nonlinear models using nlsBoot from nlstools
...5.3330 1.4722 3.622 0.00555 **
c 0.8045 0.0274 29.364 3.01e-10 ***
Then, trying to get confidence intervals for the parameters using the nlsBoot function
in the nlstools package I got this error:
> modelboot<-nlsBoot(model)
Error en data2[, var1] <- fitted1 + sample(scale(resid1, scale = FALSE), :
objeto de tipo 'environment' no es subconjunto
I?ve tried with another response variable and other self starting function (SSlogis) and
got the same error.
Any suggestions?
Francisco
----------------------
Francisco Mora Ardila
Estudiante de Doctorado
Centro de...