stan-dev / stan-dev/docs

Is Stan's affine transform type <offset, multiplier> restricted to scalars?

Open
#870 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #872 by @mitzimorris — closed without merging
question
Dominant language
TeX
Stars
43
Forks
133
Avg merge
11h 32m
Merged PRs (30d)
4

Description

The Stan Reference Manual has sections: "Affinely Transformed Scalar" - https://mc-stan.org/docs/reference-manual/transforms.html#affinely-transformed-scalar and https://mc-stan.org/docs/reference-manual/types.html#affine-transform.section

The following program compiles:

parameters {
  real<multiplier=3> y;
  vector<multiplier=exp(y/2)>[9] x;
}
model {
  y ~ std_normal();
  x ~ std_normal();
}

here x is a vector, not a scalar. scatter plots of x[1] vs x[2] etc look pretty normal...

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the Stan Reference Manual sections “Affinely Transformed Scalar” and “Affine Transform” in transforms.html and types.html. Reproduce the shown Stan program and determine whether the vector example is covered by the current wording. Done means the manual clearly states the supported scope of the affine transform type and accurately explains this example.

Written by the indexing model from the issue text.

Assessment

Tech stack
tex
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.