All functions

convert_params()

Convert parameters

cor2cov()

Get covariance matrix from a correlation matrix

d_skew_normal()

Probability density function of a skew normal distribution

delta_skew_normal()

Delta parameter of a skew normal distribution

estimate_mu_sd()

Estimate mean and standard deviation

estimate_parameters()

Estimate parameters

get_MSE()

Calculate the mean squared error

get_new_rk()

Calculate new representatives `rk` from cut points `xk`

get_new_xk()

Calculate new cut points `xk` from representatives `rk`

get_pk()

Calculate probabilities `pk` from cut points `xk`

get_pk_mean()

Calculate the mean of `pk`

get_pk_var()

Calculate variance of probabilities `pk`

get_prop_table()

Get a table of proportions across each possible response

get_rand_corr_matrix()

Generate a random `p x p` correlation matrix

get_random_cp()

Get random centered parameters `c(mu, sd, gamma1)` for testing

get_responses()

Get responses

get_univariate_responses()

Get univariate responses

mean_skew_normal()

The mean of skew normal distribution

pad_levels()

Pad missing levels with zeros

percentify()

Return percentage for a given number

plot_contour()

Plot the contour of function `f` along with provided trace

run_Lloyd()

Implementation of Lloyd's algorithm

scale_and_shift()

Scale and shift cut points

simulate_responses()

Simulate responses

var_skew_normal()

Variance of a skew normal distribution