<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Guides on Models for missing data</title><link>https://mtaniguchiking.github.io/M4MD-forecast-docs-dev/docs/5-forecasting/running/guides/</link><description>Recent content in Guides on Models for missing data</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://mtaniguchiking.github.io/M4MD-forecast-docs-dev/docs/5-forecasting/running/guides/index.xml" rel="self" type="application/rss+xml"/><item><title>Mock data walkthrough</title><link>https://mtaniguchiking.github.io/M4MD-forecast-docs-dev/docs/5-forecasting/running/guides/mock-data/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://mtaniguchiking.github.io/M4MD-forecast-docs-dev/docs/5-forecasting/running/guides/mock-data/</guid><description>&lt;h1 id="your-first-forecast-mock-data"&gt;
 Your First Forecast (Mock Data)
 &lt;a class="anchor" href="#your-first-forecast-mock-data"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;This is the simpliest path to perform a forecast. All data is pre-committed, so there&amp;rsquo;s nothing to download or prepare. The walkthrough has three steps.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;
 Prerequisites
 &lt;a class="anchor" href="#prerequisites"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;A working M4MD repo. [TODO: formalize this]&lt;/p&gt;
&lt;h2 id="step-0-understand-the-mock-data"&gt;
 Step 0: Understand the mock data
 &lt;a class="anchor" href="#step-0-understand-the-mock-data"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;The mock dataset represents a single park unit (&lt;strong&gt;ELDO&lt;/strong&gt;) with two vegetation strata (&lt;strong&gt;A&lt;/strong&gt; and &lt;strong&gt;B&lt;/strong&gt;), three sites per stratum, and three transects per site — surveyed annually from &lt;strong&gt;2000 to 2025&lt;/strong&gt;. Each transect records how many of 100 sample points hit a plant (&lt;code&gt;y_hits&lt;/code&gt; out of &lt;code&gt;n_points = 100&lt;/code&gt;). A single climate covariate, &lt;strong&gt;precipitation (ppt)&lt;/strong&gt;, declines gradually over the training period and drives the vegetation response.&lt;/p&gt;</description></item><item><title>Climate futures tutorial</title><link>https://mtaniguchiking.github.io/M4MD-forecast-docs-dev/docs/5-forecasting/running/guides/climate-futures-data/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://mtaniguchiking.github.io/M4MD-forecast-docs-dev/docs/5-forecasting/running/guides/climate-futures-data/</guid><description>&lt;h1 id="forecasting-with-real-world-data"&gt;
 Forecasting with Real-World Data
 &lt;a class="anchor" href="#forecasting-with-real-world-data"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;!-- TODO: Intro paragraph — this path is for users who have their own NPS
 monitoring data and want to run a real forecast. It has a moderate lift:
 the user provides a response variable CSV, and an external notebooks repo
 handles covariate and scenario data preparation.
--&gt;
&lt;h2 id="what-youll-need"&gt;
 What You&amp;rsquo;ll Need
 &lt;a class="anchor" href="#what-youll-need"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;!-- TODO: Checklist — same R/JAGS prereqs as mock walkthrough, plus:
 - your own response variable CSV (format TBD — link to column schema)
 - access to the external notebooks repo (link TBD)
--&gt;
&lt;h2 id="step-1-prepare-your-covariate-and-scenario-data"&gt;
 Step 1: Prepare Your Covariate and Scenario Data
 &lt;a class="anchor" href="#step-1-prepare-your-covariate-and-scenario-data"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;!-- TODO: Point to the external notebooks repo (URL TBD). Explain:
 - User provides their response variable CSV
 - The notebooks produce a formatted covariates CSV and a scenarios CSV
 - The output format matches what analysis-pipeline.R and
 forecast-pipeline.R expect
--&gt;
&lt;h2 id="step-2-fit-the-model"&gt;
 Step 2: Fit the Model
 &lt;a class="anchor" href="#step-2-fit-the-model"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Once your data files are ready, follow the same fit step as the mock walkthrough:&lt;/p&gt;</description></item><item><title>Custom data guide</title><link>https://mtaniguchiking.github.io/M4MD-forecast-docs-dev/docs/5-forecasting/running/guides/custom-data/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://mtaniguchiking.github.io/M4MD-forecast-docs-dev/docs/5-forecasting/running/guides/custom-data/</guid><description>&lt;h1 id="running-a-forecast-with-custom-data"&gt;
 Running a Forecast with Custom Data
 &lt;a class="anchor" href="#running-a-forecast-with-custom-data"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;!-- TODO: Intro paragraph — this is the full reference for users bringing
 entirely their own data (response, covariates, and scenarios). No
 external tool required. This page is denser than the walkthroughs
 and serves as a reference rather than a tutorial.
--&gt;
&lt;h2 id="required-input-files"&gt;
 Required Input Files
 &lt;a class="anchor" href="#required-input-files"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;!-- TODO: Describe each input file with column schemas:
 1. Response variable CSV — columns, units, required fields
 2. Covariates CSV (training) — columns, format
 3. Scenarios CSV (future) — columns, scenario_id vs model_run_id distinction,
 how multiple GCM runs are represented
 Cross-reference forecasting/getting-started/generate-mock-data.R
 for concrete examples of each format.
--&gt;
&lt;h2 id="forecast-config-yaml-reference"&gt;
 Forecast Config YAML Reference
 &lt;a class="anchor" href="#forecast-config-yaml-reference"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;!-- TODO: Document every key in the forecast config YAML:
 - Required keys (paths to inputs, output dir, likelihood)
 - Covariate strategy options: provided / hold_last / hold_mean
 - Scenario filtering options
 - n_cores, seed, etc.
 Source: forecasting/forecast/read-forecast-config.R
--&gt;
&lt;h2 id="running-the-pipeline"&gt;
 Running the Pipeline
 &lt;a class="anchor" href="#running-the-pipeline"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Rscript forecasting/forecast/forecast-pipeline.R &lt;span style="color:#ae81ff"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --config path/to/forecast-config.yaml
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;!-- TODO: Note any useful flags (--dry-run, --verbose, etc. if they exist).
 Describe what a successful run looks like in the console. --&gt;
&lt;h2 id="output-files"&gt;
 Output Files
 &lt;a class="anchor" href="#output-files"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;!-- TODO: Document the output directory layout and key files:
 - Trajectory plots (per-site, per-stratum)
 - Spaghetti plots
 - forecast-site-summaries.csv — describe each column
 - mu_median vs y_rep_median — explain the distinction in plain English
 Source: forecasting/forecast/forecast-plot-engine.R
--&gt;</description></item></channel></rss>