Simulated dataset related to customers of four different brands along with the prices of each transaction.
Usage
data(data_market_sim)
Arguments
Format
A data frame with 200 observations on the following variables:
id
subject id.
time
occasion of observation.
brand
0 if the customer has purchased the product from brand A, 1 if brand B, 2 if brand C, 3 if brand D.
price
0 if the price of the
transaction is in the range [0.1, 10], 1 if it is in (10, 30],
2 if it is in (30, 60], 3 if it is in (30, 100], 4 if it is in (100, 500] (in thousands of Euros).
age
age of the customer in years
income
income declared by the customer at the time of the first purchase (in thousands of Euros).
References
Pennoni, F., Pandolfi, S. and Bartolucci, F. (2024), LMest: An R Package for Estimating Generalized Latent Markov Models, Submitted to the R Journal, pp. 1-30.