ESTF_gamma: Estimating model parameter gamma(no-purchase utility).

View source: R/ESTF_gamma.R

ESTF_gammaR Documentation

Estimating model parameter gamma(no-purchase utility).

Description

Estimating model parameter gamma(no-purchase utility) given estimated model parameters. Internal function that users should not call directly.

Usage

ESTF_gamma(
  eta_wo_k,
  Attr,
  Choice_Set_List,
  Alts_Same_Choice_Set,
  Is_Purchase,
  Base_Prod,
  Num_Prod,
  Num_Attr,
  cond
)

Arguments

Attr

list, a set of data frame in which alternative specific variables.

Choice_Set_List

list, product code included for each choice set.

Alts_Same_Choice_Set

list, for internal calculation, a list of data exposed to the same choice set.

Is_Purchase

list, for internal calculation, list of customers who are exposed to the same choice set who purchased the product. If purchased 1, otherwise 0.

Base_Prod

numeric, the baseline product number

Num_Prod

numeric, the number of all products in observed data.

Num_Attr

numeric, the number of attributes in observed data.

cond

numeric, the value associated with prop, which is the argument of the rmm function. (1-prop)/prop.

Value

The estimated value of parameters except gamma(no-purchase utility).


RMM documentation built on May 9, 2022, 5:08 p.m.

Related to ESTF_gamma in RMM...