estimate_se | R Documentation |
Internal Function to calculate bootstrap estimate of mean and standard error of gaussian parameters
estimate_se(x_i, p_y_given_x_3d, num_obs, reps = 20)
x_i |
A single variable/column of data |
p_y_given_x_3d |
A 3D array of numerics in range (0, 1), that represent the probability that each observed x variable belongs to n_hidden latent variables of dimension dim_hidden. p_y_given_x_3d has dimensions (n_hidden, n_samples, dim_hidden). |
num_obs |
A 2D array of dimensions (n_hidden, dim_hidden) representing expected counts of n_hidden x dim_hidden summed over data samples (rows) - can be non-integer |
reps |
numeric to specify number of bootstrap estimates to calculate. Default = 20 |
Returns a list of 4 numerics names m1, m2, se1, se2 which are used in smoothing calculations by estimate_parameters_gaussian
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.