Skip to main content
6 events
when toggle format what by license comment
Apr 20 at 0:46 history edited kjetil b halvorsen CC BY-SA 4.0
added 103 characters in body
Dec 7, 2023 at 7:51 comment added Sointu If you ran the code you already figured it out, but: remember that "cat_pred" was defined as a categorical predictor with 4 levels, labeled a,b,c, and d. In this case "cat_predb" is R's default way of referring to the a vs. b contrast in regression output.
Dec 5, 2023 at 18:49 comment added MM812 This looks very promising, I'm trying it now! However, I have a question. In testing the a-b contrast, "cat_predb" has not yet been defined in this script. How is powerSim interpreting this string?
Dec 4, 2023 at 10:57 history edited Sointu CC BY-SA 4.0
added 6 characters in body
Dec 4, 2023 at 10:49 history edited Sointu CC BY-SA 4.0
added 192 characters in body
Dec 4, 2023 at 10:00 history answered Sointu CC BY-SA 4.0