Dear Prof. Rizopoulos,
I cannot seem to get the truncated normal family to work in a study I am performing.
To recreate the problem, I use the following toy example:
set.seed(123)
fake_data <- data.frame(Y = rnorm(1000), X = rbinom(1000, 1, 0.4), ID = rep(1:500, 2))
fit <- mixed_model(fixed = Y ~ X, random = ~ 1 | ID, data = fake_data, family = censored.normal())
This, just as the real data I am using, returns "Error in y[, 2L] : incorrect number of dimensions".
Dear Prof. Rizopoulos, I cannot seem to get the truncated normal family to work in a study I am performing.
To recreate the problem, I use the following toy example: set.seed(123) fake_data <- data.frame(Y = rnorm(1000), X = rbinom(1000, 1, 0.4), ID = rep(1:500, 2)) fit <- mixed_model(fixed = Y ~ X, random = ~ 1 | ID, data = fake_data, family = censored.normal())
This, just as the real data I am using, returns "Error in y[, 2L] : incorrect number of dimensions".
I am using version 0.8-5 of the package.
Would be grateful for assistance. Noam