This function returns parameters for a beta distribution calculated from an expected proportion assigned to intervention group and error.

beta_par(proportion, error)

Arguments

proportion

Expected proportion for the intervention group

error

Within what value will 90 per cent of the proportion of intervention groups fall within?

Details

Called by intervention_proportion, this function calculates the parameters for the beta distribution to randomly generate the proportion \(p_k\) of the total sample size \(N_k\) for the \(k\)th study.

See also

Other sample_size Generating meta-anlysis sample sizes.: intervention_proportion(), sim_n()

Other simulation Functions that contribute to simulation pipeline.: default_parameters, intervention_proportion(), sim_df(), sim_n(), sim_sample()