Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-24 Thread Eik Vettorazzi
Dear Rosa, coefficents of a probit-regression do not have a odds-ratio interpretation, you should use a logit link for that. cheers. Am 24.09.2015 um 09:51 schrieb Michael Dewey: > Dear Rosa > > Please keep the list on the recipients as others may be able to help. > > See inline > > On 23/09/2

Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-24 Thread Rosa Oliveira
Dear Michael (and all :)) Thank you very much. I fixed my problem, I think ;) Best, RO Atenciosamente, Rosa Oliveira -- Rosa Celeste dos Santos Oliveira, E-mail: rosit...@gmail.com Tlm: +351 939355143 Linkedin:

Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-24 Thread Michael Dewey
Dear Rosa Please keep the list on the recipients as others may be able to help. See inline On 23/09/2015 19:19, Rosa Oliveira wrote: Dear Michael, *New cleaned code :)(I think :))* casedata <-read.spss("tas_05112008.sav") tas.data<-data.frame(casedata) #Delete patients that were not dis

Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-23 Thread Rosa Oliveira
Dear Michael, I found some of the errors, but others I wasn’t able to. And my huge huge problem concerns OR and OR confidence interval :( New Corrected code: casedata <-read.spss("tas_05112008.sav") tas.data<-data.frame(casedata) #Delete patients that were not discha

Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-23 Thread Michael Dewey
Dear Rosa Can you remove all the code which is not relevant to calculating the odds ratio so we can see what is going on? On 23/09/2015 16:06, Rosa Oliveira wrote: Dear Michael, I found some of the errors, but others I wasn’t able to. And my huge huge problem concerns OR and OR confidence

Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-23 Thread Michael Dewey
Dear Rosa It would help if you posted the error messages where they occur so that we can see which of your commands caused which error. However see comment inline below. On 22/09/2015 22:17, Rosa Oliveira wrote: Dear all, I’m trying to compute Odds ratio and OR confidence interval. I’m re

[R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-22 Thread Rosa Oliveira
Dear all, I’m trying to compute Odds ratio and OR confidence interval. I’m really naive, sorry for that. I attach my data and my code. I’m having lots of errors: 1. Error in data.frame(tas1 = tas.data$tas_d2, tas2 = tas.data$tas_d3, tas3 = tas.data$tas_d4, : arguments imply differing nu