search for: ilham

Displaying 10 results from an estimated 10 matches for "ilham".

Did you mean: ilha
2007 Nov 16
2
creating discretized data
...scretized data. Here my data: x <- c(2,1,3, 5), and I want to make (0,1) data based on the length of each component in x. So the new data should like: y = (0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1). I spent too much time with "seq", "rep". Still didn't get it. Any help? Thanks Ilham [[alternative HTML version deleted]]
2007 Nov 21
1
Calculating AUC from ROCR
Dear R-helper, I am working with ROCR of Tobias Sing et. al. to compare the performances of logistic and nnet models on a binary response. I had the performance plots, but I have problem finding out other performance statistics (eg. MSE/ASE, AUC). Any help on this? Thanks Ilham [[alternative HTML version deleted]]
2007 Nov 24
3
help in plotting
...list, I want to combine several plots in one graph. I did this: plot(a1); plot(a2, add=TRUE); ...plot(a5, add=TRUE) The problem is the more plot we put, the more complex the graph. Is there any way to label each line; or other way just to make sure I know which one which? Thank you for the help, Ilham [[alternative HTML version deleted]]
2008 Feb 15
2
Softmax in nnet
...x=T, data = train.set) I got another error message: Error in model.frame.default(formula = Yfac ~ HusYEduc + AgeRespd + muslimat + : variable lengths differ (found for '(weights)') ----------------- Q: Does softmax apply to two-category response? What is softmax require? Thank you, Ilham
2007 Nov 24
1
how to label multiple plots
Dear R-list, I want to combine several plots in one graph. I did this: plot(a1); plot(a2, add=TRUE); ...plot(a5, add=TRUE) The problem is the more plot we put, the more complex the graph. Is there any way to label each line; or other way just to make sure I know which one which? Thanks, Ilham [[alternative HTML version deleted]]
2007 Dec 10
1
help with fatal error message
...ring if I still be able to retrieve the data that I've been working for a month. I have installed the new R2.6.1 and it has no problem to open, only there is nothing in it I also wonder if I will be able to transfer all the files in 2.6.0 to 2.6.1. I appreciate anyone who can help. Thank you, Ilham
2007 Nov 26
0
help in md scaling
Dear list, I am starting a new project in cmdscale, and I have a question regarding distance matrix and covariance matrix. Can I use covariance as my distance matrix? Any good reference in this matter? Thank you, ilham [[alternative HTML version deleted]]
2007 Nov 28
0
question on cdf compare in R
Dear list, I was attracted to a comment that the cdf.compare in S+ is not available in R. I wonder if anyone have more information on this. Thank you. Ilham
2007 Nov 28
0
qestion on cmd scale
...ding distance matrix and covariance matrix. Can anyone help me in this? I sent this message so many times but always bounced with no further explanation. (1) Can I use covariance as my distance matrix? (2) Any good reference in this matter? (3) is the approach that I wrote below valid? Thank you, ilham Below is what I did: > y1 x y z [1,] 1 4 0 [2,] 2 5 -3 [3,] 3 6 -2 > y4 <- scale (y1) > y5<- cmdscale(dist(t(y4))) > plot (y5.x, y5.y, type="n", xlab="", ylab="", main="cmdscale(example)") > text(y5.x, y5.y, rownames(y5), cex=0.8...
2007 Nov 22
5
testing independence of categorical variables
hi, is there a way of calculating of measuring dependence between two categorical variables. i tried using the chi square test to test for independence but i got error saying that the lengths of the two vectors don't match. Suppose X and Y are two factors. X has 5 levels and Y has 7 levels. This is what i tried doing >temp<-chisq.test(x,y) but got error "the lengths of the two