Computing weights for estimating the population AMCE using a design-based approach
weights_pAMCE(
formula,
factor_name,
data,
pair,
pair_id,
cross_int,
target_dist,
target_type,
partial_joint_name
)No return value, called for side effects
Formula
A factor for which the function computes weights
Data
Whether we use a paired-choice conjoint design
Unique identifiers for pairs in the paired-choice conjoint design (optional)
Include interactions across profiles. Default is FALSE
Target profile distributions to be used. This argument should be `list`
Types of target profile distributions. `marginal`, `partial_joint` or `target_data`. See Examples for details
Names of factors representing partial joint distributions. See Examples for details.