Displaying 3 results from an estimated 3 matches for "susam".
Did you mean:
susan
2011 Apr 18
4
Deleting the last value of a vector
Hey guys,
I've search a few threads about deleting a value from a vector, but no one
has addressed this question so far.
I want to delete the last value from a string of values
I have:
r = [ 1, 2, 3, 4, 5 ], and i want to make r2 = to [ 1, 2, 3, 4]
So that r2 is just like r, except that it missing the final value.
Thanks,
--
View this message in context:
2012 Feb 15
1
influence.measures()
Hi dear all,
I'm wondering about the question that; Does the influence.measures(model)
for linear models valid for general linear models such as logistic
regression models?
That is;
If I fit the model like
model <- glm( y~X1+X2, family=binomial)
Then, if i apply the function "influence.measures(model), i will get the
result of influence measures.
These result are valid for
2012 Feb 28
7
indexing??
Hello All,
My algorithm as follows;
y <- c(1,1,1,0,0,1,0,1,0,0)
x <- c(1,0,0,1,1,0,0,1,1,0)
n <- length(x)
t <- matrix(cbind(y,x), ncol=2)
z = x+y
for(j in 1:length(x)) {
out <- vector("list", )
for(i in 1:10) {
t.s <- t[sample(n,n,replace=T),]
y.s <- t.s[,1]
x.s <- t.s[,2]
z.s <- y.s+x.s
out[[i]] <- list(ff <- (z.s), finding=any (y.s==y[j]))
kk