GReg: Artificial Example for Gamma Regression

Description Usage Format Examples

Description

A simple artificial regression example containing 200 data points with two latent classes. The data set includes one independent variable (uniform on [0,10]) and one dependent variable with gamma distribution.

Usage

1
data("GReg")

Format

This data frame contains the following columns:

x

a numeric vector giving the independent variable.

yg

a numeric vector giving the dependent variable with gamma distribution.

class

a numeric vector indicating the labeling of the data points to two distinct classes.

Examples

1
2
data("GReg", package = "flexmixNL")
plot(yg ~ x, col = class, data = GReg)

Example output

Loading required package: flexmix
Loading required package: lattice
Loading required package: gnm

Attaching package:gnmThe following object is masked frompackage:flexmix:

    parameters

The following object is masked frompackage:lattice:

    barley

flexmixNL documentation built on July 27, 2019, 9:02 a.m.