Description Usage Arguments Value
View source: R/generations.of.covariates,noises,treatments,responses.R
Generation of response dataset
1 2 | response.generation(noise, covariates, treatment,
parametricCurveOption = "linear", numOfSamples = 1000)
|
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 |
a vector of responses
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.