stan-dev / posteriordb

Database with posteriors of interest for Bayesian inference
163 stars 26 forks source link

Add a similar structure to the data info object as in the model info object #193

Open MansMeg opened 3 years ago

MansMeg commented 3 years ago

We are currently looking into adding model inputs as follows.

  "inputs": { "N": { "type": "int", "dimensions": 0},
              "kid_score": { "type": "real", "dimensions": 1},
              "mom_iq": { "type": "real", "dimensions": 1} }}

We should, in a similar fashion, try to update the data info objects with variable information as:

  "data": { "N": { "type": "int", "dimensions": 0, "description": "Some info on N here."},
              "kid_score": { "type": "real", "dimensions": 1, "description": "Some info on kid_score here."},
              "mom_iq": { "type": "real", "dimensions": 1, "description": "Some info on mom_iq here."} }}

The data variable info should probably also be printed in R.