insample_sim_hh1: Hopkins Hybrid 1: Run a simulation and then perform...

Description Usage Arguments Value Examples

Description

This function comes after many months of running readme_sim and talks with Bryan Lau on what we need to demonstrate for the method.

Usage

1
2
3
insample_sim_hh1(sim_seed = 101, sample_size = 1000, sim_slope = 100,
  sim_intercept = 12, sim_ses_coef = 0.01, sim_age_coef = 0.01,
  hh_rds = "./data_local/hopkins_hybrid.RDS")

Arguments

sim_seed

passed to set.seed()

sample_size

(defaults to 1000) and must be a multiple of 100

sim_slope

see slope in calculate_ses()

sim_intercept

see intercept in calculate_ses()

sim_ses_coef

see ses_coef in apply_censoring()

sim_age_coef

see age_coef in apply_censoring()

hh_rds

the path in single quotes to the local copy of hopkins_hybrid.RDS

Value

results a data frame with rmse for each approach for that simulated dataset

Examples

1
---

swihart/wfpca documentation built on May 30, 2019, 10:38 p.m.