Compute the scores given the prediction

compute_score_given_pred(
  pred_N_1,
  pred_N_2,
  Y_N_1_thin,
  Y_N_2_thin,
  y_data,
  group_data
)

Arguments

pred_N_1

a matrix of n_obs * N

pred_N_2

a matrix of n_obs * N

y_data

a vector of length n_obs

group_data

a vector of length n_obs

Y_N_1

a matrix of n_obs * N

Y_N_2

a matrix of n_obs * N