Multivariate Models: mixture y1: Normal and y2: Poisson
Posted: Wed Jul 08, 2020 1:53 pm
Hello everyone,
I want to estimate a multilevel mixed type model: y1 is Normal and y2 is Poisson.
I’m using the following code:
model= c(y1, log(y2)) ~ 1 + x1 + (1 | group) + (1[1] | idn )
mymodel3 <- runMLwiN( model, D = c("Mixed", "Normal", "Poisson"),
estoptions = list(EstM = 0, resi.store=TRUE),
data = sample).
I obtain the following error:
"error while obeying batch file wrong number of output columns
.
Execution completed
Error in foreign::read.dta(resifile) :
unable to open file: 'No such file or directory' "
Do you know what's going on?
Thanks.
Angelo
I want to estimate a multilevel mixed type model: y1 is Normal and y2 is Poisson.
I’m using the following code:
model= c(y1, log(y2)) ~ 1 + x1 + (1 | group) + (1[1] | idn )
mymodel3 <- runMLwiN( model, D = c("Mixed", "Normal", "Poisson"),
estoptions = list(EstM = 0, resi.store=TRUE),
data = sample).
I obtain the following error:
"error while obeying batch file wrong number of output columns
.
Execution completed
Error in foreign::read.dta(resifile) :
unable to open file: 'No such file or directory' "
Do you know what's going on?
Thanks.
Angelo