Skip to content

Commit ea9c1ce

Browse files
committed
refine conclusion of the meta analysis
Signed-off-by: Aritra Dey <adey01027@gmail.com>
1 parent eb4c2f4 commit ea9c1ce

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

documentation/tutorials/Demo_03_Meta_Analysis/meta_analysis.qmd

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,22 @@ for (trait in names(trait.mcmc)) {
213213

214214
# Conclusion
215215

216-
This notebook demonstrated how to run the PEcAn meta-analysis module programmatically. By combining prior information with (simulated) observational data, we generated posterior distributions for key PFT parameters. These posteriors can now be used to parameterize the ecosystem model, propagating the uncertainty from the data to the model projections.
217-
218-
You can now modify parameters, try different models, or extend the analysis as needed. Try editing the `pecan.xml` file. Give it a new name and update the **settings_path** variable at the beginning of this Demo to point to the new file. See how the changes affect the model output!
216+
In this demo, we have successfully run a Bayesian meta-analysis to estimate the posterior distributions of plant traits for a temperate coniferous forest.
217+
218+
## Using these Posteriors
219+
220+
Now that you have generated these posterior distributions, you can use them to constrain the parameters of an ecosystem model. To do this:
221+
222+
1. **Locate your output**: Note the path to the `post.distns.Rdata` file generated in the `pft/temperate.coniferous` directory.
223+
2. **Update your `pecan.xml`**: In your model run configuration (e.g., from Demo 01 or Demo 02), update the `<posterior.files>` tag within the `<pft>` section to point to this file.
224+
```xml
225+
<pft>
226+
<name>temperate.coniferous</name>
227+
<posterior.files>/path/to/your/demo/pft/temperate.coniferous/post.distns.Rdata</posterior.files>
228+
</pft>
229+
```
230+
3. **Rerun the model**: Execute your PEcAn workflow (e.g., Demo 01 or Demo 02).
231+
4. **Compare results**: Observe how the width of the confidence intervals and the overall uncertainty analysis results change when using these informative priors compared to the default uninformative priors.
219232

220233
# Further Exploration
221234

0 commit comments

Comments
 (0)