Package to generate synthetic data for the OpenSDP Project

age_calc | Function to calculate age from date of birth. |

assert | Simple error assertions |

assign_baseline | Append baseline data to initial data |

assign_grade | Assign student a grade |

assign_hs_outcomes | Assign high school outcomes |

assign_schools | Assign student enrollment spells to a school ID |

better_sim.lm | Generate simulated predictions from a linear model that... |

ceds_cleaner | CEDS oputput function |

cond_prob | Generate conditional probabilities by group |

convert_grade | Convert auto-generated grades to better grades |

diag_offset | Offset the diagonal values of a matrix |

expand_grid_df | Expand dataframe into a complete grid |

fit_series | Identify the parameters that define a series of binary... |

gamma_GK | Estimate the Goodman and Kruskal gamma statistic |

gen_annual_gpa | Generate annual GPA sequence for students based on final GPA |

gen_annual_status | Generate annual status trajectories per student |

gen_assess | Generate an assessment table |

gen_credits | Generate credit sequence for students based on their final... |

gen_gpa | Generate a final GPA for students |

gen_grad | Generate a high school graduation for students |

gen_hs_annual | Generate annual HS outcomes |

gen_initial_status | Generate initial student status indicators |

gen_nsc | Generate postsecondary institutions |

gen_ontrack | Calculate on_track based on credits |

gen_outcome_model | Generate data for a multilevel outcome |

gen_ps | Generate postsecondary enrollment outcome |

gen_ps_enrollment | Generate a student-year long table of postsecondary... |

gen_schools | Generate a roster of schools to assign students to |

gen_students | Generate student-level attributes |

gen_student_years | Generate annual student observations |

get_baseline | Function to load in SDP default baseline data |

get_code_values | Get values of codes from the CEDS Crosswalk List |

get_sim_groupvars | Get grouping variables |

grade_transitions | Generate a grade advancement transition matrix |

group_rescale | Rescaling variables in groups |

make_binary_series | Create an autocorrelated binary series |

make_inds | Append indicator variables to a data frame based on a single... |

make_markov_series | Create a series of binary variables based on a transition... |

map_CEDS | Map to and from CEDS column names |

markov_cond_list | Compute conditional Markov sequences in a pipeline |

m_sum | Sum matrix elements in a list |

namedList | Create a named list |

num_clip | Clip a vector to be between a minimum and a maximum |

num_grade | Convert a character representation of grades to numeric |

OpenSDPsynthR | OpenSDPsynthR |

rand_vect_cont | Generate positive random numbers that sum to a value |

recode_credits | Recode numeric data into plausible credit data |

recode_options | Recode options |

rescale | Reliabily rescale numerics with missingness |

rescale_gpa | Rescale scaled GPA to be on 0-4 scale |

school_transitions | Generate a random transition matrix for school enrollments |

sdp_cleaner | Convert a population simulation into an analysis file |

sim_control | Set control parameters for simulated data |

simpop | Grand simulation |

tidy_sequence | Tidy a two-state markov sequence for output |

tm_convert | Covnert a matrix to a row-wise transition matrix |

unscale | Unscale a scaled variable |

validate_probability_list | Validate probability list formatting and structure |

validate_sim_parameter | Validate outcome simulation list formatting and structure |

zeroNA | Convert NA values to 0 in a vector |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.