Generate Simulated Datasets
Helper to apply functions
Create function_list
object from list of functions
Apply list of functions to column of object
Check if matrix contains constant column(s)
Build correlation matrix
Convert correlation matrix to covariance matrix
Convert correlation matrix to specification used by cor_from_upper
Post-processing of datamatrix
Estimate correlation matrix via simulation
Apply list of functions to input
Extract individual functions from function_list
Extract names of individual functions from function_list
Check if matrix is collinear
Check if matrix is a correlation matrix
Find pairwise initial correlation for NORTA from target correlation
Find initial correlation matrix for NORTA from target correlation
Define partial function
Visualize fixed correlation structure as a network
Visualize estimated correlation matrix as a network
Truncate columns of datamatrix at datamatrix specific thresholds
Truncate columns of datamatrix at specified thresholds
Helper to estimate quantile functions from data for NORTA
Uniform disc sampling design specification
Multivariate normal design specification
NORTA-based design specification
Design specification for simulating datasets
Simulate data which satisfies certain conditions
Simulate design matrix
Generate simulated datasets from an initial underlying distribution and apply transformations to obtain realistic data. Implements the 'NORTA' (Normal-to-anything) approach from Cario and Nelson (1997) and other data generating mechanisms. Simple network visualization tools are provided to facilitate communicating the simulation setup.
Useful links