Re: [R] Difference in offset values in R and STATA

2020-04-14 Thread Patrick (Malone Quantitative)
Also, is the default base for "log" the same in both programs? On Tue, Apr 14, 2020 at 3:36 PM Sorkin, John 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 a

Re: [R] Difference in offset values in R and STATA

2020-04-14 Thread Sorkin, John
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

[R] Difference in offset values in R and STATA

2020-04-14 Thread Haddison Mureithi
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. Thereb