Skip to content

Instantly share code, notes, and snippets.

@tillahoffmann
Last active December 22, 2022 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tillahoffmann/ece3bb6602ed761e35619bcbefde94dd to your computer and use it in GitHub Desktop.
Save tillahoffmann/ece3bb6602ed761e35619bcbefde94dd to your computer and use it in GitHub Desktop.
Non-identifiability for Gaussian process with random intercepts (https://discourse.mc-stan.org/t/non-identifiability-for-gaussian-process-with-random-intercepts/29693)
.ipynb_checkpoints
*.hpp
model-*
!model-*.stan
????-??-??-*.ipynb
// Common data definitions for all models.
data {
int num_obs, num_units, exp_transform;
array [num_obs] real x;
array [num_units] vector[num_obs] ys;
real<lower=0> sigma, length_scale, kappa;
}
transformed data {
cov_matrix[num_obs] cov = add_diag(gp_exp_quad_cov(x, sigma, length_scale), 1e-9);
matrix[num_obs, num_obs] chol = cholesky_decompose(cov);
}
requirements.txt :requirements.in
pip-compile -v
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment