Skip to contents

Generating data

gen_data_bin()
Generate independent data samples according to model_no
gen_data_bin_srs() gen_data_bin_strat() gen_data_bin_clust() gen_data_bin_strcl()
Sample from the school population
gen_data_bin_wt()
Generate an informative (weighted) data sample according to model_no
make_population()
Simulate the school population data set

Test statistics

all_tests()
Return all test statistics values
Wald_test() Wald_diag_test() Wald_vcovf_test() Pearson_RS_test() Pearson_test() RSS_test() Multn_test()
Limited information goodness-of-fit tests

Simulation study

run_ligof_sims()
Wrapper function for Type 1 and Power simulations
print(<ligof_sims>) summary(<ligof_sims>)
Print and summary methods for simulations

Utility functions

txt_mod()
Function to return the textual model for lavaan fit
create_resp_pattern()
Create a table of binary response patterns
create_G_mat() create_T2_mat() create_Beta_mat()
Create transformation matrices
get_true_values() get_theoretical_uni_bi_moments()
Returns theoretical true values
get_uni_bi_moments()
Get univariate and bivariate moments