Re: [R] Practical work with logistic regression

2010-04-23 Thread Claus O'Rourke
Thanks everyone for the replies, that sure cleared up some things for me. On Fri, Apr 23, 2010 at 9:11 AM, Jan van der Laan wrote: > When you just want to calculate the probability of belong to class A > or B of a new observation xi and do not have to do any new model > estimations or other analy

Re: [R] Practical work with logistic regression

2010-04-23 Thread Jan van der Laan
When you just want to calculate the probability of belong to class A or B of a new observation xi and do not have to do any new model estimations or other analyses, the easiest way is probably to write the estimated coefficients to a text write and read them in in your java/c/whatever program and u

Re: [R] Practical work with logistic regression

2010-04-22 Thread Frank E Harrell Jr
Claus O'Rourke wrote: Dear all, I have a couple of short noob questions for whoever can take them. I'm from a very non-stats background so sorry for offending anybody with stupid questions ! :-) I have been using logistic regression care of glm to analyse a binary dependent variable against a c

Re: [R] Practical work with logistic regression

2010-04-22 Thread Gabor Grothendieck
confusionMatrix in the caret package can be used to replace your manual procedure. You could try using RWeka, the R interface to the java Weka software. Once you have it working you could then directly interface your java program to Weka without involving R. On Thu, Apr 22, 2010 at 9:29 PM, Claus

[R] Practical work with logistic regression

2010-04-22 Thread Claus O'Rourke
Dear all, I have a couple of short noob questions for whoever can take them. I'm from a very non-stats background so sorry for offending anybody with stupid questions ! :-) I have been using logistic regression care of glm to analyse a binary dependent variable against a couple of independent var