Description Usage Arguments Examples
View source: R/pseval-constructors.R
Estimate parameters
1 | add_estimate(psdesign, estimate)
|
psdesign |
A psdesign object, it must have risk model and integration model components |
estimate |
An estimate object created by ps_estimate |
1 2 | test <- psdesign(generate_example_data(n = 100), Z = Z, Y = Y.obs, S = S.obs, BIP = BIP)
test + integrate_parametric(S.1 ~ BIP) + risk_binary(D = 50) + ps_estimate(method = "BFGS")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.