response.generation: Generation of response dataset

Description Usage Arguments Value

View source: R/generations.of.covariates,noises,treatments,responses.R

Description

Generation of response dataset

Usage

1
2
response.generation(noise, covariates, treatment,
  parametricCurveOption = "linear", numOfSamples = 1000)

Arguments

noise

the noise vector generated by function noise.generation(), term u in the model

covariates

the covariates matrix generated by function covariates.generation(), term x in the model

treatment

the treatment vector generated by function treatment.generation(), term t in the model

parametricCurveOption

g(x,t) with different smoothness chosen from "linear", "polynom", "polynom2", "polynom3", "mixture"

numOfSamples

number of samples

Value

a vector of responses


fadedsoul/cdml documentation built on May 14, 2019, 8:01 a.m.