simreg {em}R Documentation

Simulated Regression Data

Description

A data set with simulated data from mixture regression models.

Usage

simreg

Format

A data frame with 1000 rows and 5 variables:

yp

A dependent variable generated from a mixture of a poisson regression with x

yn

A dependent variable generated from a mixture of a linear regression with x

yc

A dependent variable generated from a mixture of a linear regression with x and a concomitant variable of z

x

An independent variable

z

A concomitant variable

Source

<https://www.github.com/wudongjie/em>


[Package em version 1.0.0 Index]