Skip to content

The design of the weight = ... argument in gs_xxx_wlr #533

Closed
@LittleBeannie

Description

@LittleBeannie

In the current versions of gs_design_wlr and gs_power_wlr, we set up the weights as follows.

weight = function(x, arm0, arm1) {wlr_weight_fh(x, arm0, arm1, rho = 0, gamma = 0.5)}

Here are some alternatives for setting up weight = ....

weight = fh(0, 0.5)                         # mimic simtrial
weight = list(fun = fh, param =c(0, 0.5))   # mimic the spending function of gsDesign

The above alternatives may impact the summary of the weight function, which will be used during the textual summary of gs_design_wlr and gs_power_wlr.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions