View source: R/903_post_hoc_fns.R
BTRT_estimate_B | R Documentation |
This uses the sequential 2-means post-hoc variable-selection technique from Li and Pati (2018) to produce a point estimate of the tensor coefficient from all of posterior samples of the tensor coefficient.
BTRT_estimate_B(all_B)
all_B |
An array of tensor coefficient posterior draws in which the final dimension corresponds to the posterior sample index. |
An array as a final estimate of the tensor coefficient
## Not run:
input <- TR_simulated_data()
results <- BTRTucker(input)
all_B <- BTRT_all_B(results)
estimate_B <- BTRT_estimate_B(all_B)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.