data_market_sim | R Documentation |
Simulated dataset related to customers of four different brands along with the prices of each transaction.
data(data_market_sim)
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).
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.
data(data_market_sim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.