Description Usage Arguments Value
View source: R/true.data.generation.R
True Data Generation
1 2 3 4 | true.data.generation(numOfCovariates = 2,
distributionForCovariates = "normal", distributionForNoise = "normal",
distributionForTreatment = "normal", parametricCurveOption = "polynom",
trimLowerBound = -4, trimUpperBound = 4, nrep = 1e+06)
|
numOfCovariates |
dimension of covariates |
distributionForCovariates |
default = "normal", choose from normal, student, uniform distributions |
distributionForNoise |
default = "normal", choose from normal, student, uniform distributions |
distributionForTreatment |
default = "normal", choose from normal, student, uniform distributions |
parametricCurveOption |
default = "linear", choose from "linear", "polynom", "polynom2", "polynom3", "mixture" |
trimLowerBound |
the lower bound of trimming treatment vector |
trimUpperBound |
the upper bound of trimming treatment vector |
nrep |
default = 1000000, numerically calculate the true density by setting equi-distant nrep sample points for approximation |
a list of true response value "true.y" evaluated at "grid", with treatment density "density".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.