Also, is the default base for "log" the same in both programs?
On Tue, Apr 14, 2020 at 3:36 PM Sorkin, John <jsor...@som.umaryland.edu> wrote: > > Your question is unlikely to be answered unless you post code demonstrating > the problem > J > > John David Sorkin M.D., Ph.D. > Professor of Medicine > Chief, Biostatistics and Informatics > University of Maryland School of Medicine Division of Gerontology and > Geriatric Medicine > Baltimore VA Medical Center > 10 North Greene Street<x-apple-data-detectors://12> > GRECC<x-apple-data-detectors://12> (BT/18/GR) > Baltimore, MD 21201-1524<x-apple-data-detectors://13/0> > (Phone) 410-605-711<tel:410-605-7119>9 > (Fax) 410-605-7913<tel:410-605-7913> (Please call phone number above prior to > faxing) > > On Apr 14, 2020, at 3:23 PM, Haddison Mureithi <mureithihaddi...@gmail.com> > wrote: > > Hae guys, > When performing a poisson regression sometimes one has to input the > offset/exposure variable to account for individual time spent in a certain > therapy before acquiring a certain condition of interest, whereby in r > offset(log(months)) and in STATA offset(log(months)) results differ. > Thereby increasing the difference of the overall outcome, i don't know why > any one know why? > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-help&data=02%7C01%7C%7Cb386607c67fa45f5ac3508d7e0a923cc%7C717009a620de461a88940312a395cac9%7C0%7C0%7C637224889939614430&sdata=VsicWcmiBw162nLk6CZGKx5pKW4SbBliXeYY%2BLYu90Q%3D&reserved=0 > PLEASE do read the posting guide > https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.r-project.org%2Fposting-guide.html&data=02%7C01%7C%7Cb386607c67fa45f5ac3508d7e0a923cc%7C717009a620de461a88940312a395cac9%7C0%7C0%7C637224889939614430&sdata=D4wrhP70NpBLjcE8Yd9JZCIykwqf4dDTla4Zkyk%2FQ5Q%3D&reserved=0 > and provide commented, minimal, self-contained, reproducible code. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. -- Patrick S. Malone, Ph.D., Malone Quantitative NEW Service Models: http://malonequantitative.com He/Him/His ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.