From 316ce33b5530284d79d98ad349561e3058612f01 Mon Sep 17 00:00:00 2001 From: Nathan TeBlunthuis Date: Tue, 7 Mar 2023 13:21:26 -0800 Subject: [PATCH] add variable for the correlation in simulation 2 --- resources/variables.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/variables.R b/resources/variables.R index d8c8a59..87a5cae 100644 --- a/resources/variables.R +++ b/resources/variables.R @@ -41,7 +41,8 @@ sim2b.lik.ratio <- example.4['med.lik.ratio'] (sim2b.error.cor.z <- as.numeric(unlist(example.4['med.error.cor.z']))) n.simulations <- max(unlist(example_1_jobs$seed)) -sim1a.cor.xz <- as.numeric(unlist(example.3['med.cor.xz'])) +sim1a.cor.xz <- as.numeric(unlist(example.1['med.cor.xz'])) +sim2a.cor.xz <- as.numeric(unlist(example.3['med.cor.xz'])) sim1.R2 <- unlist(example_1_jobs$y_explained_variance) N.sizes <- unlist(example_1_jobs$N) N.sizes <- N.sizes[N.sizes!=800]