Draft
Add base structure for statistical analysis repository (R, Python, Quarto)#1
Conversation
…itignore Agent-Logs-Url: https://github.com/PALP31/Scripts-estadistica-/sessions/c229a2a0-0f4a-4bb4-8477-a57ad8bce84f Co-authored-by: PALP31 <180587161+PALP31@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create base structure for statistical analysis repository
Add base structure for statistical analysis repository (R, Python, Quarto)
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bootstraps an empty repo into a functional statistical analysis template for biological/agronomic experimental data, covering frequentist and Bayesian workflows in both R and Python.
Structure added
Key design decisions
brms/Stan in R;PyMC+ArviZin Python — including MCMC diagnostics and LOO-CV model comparison.code-fold, embedded resources, andcache/auto-creation for brms model caching.read.csv/pd.read_csv) so they run out of the box and are easy to adapt.Notable fix
rpoislambda recycling bug inR/02_modelos_bayesianos.R:lambda = c(3, 6, 10)was recycling element-wise across all 60 rows instead of assigning one rate per treatment group — corrected tolambda = rep(c(3, 6, 10), each = 20).Original prompt