Andrew Johnson

Results 115 issues of Andrew Johnson

#### Submission Checklist This PR marks the `binomial_logit` and `binomial_logit_glm` distributions as OpenCL-supported. The `binomial_logit_glm` support was only [recently added](https://github.com/stan-dev/math/pull/2960), but the `binomial_logit` distributions appears to have already [had support](https://github.com/stan-dev/math/blob/develop/stan/math/opencl/prim/binomial_logit_lpmf.hpp)...

The current `normal_id_glm` signatures for use with a univariate outcome `y` only support `matrix` type inputs for `x`, for example: ```stan real normal_id_glm_lpdf(real y | matrix x, real alpha, vector...

good first issue
feature

The `integrate_1d` implementation in the Math library supports [variadic unstructured arguments](https://github.com/stan-dev/math/blob/5d1fd38376d20a9da6368d8b16c2c02934c61991/stan/math/rev/functor/integrate_1d.hpp#L41), but the Stan language only exposes the `theta, x_r, x_i` parameterisation like the deprecated ODE signatures: https://mc-stan.org/docs/functions-reference/functions-1d-integrator.html#call-to-the-1d-integrator I think...

good first issue
feature

Currently the only way to specify/use a variadic signature in Stan is by adding it to `stanc3`, but it would be great for prototyping if it was possible to specify...

feature

Would it be tricky/breaking to add support for a `bool`/`boolean` data type? All of the conditional/comparison operators require a boolean value, so users currently have to re-evaluate the condition at...

feature

A bit of a nice-to-have for simplifying more complex models would be the ability to pass a functions as an argument to another function. With suggested signatures like: ```stan functions...

feature

[This Math PR](https://github.com/stan-dev/math/pull/2248) vectorises the RNGs and lpmfs of the ```ordered_logistic```, ```categorical```, and ```categorical_logit``` distrubtions. The following signatures were added: - ```ordered_logistic_rng(vector, vector)``` - ```ordered_logistic_rng(vector, vector[])``` - ```ordered_logistic_rng(real, vector[])``` -...

feature

At the moment the ternary operator in stan directly transpiles to the C++ ternary operator. However, there have been requests in the past for a vectorised ternary operator: - https://discourse.mc-stan.org/t/ternary-operator-for-vectors/23149...

feature

The following code: ``` data { int N; int y[N]; } parameters { real theta; } model { theta ~ beta(1,1); // uniform prior on interval 0,1 y ~ bernoulli(theta);...

feature

https://learn.microsoft.com/en-us/power-bi/developer/visuals/landing-page