Design Methods
The method argument determines the design approach used:
"random": Creates designs by randomly sampling profiles for each respondent independently
"shortcut": Frequency-based greedy algorithm that balances attribute level usage
"minoverlap": Greedy algorithm that minimizes attribute overlap within choice sets
"balanced": Greedy algorithm that maximizes overall attribute balance across the design
"stochastic": Stochastic profile swapping with D-error optimization (first improvement found)
"modfed": Modified Fedorov algorithm with exhaustive profile swapping for D-error optimization
"cea": Coordinate Exchange Algorithm with attribute-by-attribute D-error optimization
Method Compatibility
The table below summarizes method compatibility with design features:
| Method | No choice? | Labeled designs? | Restricted profiles? | balance_by? | Blocking? | Interactions? | Dominance removal? |
| "random" | Yes | Yes | Yes | Yes | No | Yes | Yes |
| "shortcut" | Yes | Yes | Yes | Yes | No | No | Yes |
| "minoverlap" | Yes | Yes | Yes | Yes | No | No | Yes |
| "balanced" | Yes | Yes | Yes | Yes | No | No | Yes |
| "stochastic" | Yes | Yes | Yes | No | Yes | Yes | Yes |
| "modfed" | Yes | Yes | Yes | No | Yes | Yes | Yes |
| "cea" | Yes | Yes | No | No | Yes | Yes | Yes |
Design Quality Assurance
All methods ensure the following criteria are met:
No duplicate profiles within any choice set
No duplicate choice sets within any respondent
If remove_dominant = TRUE, choice sets with dominant alternatives are eliminated (optimization methods only)
Balanced Sampling with balance_by
The balance_by argument enables balanced sampling across specified attributes,
solving the problem of attribute-specific features that create imbalanced designs.
For example, consider an experiment on alternative vehicle powertrains with a "powertrain"
attribute for gas and electric vehicles. If you had an "electric_vehicle_range" attribute,
it should be 0 for non-electric powertrains, but using restrictions can lead to
over-representation of electric vehicles. Using balance_by = "powertrain" ensures that each
choice question samples proportionally from gas and electric powertrains, maintaining balance
even when electric vehicles have additional attributes.
Multiple attributes can be balanced simultaneously using balance_by = c("attr1", "attr2"),
which creates groups based on unique combinations of the specified attributes.
Method Details
Random Method
Creates designs where each respondent sees completely independent, randomly generated choice sets.
Greedy Methods (shortcut, minoverlap, balanced)
These methods use frequency-based algorithms that make locally optimal choices:
Shortcut: Balances attribute level usage within questions and across the overall design
Minoverlap: Minimizes attribute overlap within choice sets while allowing some overlap for balance
Balanced: Maximizes overall attribute balance, prioritizing level distribution over overlap reduction
These methods provide good level balance without requiring priors or D-error calculations and offer fast execution suitable for large designs.
D-Error Optimization Methods (stochastic, modfed, cea)
These methods minimize D-error to create statistically efficient designs:
Stochastic: Random profile sampling with first improvement acceptance
Modfed: Exhaustive profile testing for best improvement (slower but thorough)
CEA: Coordinate exchange testing attribute levels individually (requires full factorial profiles)
idefix Integration
When use_idefix = TRUE (the default), the function leverages the highly optimized
algorithms from the idefix package for 'cea' and 'modfed' design generation methods.
This can provide significant speed improvements, especially for larger
problems.
Key benefits of idefix integration:
Faster optimization algorithms with C++ implementation
Better handling of large candidate sets
Optimized parallel processing
Advanced blocking capabilities for multi-block designs