Is Stan's affine transform type <offset, multiplier> restricted to scalars?
Nobody has claimed this yet.
- #872 by @mitzimorris — closed without merging
- 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...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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