ExNPreg.RdA simple artificial regression example with 2 latent classes, one independent variable (uniform on \([0,10]\)), and three dependent variables with Gaussian, Poisson and Binomial distribution, respectively.
ExNPreg(n)
data("NPreg")The NPreg data frame can be re-created by ExNPreg(100)
using set.seed(2602), it has been saved as a data set for
simplicity of examples only.