Skip to content

Commit

Permalink
Merge cb7f208 into 5c68ce4
Browse files Browse the repository at this point in the history
  • Loading branch information
jburos committed Sep 5, 2018
2 parents 5c68ce4 + cb7f208 commit e1ee7fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions survivalstan/stan/pem_survival_model_unstructured.stan
Expand Up @@ -39,7 +39,7 @@ transformed data {
vector[T] log_t_dur; // log-duration for each timepoint
int n_trans[S, T];

log_t_dur = log(t_obs);
log_t_dur = log(t_dur);

// n_trans used to map each sample*timepoint to n (used in gen quantities)
// map each patient/timepoint combination to n values
Expand Down Expand Up @@ -139,4 +139,4 @@ generated quantities {
y_hat_event[samp] = 0;
}
} // end per-sample loop
}
}

0 comments on commit e1ee7fa

Please sign in to comment.