Specify a polynomial truth
Examples
synthetic.truth.polynomial(c(b0 = 1, b1 = 2, b11 = -0.5))
#> $kind
#> [1] "truth"
#>
#> $family
#> [1] "polynomial"
#>
#> $version
#> [1] 1
#>
#> $parameters
#> $parameters$scope
#> [1] "population"
#>
#> $parameters$estimand
#> [1] "Polynomial conditional mean"
#>
#> $parameters$evaluation.coordinates
#> [1] "latent"
#>
#> $parameters$parameters
#> $parameters$parameters$coefficients
#> b0 b1 b11
#> 1.0 2.0 -0.5
#>
#>
#>
#> attr(,"class")
#> [1] "synthetic_polynomial_truth" "synthetic_truth_component"
#> [3] "synthetic_truth" "synthetic_component"