-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move towards single wrap function with others imported
- Loading branch information
Showing
3 changed files
with
20 additions
and
863 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
real primarycensored_wrapper_lpmf(data int d, real mu, real sigma, real q, data real pwindow) { | ||
int dist_id = 1; // lognormal | ||
array[2] real params = {mu, sigma}; | ||
int d_upper = d + 1; | ||
int primary_id = 1; // Uniform | ||
array[0] real primary_params; | ||
return primarycensored_lpmf(d | dist_id, params, pwindow, d_upper, positive_infinity(), primary_id, primary_params); | ||
} |
Oops, something went wrong.