ESTF_bp: Estimating model parameters.

View source: R/ESTF_bp.R

ESTF_bpR Documentation

Estimating model parameters.

Description

Estimating model parameters except gamma(no-purchase utility) when a particular baseline_product is specified. Internal function that users should not call directly.

Usage

ESTF_bp(
  Base_Prod = 1,
  Choice_Set_List,
  Alts_Same_Choice_Set,
  Num_Prod,
  Num_Attr,
  Is_Purchase
)

Arguments

Base_Prod

numeric, the baseline product number

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.

Num_Prod

numeric, the number of all products in observed data.

Num_Attr

numeric, the number of attributes in observed data.

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.

Value

The estimated value of parameters except gamma(no-purchase utility) when a particular baseline_product is specified.


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

Related to ESTF_bp in RMM...