Hi there, I have a noob question. What is an efficient way of indexing for a vector of vectors? Let’s say we have the following toy example. Is “sensitivity_2_3” more efficient or “sensitivity_2_and_3”?
data {
}
parameters {
vector<lower=0.0, upper=1.0>[4] labeler_sens[3];
}
transformed parameters {
real sensitivity_2_3 = labeler_sens[2][3];
real sensitivity_2_and_3 = labeler_sens[2, 3];
}
model {
for (i in 1:4) {
labeler_sens[:, i] ~ beta(10 * 0.2, 10 * 0.8);
}
}