Model :
m1stan <- ulam (
alist(
tp ~ dpois(lambda),
lambda <- a + bt * technique_NT + bc * category_LE,
a ~ dnorm(0,5),
bt ~ dnorm(0,1),
bc ~ dnorm(0,1)
),
data = assignment_data , chains = 4
)
The error message :
Error in mod$fit_ptr() :
Exception: variable does not exist; processing stage=data initialization; variable name=technique; base type=vector_d (in 'model659c78997d3_91de77165411d85e543f9e143f05d222' at line 7)In addition: Warning message:
In system(paste(CXX, ARGS), ignore.stdout = TRUE, ignore.stderr = TRUE) :
'-E' not found
failed to create the sampler; sampling not done
Stan model '91de77165411d85e543f9e143f05d222' does not contain samples.
Error in validObject(.Object) :
invalid class “ulam” object: invalid object for slot "coef" in class "ulam": got class "NULL", should be or extend class "numeric"
Link to Dataset :
data_autumn2020.csv (1.7 KB)