Simulate Models Based on the Generalized Linear Model


[Up] [Top]

Documentation for package ‘simglm’ version 0.7.2

Help Pages

simglm-package simglm: A package to simulate and perform power by simulation for models based on the generalized linear model.
compute_statistics Compute Power, Type I Error, or Precision Statistics
corr_variables Function to correlate variables
cross_class Cross Classified Generation
data_glm_nested Generate logistic regression outcome
data_glm_nested3 Simulates three level nested data with a single third level random effect
data_glm_single Generate logistic regression outcome
data_reg_nested Simulates two level nested data
data_reg_nested3 Simulates three level nested data with a single third level random effect
data_reg_single Simulates single level data
desireVar Computes mixture normal variance
dropout_missing Missing Data Functions
extract_coefficients Extract Coefficients
generate_missing Tidy Missing Data Function
generate_response Simulate response variable
mar_missing Missing Data Functions
missing_data Missing Data Functions
model_fit Tidy Model Fitting Function
parse_crossclass Parse Cross-classified Random Effects
parse_formula Parses tidy formula simulation syntax
parse_power Parse power specifications
parse_randomeffect Parses random effect specification
parse_varyarguments Parse varying arguments
random_missing Missing Data Functions
rbimod Simulating mixture normal distributions
replicate_simulation Replicate Simulation
run_shiny Run Shiny Application Demo
simglm simglm: A package to simulate and perform power by simulation for models based on the generalized linear model.
simulate_error Tidy error simulation
simulate_fixed Tidy fixed effect formula simulation
simulate_randomeffect Tidy random effect formula simulation
sim_continuous Simulate continuous variables
sim_continuous2 Simulate continuous variables
sim_err_nested Function that simulates errors.
sim_err_single Function that simulates errors.
sim_factor Simulate categorical, factor, or discrete variables
sim_factor2 Simulate categorical, factor, or discrete variables
sim_fixef_nested Simulates design matrix.
sim_fixef_nested3 Simulates design matrix.
sim_fixef_single Simulates design matrix for single level model.
sim_glm Master generalized simulation function.
sim_glm_nested Simulate two level logistic regression model
sim_glm_nested3 Function to simulate three level nested data
sim_glm_single Simulation single level logistic regression model
sim_knot Simulate knot locations
sim_pow Master power simulation function.
sim_pow_glm Master power simulation function for glm models.
sim_pow_glm_nested Power simulation for nested designs
sim_pow_glm_nested3 Power simulation for nested designs
sim_pow_glm_single Function to simulate power.
sim_pow_nested Power simulation for nested designs
sim_pow_nested3 Power simulation for nested designs
sim_pow_single Function to simulate power.
sim_rand_eff Function to simulate random effects.
sim_reg Master continuous simulation function.
sim_reg_nested Function to simulate nested data
sim_reg_nested3 Function to simulate three level nested data
sim_reg_single Master function to simulate single level data.
sim_time Simulate Time
transform_outcome Transform response variable
varcov_randeff Function to create random effect variance-covariance matrices