File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -123,15 +123,6 @@ The `predict` function has two main methods:
123
123
predict
124
124
```
125
125
126
- ## Marginalization
127
-
128
- DynamicPPL provides the ` marginalize ` function to marginalize out variables from a model.
129
- This requires ` MarginalLogDensities.jl ` to be loaded in your environment.
130
-
131
- ``` @docs
132
- marginalize
133
- ```
134
-
135
126
### Basic Usage
136
127
137
128
The typical workflow for posterior prediction involves:
@@ -145,6 +136,15 @@ When using `predict` with `MCMCChains.Chains`, you can control which variables a
145
136
- ` include_all=false ` (default): Include only newly predicted variables
146
137
- ` include_all=true ` : Include both parameters from the original chain and predicted variables
147
138
139
+ ## Marginalization
140
+
141
+ DynamicPPL provides the ` marginalize ` function to marginalize out variables from a model.
142
+ This requires ` MarginalLogDensities.jl ` to be loaded in your environment.
143
+
144
+ ``` @docs
145
+ marginalize
146
+ ```
147
+
148
148
## Models within models
149
149
150
150
One can include models and call another model inside the model function with ` left ~ to_submodel(model) ` .
You can’t perform that action at this time.
0 commit comments