Re: [R] Calculating Sensitivity, Specificity, and Agreement from Logistics Regression Model

2008-12-20 Thread Frank E Harrell Jr
Calculating Sensitivity, Specificity, and Agreement from Logistics Regression Model* Meir Preiszler wrote: Hi, Assume I have a variable Y having two discrete values and two predictor variables x1 and x2. I then do a logistic regression model fit as: fit<-glm(Y~x1+x2,family=binomial). Are there fun

Re: [R] Calculating Sensitivity, Specificity, and Agreement from Logistics Regression Model

2008-12-20 Thread Felix Schönbrodt
> Von: Frank E Harrell Jr > Datum: 18. Dezember 2008 14:49:53 MEZ > An: Meir Preiszler > Kopie: r-help@r-project.org > Betreff: Re: [R] Calculating Sensitivity, Specificity, and Agreement > from Logistics Regression Model > > > Meir Preiszler wrote: >> Hi, >

Re: [R] Calculating Sensitivity, Specificity, and Agreement from Logistics Regression Model

2008-12-18 Thread Frank E Harrell Jr
Meir Preiszler wrote: Hi, Assume I have a variable Y having two discrete values and two predictor variables x1 and x2. I then do a logistic regression model fit as: fit<-glm(Y~x1+x2,family=binomial). Are there functions in R than calculate the Sensitivity, Specificity , and Agreement of the mo

Re: [R] Calculating Sensitivity, Specificity, and Agreement from Logistics Regression Model

2008-12-18 Thread David Hajage
Deer Meir, You could take a look at lroc() from epicalc package. Or calculate all that yourself : the linear fit of the model are in yourmodel$linear.predicators Best regards, david 2008/12/18 Meir Preiszler > Hi, > > Assume I have a variable Y having two discrete values and two predictor > v

[R] Calculating Sensitivity, Specificity, and Agreement from Logistics Regression Model

2008-12-18 Thread Meir Preiszler
Hi, Assume I have a variable Y having two discrete values and two predictor variables x1 and x2. I then do a logistic regression model fit as: fit<-glm(Y~x1+x2,family=binomial). Are there functions in R than calculate the Sensitivity, Specificity , and Agreement of the model "fit"? Thanks Meir