Dan,

what you suggested worked out well. This code below also worked out well for
me and it matches with SAS output.

Ks <- cbind(x,fitted(d1logit))
ks.df <- data.frame(Ks)
x <- subset(ks.df,x==0,select=c(V2))
y <- subset(ks.df,x==1,select=c(V2))
ks.test(x[,'V2'], y[,'V2'], alternative = c("two.sided"),exact=NULL)

Thank you



--
View this message in context: 
http://r.789695.n4.nabble.com/Proc-Nnpar1way-with-D-option-equivalent-in-R-tp4649348p4649459.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to