Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information about the inputs of the models #192

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions posterior_database/models/info/accel_gp.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@
},
"description": "accel ~ gp(times, k=40, c=3/2,\nsigma ~ gp(times, k=20, c=3/2)",
"urls": "https://github.com/bbbales2/cmdstan-warmup/blob/develop/examples/accel_gp/",
"inputs": { "N": { "type": "int", "dimensions": 0},
"Y": { "type": "real", "dimensions": 1},
"Kgp_1": { "type": "int", "dimensions": 0},
"Dgp_1": { "type": "int", "dimensions": 0},
"NBgp_1": { "type": "int", "dimensions": 0},
"Xgp_1": { "type": "real", "dimensions": 2},
"slambda_1": { "type": "real", "dimensions": 2},
"Kgp_sigma_1": { "type": "int", "dimensions": 0},
"Dgp_sigma_1": { "type": "int", "dimensions": 0},
"NBgp_sigma_1": { "type": "int", "dimensions": 0},
"Xgp_sigma_1": { "type": "real", "dimensions": 2},
"slambda_sigma_1": { "type": "real", "dimensions": 2},
"prior_only": { "type": "int", "dimensions": 0} },
"model_implementations": {
"stan": {
"model_code": "models/stan/accel_gp.stan"
Expand Down
11 changes: 11 additions & 0 deletions posterior_database/models/info/accel_splines.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@
},
"description": "accel ~ s(times, k=40),\nsigma ~ s(times, k=40)",
"urls": "https://github.com/bbbales2/cmdstan-warmup/blob/develop/examples/accel_splines/",
"inputs": { "N": { "type": "int", "dimensions": 0},
"Y": { "type": "real", "dimensions": 1},
"Ks": { "type": "int", "dimensions": 0},
"Xs": { "type": "real", "dimensions": 2},
"knots_1": { "type": "int", "dimensions": 0},
"Zs_1_1": { "type": "real", "dimensions": 2},
"Ks_sigma": { "type": "int", "dimensions": 0},
"Xs_sigma": { "type": "real", "dimensions": 2},
"knots_sigma_1": { "type": "int", "dimensions": 0},
"Zs_sigma_1_1": { "type": "real", "dimensions": 2},
"prior_only": { "type": "int", "dimensions": 0} },
"model_implementations": {
"stan": {
"model_code": "models/stan/accel_splines.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/arK.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"prior": {
"keywords": []
},
"inputs": { "K": { "type": "int", "dimensions": 0},
"T": { "type": "int", "dimensions": 0},
"y": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/arK.stan"
Expand Down
2 changes: 2 additions & 0 deletions posterior_database/models/info/arma11.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"prior": {
"keywords": []
},
"inputs": { "T": { "type": "int", "dimensions": 0},
"y": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/arma11.stan"
Expand Down
4 changes: 4 additions & 0 deletions posterior_database/models/info/blr.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"prior": {
"keywords": []
},
"inputs": { "N": { "type": "int", "dimensions": 0},
"D": { "type": "int", "dimensions": 0},
"X": { "type": "real", "dimensions": 2},
"y": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/blr.stan"
Expand Down
12 changes: 12 additions & 0 deletions posterior_database/models/info/covid19imperial_v2.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
},
"description": "A Bayesian model for estimating intervetion effects in the 2020 covid-19 pandemic.",
"urls": "https://github.com/ImperialCollegeLondon/covid19model",
"inputs": { "M": { "type": "int", "dimensions": 0},
"P": { "type": "int", "dimensions": 0},
"N0": { "type": "int", "dimensions": 0},
"N": { "type": "int", "dimensions": 1},
"N2": { "type": "int", "dimensions": 0},
"cases": { "type": "int", "dimensions": 2},
"deaths": { "type": "int", "dimensions": 2},
"f": { "type": "real", "dimensions": 2},
"X": { "type": "real", "dimensions": 3},
"EpidemicStart": { "type": "int", "dimensions": 1},
"pop": { "type": "real", "dimensions": 1},
"SI": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/covid19imperial_v2.stan"
Expand Down
12 changes: 12 additions & 0 deletions posterior_database/models/info/covid19imperial_v3.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
},
"description": "A Bayesian model for estimating intervetion effects in the 2020 covid-19 pandemic.",
"urls": "https://github.com/ImperialCollegeLondon/covid19model",
"inputs": { "M": { "type": "int", "dimensions": 0},
"P": { "type": "int", "dimensions": 0},
"N0": { "type": "int", "dimensions": 0},
"N": { "type": "int", "dimensions": 1},
"N2": { "type": "int", "dimensions": 0},
"cases": { "type": "int", "dimensions": 2},
"deaths": { "type": "int", "dimensions": 2},
"f": { "type": "real", "dimensions": 2},
"X": { "type": "real", "dimensions": 3},
"EpidemicStart": { "type": "int", "dimensions": 1},
"pop": { "type": "real", "dimensions": 1},
"SI": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/covid19imperial_v3.stan"
Expand Down
5 changes: 5 additions & 0 deletions posterior_database/models/info/diamonds.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
},
"description": "log(price) ~ carat * (log(x) + log(y) + log(z)) + cut + color + clarity",
"urls": "https://github.com/bbbales2/cmdstan-warmup/blob/develop/examples/diamonds",
"inputs": { "N": { "type": "int", "dimensions": 0},
"Y": { "type": "real", "dimensions": 1},
"K": { "type": "int", "dimensions": 0},
"X": { "type": "real", "dimensions": 2},
"prior_only": { "type": "int", "dimensions": 0} },
"model_implementations": {
"stan": {
"model_code": "models/stan/diamonds.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/dogs.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
},
"description": "y ~ logistic(n_avoid + n_shock)",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.24/dogs.stan",
"inputs": { "n_dogs": { "type": "int", "dimensions": 0},
"n_trials": { "type": "int", "dimensions": 0},
"y": { "type": "int", "dimensions": 2} },
"model_implementations": {
"stan": {
"model_code": "models/stan/dogs.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/dogs_log.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
},
"description": "y ~ exp(n_avoid + n_shock)",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.24/dogs_log.stan",
"inputs": { "n_trials": { "type": "int", "dimensions": 0},
"n_dogs": { "type": "int", "dimensions": 0},
"y": { "type": "int", "dimensions": 2} },
"model_implementations": {
"stan": {
"model_code": "models/stan/dogs_log.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/earn_height.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
},
"description": "earn ~ height",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.4/earn_height.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"earn": { "type": "real", "dimensions": 1},
"height": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/earn_height.stan"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"prior": {
"keywords": []
},
"inputs": { "J": { "type": "int", "dimensions": 0},
"y": { "type": "real", "dimensions": 1},
"sigma": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/eight_schools_centered.stan"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"prior": {
"keywords": []
},
"inputs": { "J": { "type": "int", "dimensions": 0},
"y": { "type": "real", "dimensions": 1},
"sigma": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/eight_schools_noncentered.stan"
Expand Down
15 changes: 15 additions & 0 deletions posterior_database/models/info/election88_full.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@
},
"description": "y ~ logistic(black + female + v_prev_full + (1 | age) + (1 | age_edu) \n+ (1 | state) + (1 | region_full))",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.14/election88_full.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"n_age": { "type": "int", "dimensions": 0},
"n_age_edu": { "type": "int", "dimensions": 0},
"n_edu": { "type": "int", "dimensions": 0},
"n_region_full": { "type": "int", "dimensions": 0},
"n_state": { "type": "int", "dimensions": 0},
"age": { "type": "int", "dimensions": 1},
"age_edu": { "type": "int", "dimensions": 1},
"black": { "type": "real", "dimensions": 1},
"edu": { "type": "int", "dimensions": 1},
"female": { "type": "real", "dimensions": 1},
"region_full": { "type": "int", "dimensions": 1},
"state": { "type": "int", "dimensions": 1},
"v_prev_full": { "type": "real", "dimensions": 1},
"y": { "type": "int", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/election88_full.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/garch11.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"prior": {
"keywords": []
},
"inputs": { "T": { "type": "int", "dimensions": 0},
"y": { "type": "real", "dimensions": 1},
"sigma1": { "type": "real", "dimensions": 0} },
"model_implementations": {
"stan": {
"model_code": "models/stan/garch11.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/gp_pois_regr.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"prior": {
"keywords": []
},
"inputs": { "N": { "type": "int", "dimensions": 0},
"x": { "type": "real", "dimensions": 1},
"k": { "type": "int", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/gp_pois_regr.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/gp_regr.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"prior": {
"keywords": []
},
"inputs": { "N": { "type": "int", "dimensions": 0},
"x": { "type": "real", "dimensions": 1},
"y": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/gp_regr.stan"
Expand Down
6 changes: 6 additions & 0 deletions posterior_database/models/info/hier_2pl.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
},
"description": "Hierachical item response theory model that includes\nparameters for both the difficulty and discrimination of items.\nItem parameter pairs are modeled as correlated draws from a bivariate normal distribution",
"urls": "https://mc-stan.org/users/documentation/case-studies/hierarchical_2pl.html",
"inputs": { "I": { "type": "int", "dimensions": 0},
"J": { "type": "int", "dimensions": 0},
"N": { "type": "int", "dimensions": 0},
"ii": { "type": "int", "dimensions": 1},
"jj": { "type": "int", "dimensions": 1},
"y": { "type": "int", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/hier_2pl.stan"
Expand Down
5 changes: 5 additions & 0 deletions posterior_database/models/info/hmm_drive_0.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
},
"description": "A Hidden Markov Model with exponential distribution for emission probabilities",
"urls": "https://github.com/imadmali/bball-hmm/blob/master/models/drive_0.stan",
"inputs": { "K": { "type": "int", "dimensions": 0},
"N": { "type": "int", "dimensions": 0},
"u": { "type": "real", "dimensions": 1},
"v": { "type": "real", "dimensions": 1},
"alpha": { "type": "real", "dimensions": 2} },
"model_implementations": {
"stan": {
"model_code": "models/stan/hmm_drive_0.stan"
Expand Down
7 changes: 7 additions & 0 deletions posterior_database/models/info/hmm_drive_1.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
},
"description": "A Hidden Markov Model with normal distribution for emission probabilities",
"urls": "https://github.com/imadmali/bball-hmm/blob/master/models/drive_1.stan",
"inputs": { "K": { "type": "int", "dimensions": 0},
"N": { "type": "int", "dimensions": 0},
"u": { "type": "real", "dimensions": 1},
"v": { "type": "real", "dimensions": 1},
"alpha": { "type": "real", "dimensions": 2},
"tau": { "type": "real", "dimensions": 0},
"rho": { "type": "real", "dimensions": 0} },
"model_implementations": {
"stan": {
"model_code": "models/stan/hmm_drive_1.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/hmm_example.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
},
"description": "A Hidden Markov Model",
"urls": "https://github.com/imadmali/bball-hmm/blob/master/models/hmm_example.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"K": { "type": "int", "dimensions": 0},
"y": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/hmm_example.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/irt_2pl.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"prior": {
"keywords": []
},
"inputs": { "I": { "type": "int", "dimensions": 0},
"J": { "type": "int", "dimensions": 0},
"y": { "type": "int", "dimensions": 2} },
"model_implementations": {
"stan": {
"model_code": "models/stan/irt_2pl.stan"
Expand Down
4 changes: 4 additions & 0 deletions posterior_database/models/info/kidscore_interaction.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
},
"description": "kid_score ~ mom_hs + mom_iq + mom_hs:mom_iq",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.3/kidiq_interaction.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"kid_score": { "type": "real", "dimensions": 1},
"mom_iq": { "type": "real", "dimensions": 1},
"mom_hs": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/kidscore_interaction.stan"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
},
"description": "kid_score ~ c_mom_hs + c_mom_iq + c_mom_hs:c_mom_iq",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.4/kidiq_interaction_c.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"kid_score": { "type": "real", "dimensions": 1},
"mom_hs": { "type": "real", "dimensions": 1},
"mom_iq": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/kidscore_interaction_c.stan"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
},
"description": "kid_score ~ c2_mom_hs + c2_mom_iq + c2_mom_hs:c2_mom_iq, c2_mom_hs <- mom_hs - 0.5, c2_mom_iq <- mom_iq - 100",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.4/kidiq_interaction_c2.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"kid_score": { "type": "real", "dimensions": 1},
"mom_hs": { "type": "real", "dimensions": 1},
"mom_iq": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/kidscore_interaction_c2.stan"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
},
"description": "kid_score ~ z_mom_hs + z_mom_iq + z_mom_hs:z_mom_iq",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.4/kidiq_interaction_z.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"kid_score": { "type": "real", "dimensions": 1},
"mom_hs": { "type": "real", "dimensions": 1},
"mom_iq": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/kidscore_interaction_z.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/kidscore_mom_work.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
},
"description": "kid_score ~ as.factor(mom_work)",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.4/kidscore_momwork.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"kid_score": { "type": "real", "dimensions": 1},
"mom_work": { "type": "int", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/kidscore_mom_work.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/kidscore_momhs.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
},
"description": "kid_score ~ mom_hs",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.3/kidscore_momhs.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"kid_score": { "type": "real", "dimensions": 1},
"mom_hs": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/kidscore_momhs.stan"
Expand Down
4 changes: 4 additions & 0 deletions posterior_database/models/info/kidscore_momhsiq.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
},
"description": "kid_score ~ mom_hs + mom_iq",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.3/kidiq_multi_preds.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"kid_score": { "type": "real", "dimensions": 1},
"mom_iq": { "type": "real", "dimensions": 1},
"mom_hs": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/kidscore_momhsiq.stan"
Expand Down
3 changes: 3 additions & 0 deletions posterior_database/models/info/kidscore_momiq.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
},
"description": "kid_score ~ mom_iq",
"urls": "https://raw.githubusercontent.com/stan-dev/example-models/master/ARM/Ch.3/kidscore_momiq.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"kid_score": { "type": "real", "dimensions": 1},
"mom_iq": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/kidscore_momiq.stan"
Expand Down
8 changes: 8 additions & 0 deletions posterior_database/models/info/kilpisjarvi.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
},
"description": "y ~ x",
"urls": "https://raw.githubusercontent.com/bbbales2/cmdstan-warmup/develop/examples/kilpisjarvi/kilpisjarvi.stan",
"inputs": { "N": { "type": "int", "dimensions": 0},
"x": { "type": "real", "dimensions": 1},
"y": { "type": "real", "dimensions": 1},
"xpred": { "type": "real", "dimensions": 0},
"pmualpha": { "type": "real", "dimensions": 0},
"psalpha": { "type": "real", "dimensions": 0},
"pmubeta": { "type": "real", "dimensions": 0},
"psbeta": { "type": "real", "dimensions": 0} },
"model_implementations": {
"stan": {
"model_code": "models/stan/kilpisjarvi.stan"
Expand Down
7 changes: 7 additions & 0 deletions posterior_database/models/info/ldaK5.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
"prior": {
"keywords": []
},
"inputs": { "V": { "type": "int", "dimensions": 0},
"M": { "type": "int", "dimensions": 0},
"N": { "type": "int", "dimensions": 0},
"w": { "type": "int", "dimensions": 1},
"doc": { "type": "int", "dimensions": 1},
"alpha": { "type": "real", "dimensions": 1},
"beta": { "type": "real", "dimensions": 1} },
"model_implementations": {
"stan": {
"model_code": "models/stan/ldaK5.stan"
Expand Down
Loading