Making regress maximally maintainable
#36
Replies: 7 comments 2 replies
-
|
Regarding the "best" package to use for fitting GEEs: the options (as far as I know) are
Anything I missed? Thoughts on which we should use? (or allow the user to specify? 🤭 ) |
Beta Was this translation helpful? Give feedback.
-
|
I think the new workflow sounds nice to me. I have no huge preference on gee package, but I do think it would probably be okay to just use one of them rather than allow the user to specify it. I've personally never used geeM. On a related note, what are some of the utility functions for |
Beta Was this translation helpful? Give feedback.
-
|
Should we support proportional hazards regression and GEEs? @adw96 and @jphughes9 do you know if PH regression and/or GEEs are still introduced in 518? Arguments in favor:
Arguments in opposition:
|
Beta Was this translation helpful? Give feedback.
-
|
I don’t know about 518 (perhaps check with Katie) but PH regression is introduced in 513. However, I doubt that regress() would be used for that even if available, rather than the survival package.
regress() currently supports clustered data and robust variances, right? But all in the context of independent working correlation, I think? I would say good to keep that functionality but not try to turn it into a full gee package.
Jim
--------------
Jim Hughes
Professor of Biostatistics
University of Washington Email: ***@***.******@***.***>
Mailstop 351617 Phone: 206-616-2721
Seattle, WA 98195 Fax: 206-616-2724
Cell: 206-498-2456
From: Brian Williamson ***@***.***>
Sent: Monday, August 2, 2021 11:56 AM
To: statdivlab/rigr ***@***.***>
Cc: Jim Hughes ***@***.***>; Mention ***@***.***>
Subject: Re: [statdivlab/rigr] Making `regress` maximally maintainable (#36)
Should we support proportional hazards regression and GEEs? @adw96<https://github.com/adw96> and @jphughes9<https://github.com/jphughes9> do you know if PH regression and/or GEEs are still introduced in 518?
Arguments in favor:
* PH regression (to some extent) and GEEs (very minimally) used to be introduced in 518
* Could be nice to have unified i/o for the sake of this course
Arguments in opposition:
* these seem like excellent examples for how to load new R packages outside of the rigr ecosystem in a controlled manner
* both are more complex than, e.g., glm, and are more likely to introduce breaking changes
* we probably should introduce students to survival, since that's what they'll use outside of the course
* if we're going to introduce GEEs, it makes sense to use an external package
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#36 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFPGUCRIZAZB2FDDADPBJTDT23S4VANCNFSM5BND6HMQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>.
|
Beta Was this translation helpful? Give feedback.
-
|
Hi all - I used Thanks @bdwilliamson for initiating this conversation and everyone else for your great input. In general I support "maintainability > do-all-the-things" as a philosophy for this package 😊 |
Beta Was this translation helpful? Give feedback.
-
|
Related to keeping |
Beta Was this translation helpful? Give feedback.
-
|
That is not something I would ever make use of in 511.
Jim
--------------
Jim Hughes
Professor of Biostatistics
University of Washington Email: ***@***.******@***.***>
Mailstop 351617 Phone: 206-616-2721
Seattle, WA 98195 Fax: 206-616-2724
Cell: 206-498-2456
From: Taylor Okonek ***@***.***>
Sent: Wednesday, August 11, 2021 3:35 PM
To: statdivlab/rigr ***@***.***>
Cc: Jim Hughes ***@***.***>; Mention ***@***.***>
Subject: Re: [statdivlab/rigr] Making `regress` maximally maintainable (#36)
Related to keeping regress maintainable moving forward, it seems as though the function currently supports (unclear if it's buggy or not... it probably is) linear regression with multiple outcomes, where you can specify a matrix of outcome variables in your regress call. @adw96<https://github.com/adw96> @jphughes9<https://github.com/jphughes9> is this something that you go over in your courses, and is this something we want the function to be able to handle moving forward?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#36 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFPGUCRGFCYLISK4CKJZIP3T4L3KTANCNFSM5BND6HMQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm hoping for this to be a place where we can discuss all things
regress; in particular, makingregress"maximally maintainable". This means (probably) streamlining the internal code and making regress more of a wrapper. But first, some context.regresswas designed as a one-stop shop for all things regression, withgeepack)My initial solution to adding multiple-partial F-tests required modifying internal objects from, e.g.,
glm, including theformula(among others). This, in turn, forced me to lift large amounts of code from these functions to access the objects I needed.However, I'm now thinking that we could do much more without this. A new workflow could be:
U), strip that out of the formula (but hold onto it for later)lm,glm,coxph, GEE using our favorite package)Uterm(s))This could fix #35: we had to use internal functions from
survival, breaking changes of which subsequently brokeuwIntroStatsand resulted in it being taken down from CRAN.Beta Was this translation helpful? Give feedback.
All reactions