Timeline for Can a variable be used both as an offset and an independent variable?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 19, 2023 at 21:44 | comment | added | DWin | My guess would have been that one of two conditions might occur. One might be that the “variable” would be aliased and an NA reported as the non-estimable value or otherwise that very small value would be reported that were close to zero for that variable. | |
Jun 10, 2022 at 16:18 | comment | added | dante | I would also like more details on why it wouldn't work to include a term as both an offset and an independent variable. My understanding of the offset is it is simply a term whose coefficient is set to equal one. Thus, it is more than just a "constrained slope"-it's a fixed slope and nothing is being estimated. Thus, we are only estimating one coefficient for the variable. I am modeling factors influencing the number of positives for a test. It makes sense that the positivity rate could go up as tests go down, since tests may be limited to more severe cases, and I want to account for that. | |
Nov 1, 2020 at 20:34 | comment | added | kjetil b halvorsen♦ | Can you add to this answer an explanation of why it generated dubious results? | |
Sep 10, 2019 at 19:12 | history | answered | Emilie | CC BY-SA 4.0 |