weights_pAMCE: Computing weights for estimating the population AMCE using a...

Description Usage Arguments

View source: R/weights_pAMCE.R

Description

Computing weights for estimating the population AMCE using a design-based approach

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
weights_pAMCE(
  formula,
  factor_name,
  data,
  pair,
  pair_id,
  cross_int,
  target_dist,
  target_type,
  partial_joint_name
)

Arguments

formula

Formula

factor_name

A factor for which the function computes weights

data

Data

pair

Whether we use a paired-choice conjoint design

pair_id

Unique identifiers for pairs in the paired-choice conjoint design (optional)

cross_int

Include interactions across profiles. Default is FALSE

target_dist

Target profile distributions to be used. This argument should be 'list'

target_type

Types of target profile distributions. 'marginal', 'partial_joint' or 'target_data'. See Examples for details

partial_joint_name

Names of factors representing partial joint distributions. See Examples for details.


factorEx documentation built on July 2, 2020, 12:25 a.m.