On 04 Jan 2014, at 12:53 , Uwe Ligges <lig...@statistik.tu-dortmund.de> wrote:
> > > On 04.01.2014 06:39, zhu yao wrote: >> Dear Sir >> Many papers calculated the p value of trends for odds ratios of ordered >> category variables. I have found the tabodds command in Stata. But how to >> do it in R? > > Depends on the method you want to use ... and most ladies and gents on this > list won't know Stata well enough to know what tabodds does. We can google its help files, though. I would expect that prop.trend.test is pretty much equivalent, or in general score tests in the appropriate logistic regression model. However, a worked example in Stata and some reproducible data would allow us to say with more confidence. > > Best, > Uwe Ligges > > > > >> Thanks >> >> *Yao Zhu* >> >> >> *Department of UrologyFudan University Shanghai Cancer CenterShanghai, >> China* >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> 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. >> > > ______________________________________________ > 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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd....@cbs.dk Priv: pda...@gmail.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.