[{"data":1,"prerenderedAt":3206},["ShallowReactive",2],{"doc:\u002Fdocs\u002Fcapabilities\u002Fbayesian-models":3,"docs-nav":2946},{"id":4,"title":5,"body":6,"description":2937,"extension":2938,"meta":2939,"navigation":2941,"path":2942,"seo":2943,"stem":2944,"__hash__":2945},"docs\u002Fdocs\u002Fcapabilities\u002Fbayesian-models.md","Bayesian models",{"type":7,"value":8,"toc":2892},"minimark",[9,13,16,32,45,50,144,148,168,332,336,344,370,375,506,521,525,557,561,583,586,745,748,751,766,769,773,794,798,801,952,966,970,1120,1127,1131,1134,1466,1473,1477,1489,1492,1507,1513,1516,1529,1546,1549,1553,1560,1678,1702,1735,1739,1755,1762,1766,1774,1836,1854,1865,1869,1878,1987,1994,1998,2147,2150,2153,2161,2174,2177,2184,2242,2246,2253,2257,2268,2272,2290,2293,2346,2351,2355,2367,2371,2398,2404,2428,2434,2440,2454,2458,2461,2555,2583,2622,2629,2632,2635,2638,2642,2708,2712,2763,2769,2773,2784,2788,2835,2839,2850,2854,2861,2865],[10,11,5],"h1",{"id":12},"bayesian-models",[14,15],"page-toc",{},[17,18,19,20,24,25,27,28,31],"p",{},"A Bayesian model says how your data could have come about: the quantities you do not know, what you think of each of them\nbefore looking, and how they produce the rows you observe. In Tabularia you ",[21,22,23],"strong",{},"draw that model as a graph"," in a space of its\nown, ",[21,26,5],{},": data, parameters with their priors, a likelihood, boxes for the groups of a hierarchical model.\nTabularia writes the Stan program from the drawing and shows it, read only. A node of a flow, ",[21,29,30],{},"Bayesian model",", binds the\nmodel's data variables to the columns of its input, samples the model with Stan and returns the draws of the posterior of\nevery unknown, with a report that gives the sampler's measures and facts and draws the predictive checks as charts.",[17,33,34,35,38,39,44],{},"It runs on Kubernetes only, as a Job in a group an administrator enabled (Stan's compiler and sampler are not in the Docker\nCompose stack), and the Job has ",[21,36,37],{},"no internet access"," at run time. The space is not offered where the group is not usable.\nHow an administrator turns the group on, sizes a run and empties the cache of compiled models is at the end of this page,\nin ",[40,41,43],"a",{"href":42},"#for-administrators","For administrators",".",[46,47,49],"h2",{"id":48},"at-a-glance","At a glance",[51,52,53,67],"table",{},[54,55,57],"thead",{"role":56},"rowgroup",[58,59,61,65],"tr",{"role":60},"row",[62,63],"th",{"role":64},"columnheader",[62,66],{"role":64},[68,69,70,104,112,123,131],"tbody",{"role":56},[58,71,72,79],{"role":60},[73,74,78],"td",{"role":75,"data-label":76,"data-place":77},"cell","","title","Where",[73,80,82,84,85,88,89,93,94,97,98,84,100,103],{"role":75,"data-label":76,"data-place":81},"meta",[21,83,5],{},", in the ",[21,86,87],{},"Scripting"," menu of the top bar (",[90,91,92],"code",{},"g"," then ",[90,95,96],{},"y"," on the keyboard), to draw and save a model; the node ",[21,99,30],{},[21,101,102],{},"Models"," section of the flow editor's palette, to run it",[58,105,106,109],{"role":60},[73,107,108],{"role":75,"data-label":76,"data-place":77},"Who may use it",[73,110,111],{"role":75,"data-label":76,"data-place":81},"Whoever may use the group (everyone who can edit flows, or the user groups the administrator chose; administrators always can) and has VIEW on the model's folder to see a model, EDIT to change it, RUN to run it; the right to run is checked at every run, with the authority of the person who ran the flow or of the schedule's author",[58,113,114,117],{"role":60},[73,115,116],{"role":75,"data-label":76,"data-place":77},"What it needs",[73,118,119,120,122],{"role":75,"data-label":76,"data-place":81},"An administrator who enabled the group ",[21,121,5],{}," (Administration → Statistical models), Kubernetes, and a table in the flow with a column for every data variable of the model",[58,124,125,128],{"role":60},[73,126,127],{"role":75,"data-label":76,"data-place":77},"What it makes",[73,129,130],{"role":75,"data-label":76,"data-place":81},"The summary of every quantity (mean, standard deviation, quantiles, R-hat, effective sample sizes, the standard error of the mean, the contraction of the prior), or the draws, or replicated data, as the node's output; a report on screen, in PDF and in Excel; optionally a record in MLflow",[58,132,133,136],{"role":60},[73,134,135],{"role":75,"data-label":76,"data-place":77},"What it never does",[73,137,138,139,143],{"role":75,"data-label":76,"data-place":81},"Rate a result: every diagnostic is a measure or a fact, and the predictive checks are charts with no p-value, no probability and no share. It does not predict new rows, compare models, take hand-written Stan code, or give the draws to MLflow (",[40,140,142],{"href":141},"#what-is-not-in-this-release","What is not in this release",")",[46,145,147],{"id":146},"your-first-model","Your first model",[17,149,150,151,155,156,159,160,163,164,167],{},"This example draws a linear regression from a template, saves it, runs it in a flow and reads its report. It uses the sample\ndata of the Docker Compose stack, loaded in a Kubernetes installation as the ",[40,152,154],{"href":153},"\u002Fdocs\u002Fcapabilities\u002Fmodels#the-models","Statistical\nmodels"," page says: ",[90,157,158],{},"order_rows",", with the columns ",[90,161,162],{},"quantita"," (the outcome) and ",[90,165,166],{},"prezzo_unitario"," (the\npredictor). In the Docker Compose stack they are stored as text; in a Kubernetes installation they may already be numbers.",[169,170,171,183,194,210,226,280,321],"ol",{},[172,173,174,175,178,179,182],"li",{},"Open ",[21,176,177],{},"Scripting → Bayesian models"," and press ",[21,180,181],{},"New model",". Choose the folder it goes in (you need EDIT on it).",[172,184,185,186,189,190,193],{},"In ",[21,187,188],{},"Where do you start?"," choose ",[21,191,192],{},"Linear regression",". The template asks for the outcome's typical value and its typical\nspread: you write them from what you know, they are never read from the data, and left empty they are 0 and 1. The model\nopens on the canvas.",[172,195,196,197,200,201,204,205,209],{},"Click the node ",[21,198,199],{},"Effect of the predictor",": the inspector shows its prior, ",[90,202,203],{},"normal(0, 2.5)",", with its chart beside the\nnumbers. Change a number and the chart changes while you type (",[40,206,208],{"href":207},"#priors","Priors",").",[172,211,212,213,216,217,220],{},"Give the model a name and press ",[21,214,215],{},"Save"," (Ctrl+S, or ⌘+S on a Mac). It becomes version 1, its Stan program is stored with\nit, and Tabularia compiles it in the background (about 10 to 30 seconds).",[218,219],"br",{},[221,222],"img",{"alt":223,"src":224,"zoom":225},"The editor with the linear regression template open: the canvas on the left, the inspector of the node «Effect of the predictor» on the right with its prior and the chart of the prior","\u002Fmedia\u002Fguide\u002Fbayesian-models\u002Feditor.png","true",[172,227,228,229,231,232,234,235,237,238,241,242,246,247,249,250,252,253,256,257,260,261,234,263,266,267,269,270,209,274,276],{},"In a flow, add ",[90,230,158],{}," as a source. If the source's preview shows ",[90,233,162],{}," and ",[90,236,166],{}," as text (as in\nthe Docker Compose stack), add a ",[21,239,240],{},"Change type"," of the two to ",[243,244,245],"em",{},"decimal"," (a number variable takes only a numeric column); if\nit shows them as numbers, as on a Kubernetes installation that loaded them so, skip it. Then drop ",[21,248,30],{}," from the ",[21,251,102],{}," section of the palette after it, and\nin its panel choose your saved model. Under ",[21,254,255],{},"Variables",", bind ",[21,258,259],{},"Outcome"," to ",[90,262,162],{},[21,264,265],{},"Predictor"," to\n",[90,268,166],{},". A Run in the panel reads the flow's development sample; a flow run reads every row of the input, up to the\ngroup's limit, so keep a large table down with a filter first (",[40,271,273],{"href":272},"#limits-and-what-it-refuses","Limits",[218,275],{},[221,277],{"alt":278,"src":279,"zoom":225},"The flow editor: the source, the Change type and the Bayesian model node, its panel with the saved model and the two variables bound to columns, and the summary table below","\u002Fmedia\u002Fguide\u002Fbayesian-models\u002Fnode-panel.png",[172,281,282,283,286,287,290,291,295,296,298,299,302,303,306,307,310,311,314,315,317],{},"Press ",[21,284,285],{},"Run",". If the model is still compiling, the step says so and waits. When it ends, open the ",[21,288,289],{},"Report"," tab: the first\npage gives the rows used and left out, the draws and the sampler's facts, then the summary of each quantity. The\npredictor was standardized, so its coefficient is per standard deviation of the predictor and the table also gives it on the\ncolumn's own scale (",[40,292,294],{"href":293},"#reading-the-report","Reading the report",").\nWith no development sample set on the source, the panel's Run reads every row: on the 104,819 rows of ",[90,297,158],{}," it took\n5 minutes 30 seconds on the three-node test cluster. To read fewer rows, open the source and set a ",[21,300,301],{},"Development sample","\n(",[21,304,305],{},"first N rows"," or ",[21,308,309],{},"random %","), which the panel's Run uses and a flow run does not, or add ",[21,312,313],{},"Upstream filters",", which\nevery run applies.",[218,316],{},[221,318],{"alt":319,"src":320,"zoom":225},"The first page of the report: the rows used, the draws, the divergences and the largest R-hat in four cards, the facts line, the posterior summary, the data and the diagnostics","\u002Fmedia\u002Fguide\u002Fbayesian-models\u002Freport-first-page.png",[172,322,323,324,327,328,209],{},"Before or after, press ",[21,325,326],{},"Run the prior predictive check"," in the node's panel: it draws data sets from the priors alone and the\nreport shows them as charts beside your data (",[40,329,331],{"href":330},"#trying-the-model","Trying the model",[46,333,335],{"id":334},"drawing-a-model","Drawing a model",[17,337,338,340,341,343],{},[21,339,5],{}," opens the list of the models you may see: name, folder, family, version, how many flows use it, the state\nof its compile, the last save. ",[21,342,181],{}," opens the editor on an empty canvas with the templates' gallery; a name in the\nlist opens a saved model on its current version.",[17,345,346,347,350,351,354,355,354,358,361,362,365,366,369],{},"The editor has the palette at the left, the canvas in the middle and a side panel at the right with the tabs ",[21,348,349],{},"Inspector",",\n",[21,352,353],{},"Stan code",", ",[21,356,357],{},"Problems",[21,359,360],{},"Assistant"," (only where the installation has an AI model you may use), ",[21,363,364],{},"Versions"," and, with the\ninformation icon, a ",[21,367,368],{},"Glossary"," of the model's words in two sentences each.",[371,372,374],"h3",{"id":373},"the-kinds-of-node","The kinds of node",[51,376,377,390],{},[54,378,379],{"role":56},[58,380,381,384,387],{"role":60},[62,382,383],{"role":64},"Group of the palette",[62,385,386],{"role":64},"Kind",[62,388,389],{"role":64},"What it is",[68,391,392,418,431,443,455,468,480,493],{"role":56},[58,393,394,397,414],{"role":60},[73,395,396],{"role":75,"data-label":383,"data-place":77},"Data",[73,398,399,354,402,354,405,354,408,354,411],{"role":75,"data-label":386,"data-place":81},[21,400,401],{},"Number",[21,403,404],{},"Integer",[21,406,407],{},"Group",[21,409,410],{},"Category",[21,412,413],{},"Time",[73,415,417],{"role":75,"data-label":389,"data-place":416},"body","A column of the table the flow node binds: numbers; counts or 0 and 1; which group each row belongs to; a text with a few values; the order of the rows in time. On the canvas, a filled rectangle",[58,419,420,423,428],{"role":60},[73,421,422],{"role":75,"data-label":383,"data-place":77},"Unknowns",[73,424,425],{"role":75,"data-label":386,"data-place":81},[21,426,427],{},"Parameter",[73,429,430],{"role":75,"data-label":389,"data-place":416},"A quantity to estimate, with its prior. On the canvas, a pill",[58,432,433,435,440],{"role":60},[73,434,422],{"role":75,"data-label":383,"data-place":77},[73,436,437],{"role":75,"data-label":386,"data-place":81},[21,438,439],{},"Correlated effects",[73,441,442],{"role":75,"data-label":389,"data-place":416},"Several effects per group, such as a level and a slope, that vary together; their correlation has its own prior",[58,444,445,447,452],{"role":60},[73,446,422],{"role":75,"data-label":383,"data-place":77},[73,448,449],{"role":75,"data-label":386,"data-place":81},[21,450,451],{},"Latent state",[73,453,454],{"role":75,"data-label":389,"data-place":416},"A hidden value that moves along a series",[58,456,457,460,465],{"role":60},[73,458,459],{"role":75,"data-label":383,"data-place":77},"Values",[73,461,462],{"role":75,"data-label":386,"data-place":81},[21,463,464],{},"Computed value",[73,466,467],{"role":75,"data-label":389,"data-place":416},"A formula of other nodes",[58,469,470,472,477],{"role":60},[73,471,459],{"role":75,"data-label":383,"data-place":77},[73,473,474],{"role":75,"data-label":386,"data-place":81},[21,475,476],{},"Linear predictor",[73,478,479],{"role":75,"data-label":389,"data-place":416},"An intercept plus a coefficient times each predictor",[58,481,482,485,490],{"role":60},[73,483,484],{"role":75,"data-label":383,"data-place":77},"Observed data",[73,486,487],{"role":75,"data-label":386,"data-place":81},[21,488,489],{},"Likelihood",[73,491,492],{"role":75,"data-label":389,"data-place":416},"How the observed data come about from the other nodes: the node that ties the model to the rows",[58,494,495,498,503],{"role":60},[73,496,497],{"role":75,"data-label":383,"data-place":77},"Boxes",[73,499,500],{"role":75,"data-label":386,"data-place":81},[21,501,502],{},"Group box",[73,504,505],{"role":75,"data-label":389,"data-place":416},"Repeats what it holds once for each group",[17,507,508,509,512,513,516,517,520],{},"The ",[21,510,511],{},"Rows"," box is part of every model and stays: one unit per row of the data the flow node binds. The data, the values\ncomputed for each row and the likelihood sit in it. Drag a kind onto the canvas, or press ",[21,514,515],{},"N"," to move to the palette, on\nits first kind, where Enter adds the kind you are on in the selected box. A link is drawn from the fields: a node uses another by writing its name in a slot (or choosing it in the\nnode's menu, ",[21,518,519],{},"Link to another node…","); the canvas draws the links, it does not store them.",[371,522,524],{"id":523},"names-labels-and-notes","Names, labels and notes",[17,526,527,528,531,532,535,536,539,540,543,544,547,548,551,552,556],{},"A node has a ",[21,529,530],{},"name",", used in expressions and in the Stan program, a ",[21,533,534],{},"label",", free text for people, and a ",[21,537,538],{},"note"," that never\nenters the program. A name has lower-case letters, digits and ",[90,541,542],{},"_",", starts with a letter, is at most 40 bytes, does not end in ",[90,545,546],{},"__","\nand is not a name Stan or its compiler keeps for itself. A node without a usable name is still valid: the program writes a\ngenerated identifier for it, and the ",[21,549,550],{},"Names in the code"," table of the Stan code tab says which (",[40,553,555],{"href":554},"#the-stan-program","The Stan\nprogram","). A label never enters the code.",[371,558,560],{"id":559},"the-inspector-the-findings-and-the-keyboard","The inspector, the findings and the keyboard",[17,562,563,564,568,569,571,572,574,575,578,579,582],{},"The inspector of a node has its fields, a short explanation of what the kind is, and for a parameter its prior with the chart\nbeside the numbers. Every field that takes a number takes an expression (",[40,565,567],{"href":566},"#the-free-models-expressions","Expressions","), checked\nas you type in your browser; the gateway reads the whole graph at the save and, while the ",[21,570,353],{}," tab is open, 600 ms after\nthe last change that leaves no error. The ",[21,573,357],{}," tab lists\nwhat the check finds, each with a button that shows the node: an ",[21,576,577],{},"error"," keeps the model from being saved, a ",[21,580,581],{},"warning","\nblocks nothing and says what the model will do.",[17,584,585],{},"Everything is reachable from the keyboard:",[51,587,588,601],{},[54,589,590],{"role":56},[58,591,592,595,598],{"role":60},[62,593,594],{"role":64},"Action",[62,596,597],{"role":64},"PC",[62,599,600],{"role":64},"Mac",[68,602,603,613,623,633,642,653,664,675,686,697,707,725,735],{"role":56},[58,604,605,608,611],{"role":60},[73,606,607],{"role":75,"data-label":594,"data-place":77},"Into the nodes, then select one",[73,609,610],{"role":75,"data-label":597,"data-place":81},"Tab, Enter",[73,612,610],{"role":75,"data-label":600,"data-place":81},[58,614,615,618,621],{"role":60},[73,616,617],{"role":75,"data-label":594,"data-place":77},"The nearest node in a direction",[73,619,620],{"role":75,"data-label":597,"data-place":81},"Alt + arrow",[73,622,620],{"role":75,"data-label":600,"data-place":81},[58,624,625,628,631],{"role":60},[73,626,627],{"role":75,"data-label":594,"data-place":77},"Move the selected node or box",[73,629,630],{"role":75,"data-label":597,"data-place":81},"Shift + arrow",[73,632,630],{"role":75,"data-label":600,"data-place":81},[58,634,635,638,640],{"role":60},[73,636,637],{"role":75,"data-label":594,"data-place":77},"To the palette, to add a node",[73,639,515],{"role":75,"data-label":597,"data-place":81},[73,641,515],{"role":75,"data-label":600,"data-place":81},[58,643,644,647,650],{"role":60},[73,645,646],{"role":75,"data-label":594,"data-place":77},"The selected node's commands",[73,648,649],{"role":75,"data-label":597,"data-place":81},"M, or Shift + F10",[73,651,652],{"role":75,"data-label":600,"data-place":81},"M",[58,654,655,658,661],{"role":60},[73,656,657],{"role":75,"data-label":594,"data-place":77},"Remove the selected node, box or link",[73,659,660],{"role":75,"data-label":597,"data-place":81},"Delete, Backspace",[73,662,663],{"role":75,"data-label":600,"data-place":81},"Backspace",[58,665,666,669,672],{"role":60},[73,667,668],{"role":75,"data-label":594,"data-place":77},"Duplicate the selected node",[73,670,671],{"role":75,"data-label":597,"data-place":81},"Ctrl + D",[73,673,674],{"role":75,"data-label":600,"data-place":81},"⌘ + D",[58,676,677,680,683],{"role":60},[73,678,679],{"role":75,"data-label":594,"data-place":77},"Undo, redo",[73,681,682],{"role":75,"data-label":597,"data-place":81},"Ctrl + Z, Ctrl + Y or Ctrl + Shift + Z",[73,684,685],{"role":75,"data-label":600,"data-place":81},"⌘ + Z, ⌘ + Shift + Z",[58,687,688,691,694],{"role":60},[73,689,690],{"role":75,"data-label":594,"data-place":77},"Save a new version",[73,692,693],{"role":75,"data-label":597,"data-place":81},"Ctrl + S",[73,695,696],{"role":75,"data-label":600,"data-place":81},"⌘ + S",[58,698,699,702,705],{"role":60},[73,700,701],{"role":75,"data-label":594,"data-place":77},"Zoom in, zoom out, fit the model",[73,703,704],{"role":75,"data-label":597,"data-place":81},"+, −, 0",[73,706,704],{"role":75,"data-label":600,"data-place":81},[58,708,709,712,719],{"role":60},[73,710,711],{"role":75,"data-label":594,"data-place":77},"The tabs of the side panel",[73,713,714,234,717],{"role":75,"data-label":597,"data-place":81},[90,715,716],{},",",[90,718,44],{},[73,720,721,234,723],{"role":75,"data-label":600,"data-place":81},[90,722,716],{},[90,724,44],{},[58,726,727,730,733],{"role":60},[73,728,729],{"role":75,"data-label":594,"data-place":77},"From a field back to its node",[73,731,732],{"role":75,"data-label":597,"data-place":81},"Esc",[73,734,732],{"role":75,"data-label":600,"data-place":81},[58,736,737,740,743],{"role":60},[73,738,739],{"role":75,"data-label":594,"data-place":77},"The list of keys",[73,741,742],{"role":75,"data-label":597,"data-place":81},"?",[73,744,742],{"role":75,"data-label":600,"data-place":81},[17,746,747],{},"Undo and redo take back and bring back the editor's steps, one for each change, whatever made it (a field, a move, a template,\nwhat the assistant proposed and you applied).",[46,749,208],{"id":750},"priors",[17,752,753,754,757,758,761,762,765],{},"A ",[21,755,756],{},"prior"," says what you believe about a quantity before the data. The inspector of a parameter shows the prior's distribution\nand its arguments, each an expression, and ",[21,759,760],{},"beside them the chart of the prior",", drawn in your browser while you type: no\nrequest is made and no data is read. When every argument is a constant the chart is the exact curve of the density. When an\nargument is itself a parameter with a prior (a hierarchy), the chart is the histogram of 4,000 draws made in the model's order:\nfirst the quantities the prior depends on, then the quantity from them. A text under the chart says it in numbers: «Before\nseeing any data, the model says that the quantity is between a low and a high value nine times in ten; half the time it is below\nthe median». ",[21,763,764],{},"Draw again"," changes the seed of the draws. A prior with bounds is cut to them. Where an argument has an error the\nchart keeps the last valid form, dimmed, with the name of the argument to fix.",[17,767,768],{},"A prior never depends on data: the model's space holds no data. A group's units are drawn as one unit, since before the data they\nare exchangeable. A node that depends on data (the linear predictor, the likelihood) has no chart; the prior predictive check,\nrun from the flow node, is where they are seen.",[371,770,772],{"id":771},"standardized-predictors","Standardized predictors",[17,774,753,775,778,779,782,783,786,787,790,791,793],{},[21,776,777],{},"number"," data node that is a predictor is ",[21,780,781],{},"standardized"," by default: the flow node takes its mean off and divides it by its\nstandard deviation before sampling, and the model's coefficient for it is the change of the linear predictor ",[21,784,785],{},"per standard\ndeviation of the predictor",". The outcome, integers, groups and categories are not standardized. The report gives the mean and\nthe standard deviation each predictor was standardized with, and, for the coefficients of a ",[21,788,789],{},"linear predictor"," node, the\ncoefficient on both scales (",[40,792,294],{"href":293},"). A formula you write in a free expression stays on the\nstandardized scale.",[371,795,797],{"id":796},"what-a-default-says-and-where-it-comes-from","What a default says, and where it comes from",[17,799,800],{},"The templates' priors are on the scale of the standardized predictors and are never changed by the data. The panel of each node\nsays what the node is and quotes its default with its source, in the words of the table below; the defaults are the numbers of\ntwo public documents, or Tabularia's own choice where those give none.",[51,802,803,816],{},[54,804,805],{"role":56},[58,806,807,810,813],{"role":60},[62,808,809],{"role":64},"Prior",[62,811,812],{"role":64},"Default",[62,814,815],{"role":64},"Source",[68,817,818,838,855,866,878,892,905,915,929,940],{"role":56},[58,819,820,823,835],{"role":60},[73,821,822],{"role":75,"data-label":809,"data-place":77},"The intercept of a numeric outcome",[73,824,825,354,828,234,831,834],{"role":75,"data-label":812,"data-place":81},[90,826,827],{},"normal(m, 2.5·s)",[90,829,830],{},"m",[90,832,833],{},"s"," the typical value and spread you wrote when you opened the template",[73,836,837],{"role":75,"data-label":815,"data-place":81},"the documentation of the rstanarm package, «Prior Distributions for rstanarm Models»",[58,839,840,843,852],{"role":60},[73,841,842],{"role":75,"data-label":809,"data-place":77},"A coefficient of a standardized predictor",[73,844,845,848,849,851],{"role":75,"data-label":812,"data-place":81},[90,846,847],{},"normal(0, 2.5·s)"," (",[90,850,833],{}," is 1 for the logit and log links)",[73,853,854],{"role":75,"data-label":815,"data-place":81},"the same page",[58,856,857,860,864],{"role":60},[73,858,859],{"role":75,"data-label":809,"data-place":77},"The intercept with a logit or log link",[73,861,862],{"role":75,"data-label":812,"data-place":81},[90,863,203],{},[73,865,854],{"role":75,"data-label":815,"data-place":81},[58,867,868,871,876],{"role":60},[73,869,870],{"role":75,"data-label":809,"data-place":77},"The spread around the line",[73,872,873],{"role":75,"data-label":812,"data-place":81},[90,874,875],{},"exponential(1\u002Fs)",[73,877,854],{"role":75,"data-label":815,"data-place":81},[58,879,880,883,889],{"role":60},[73,881,882],{"role":75,"data-label":809,"data-place":77},"The spread between the groups",[73,884,885,888],{"role":75,"data-label":812,"data-place":81},[90,886,887],{},"normal(0, s)"," cut at 0",[73,890,891],{"role":75,"data-label":815,"data-place":81},"the Stan wiki, «Prior Choice Recommendations»",[58,893,894,897,902],{"role":60},[73,895,896],{"role":75,"data-label":809,"data-place":77},"The extra variation of a negative binomial count",[73,898,899],{"role":75,"data-label":812,"data-place":81},[90,900,901],{},"inv_gamma(0.4, 0.3)",[73,903,904],{"role":75,"data-label":815,"data-place":81},"the same wiki page",[58,906,907,910,913],{"role":60},[73,908,909],{"role":75,"data-label":809,"data-place":77},"The correlation of correlated effects",[73,911,912],{"role":75,"data-label":812,"data-place":81},"LKJ with η = 2",[73,914,904],{"role":75,"data-label":815,"data-place":81},[58,916,917,920,926],{"role":60},[73,918,919],{"role":75,"data-label":809,"data-place":77},"The weights of the past values of an AR model",[73,921,922,925],{"role":75,"data-label":812,"data-place":81},[90,923,924],{},"normal(0, 0.5)"," each (stationarity is not imposed)",[73,927,928],{"role":75,"data-label":815,"data-place":81},"Tabularia's choice",[58,930,931,934,938],{"role":60},[73,932,933],{"role":75,"data-label":809,"data-place":77},"A random walk's drift",[73,935,936],{"role":75,"data-label":812,"data-place":81},[90,937,887],{},[73,939,928],{"role":75,"data-label":815,"data-place":81},[58,941,942,945,949],{"role":60},[73,943,944],{"role":75,"data-label":809,"data-place":77},"A local level's first value",[73,946,947],{"role":75,"data-label":812,"data-place":81},[90,948,827],{},[73,950,951],{"role":75,"data-label":815,"data-place":81},"as the intercept",[17,953,954,955,960,961,965],{},"The two pages are ",[40,956,957],{"href":957,"rel":958},"https:\u002F\u002Fmc-stan.org\u002Frstanarm\u002Farticles\u002Fpriors.html",[959],"nofollow"," and\n",[40,962,963],{"href":963,"rel":964},"https:\u002F\u002Fgithub.com\u002Fstan-dev\u002Fstan\u002Fwiki\u002FPrior-Choice-Recommendations",[959],". After opening a template the numbers are yours to change in\nthe inspector.",[371,967,969],{"id":968},"the-ten-templates","The ten templates",[51,971,972,985],{},[54,973,974],{"role":56},[58,975,976,979,982],{"role":60},[62,977,978],{"role":64},"Template",[62,980,981],{"role":64},"Family",[62,983,984],{"role":64},"What it is for",[68,986,987,1001,1014,1027,1040,1054,1067,1080,1094,1107],{"role":56},[58,988,989,995,998],{"role":60},[73,990,991,992,143],{"role":75,"data-label":978,"data-place":77},"Linear regression (",[90,993,994],{},"glm_linear",[73,996,997],{"role":75,"data-label":981,"data-place":81},"regression",[73,999,1000],{"role":75,"data-label":984,"data-place":416},"A numeric outcome that moves along a straight line with a predictor",[58,1002,1003,1009,1011],{"role":60},[73,1004,1005,1006,143],{"role":75,"data-label":978,"data-place":77},"Logistic regression (",[90,1007,1008],{},"glm_logistic",[73,1010,997],{"role":75,"data-label":981,"data-place":81},[73,1012,1013],{"role":75,"data-label":984,"data-place":416},"A yes or no outcome whose probability depends on a predictor",[58,1015,1016,1022,1024],{"role":60},[73,1017,1018,1019,143],{"role":75,"data-label":978,"data-place":77},"Poisson regression (",[90,1020,1021],{},"glm_poisson",[73,1023,997],{"role":75,"data-label":981,"data-place":81},[73,1025,1026],{"role":75,"data-label":984,"data-place":416},"A count whose average depends on a predictor",[58,1028,1029,1035,1037],{"role":60},[73,1030,1031,1032,143],{"role":75,"data-label":978,"data-place":77},"Negative binomial regression (",[90,1033,1034],{},"glm_negbin",[73,1036,997],{"role":75,"data-label":981,"data-place":81},[73,1038,1039],{"role":75,"data-label":984,"data-place":416},"A count that varies more than its average says, depending on a predictor",[58,1041,1042,1048,1051],{"role":60},[73,1043,1044,1045,143],{"role":75,"data-label":978,"data-place":77},"Varying intercepts by group (",[90,1046,1047],{},"hier_intercepts",[73,1049,1050],{"role":75,"data-label":981,"data-place":81},"hierarchical",[73,1052,1053],{"role":75,"data-label":984,"data-place":416},"A numeric outcome with a level of its own for each group",[58,1055,1056,1062,1064],{"role":60},[73,1057,1058,1059,143],{"role":75,"data-label":978,"data-place":77},"Varying intercepts and slopes by group (",[90,1060,1061],{},"hier_slopes",[73,1063,1050],{"role":75,"data-label":981,"data-place":81},[73,1065,1066],{"role":75,"data-label":984,"data-place":416},"A level and the effect of a predictor that change from group to group, together",[58,1068,1069,1075,1077],{"role":60},[73,1070,1071,1072,143],{"role":75,"data-label":978,"data-place":77},"Nested groups (",[90,1073,1074],{},"hier_nested",[73,1076,1050],{"role":75,"data-label":981,"data-place":81},[73,1078,1079],{"role":75,"data-label":984,"data-place":416},"A level for each group inside a larger group, such as schools in districts",[58,1081,1082,1088,1091],{"role":60},[73,1083,1084,1085,143],{"role":75,"data-label":978,"data-place":77},"Series from its own past values (",[90,1086,1087],{},"ts_ar",[73,1089,1090],{"role":75,"data-label":981,"data-place":81},"series",[73,1092,1093],{"role":75,"data-label":984,"data-place":416},"A series explained by its past values; you choose the order p",[58,1095,1096,1102,1104],{"role":60},[73,1097,1098,1099,143],{"role":75,"data-label":978,"data-place":77},"Random walk with drift (",[90,1100,1101],{},"ts_random_walk",[73,1103,1090],{"role":75,"data-label":981,"data-place":81},[73,1105,1106],{"role":75,"data-label":984,"data-place":416},"A series that moves step by step from its last value, with a steady tendency",[58,1108,1109,1115,1117],{"role":60},[73,1110,1111,1112,143],{"role":75,"data-label":978,"data-place":77},"Hidden level that drifts (",[90,1113,1114],{},"ts_local_level",[73,1116,1090],{"role":75,"data-label":981,"data-place":81},[73,1118,1119],{"role":75,"data-label":984,"data-place":416},"A series around a hidden level that changes over time, measured with noise",[17,1121,1122,1123,1126],{},"A template, once opened, is a graph like any other. The ",[21,1124,1125],{},"Empty model"," is the free model: a canvas with no node. The model's\nfamily in the list is derived from the saved graph: group boxes make it hierarchical, rows that are a series make it a series, a\nlinear predictor with a generalized-linear likelihood makes it a regression, anything else is free-form.",[371,1128,1130],{"id":1129},"the-distributions","The distributions",[17,1132,1133],{},"A prior or a likelihood takes its distribution from the catalogue below. A distribution marked as internal is used by the\nprograms Tabularia writes (the non-centred form, the correlated effects) and is not one you choose.",[51,1135,1136,1152],{},[54,1137,1138],{"role":56},[58,1139,1140,1143,1146,1149],{"role":60},[62,1141,1142],{"role":64},"Distribution",[62,1144,1145],{"role":64},"Arguments",[62,1147,1148],{"role":64},"Values it takes",[62,1150,1151],{"role":64},"Where it goes",[68,1153,1154,1175,1196,1213,1231,1251,1269,1286,1303,1331,1350,1370,1385,1403,1427,1445],{"role":56},[58,1155,1156,1161,1169,1172],{"role":60},[73,1157,1158],{"role":75,"data-label":1142,"data-place":77},[90,1159,1160],{},"normal",[73,1162,1163,354,1166],{"role":75,"data-label":1145,"data-place":81},[90,1164,1165],{},"mu",[90,1167,1168],{},"sigma",[73,1170,1171],{"role":75,"data-label":1148,"data-place":81},"any number",[73,1173,1174],{"role":75,"data-label":1151,"data-place":81},"a prior, or the likelihood of a numeric outcome",[58,1176,1177,1182,1191,1193],{"role":60},[73,1178,1179],{"role":75,"data-label":1142,"data-place":77},[90,1180,1181],{},"student_t",[73,1183,1184,354,1187,354,1189],{"role":75,"data-label":1145,"data-place":81},[90,1185,1186],{},"nu",[90,1188,1165],{},[90,1190,1168],{},[73,1192,1171],{"role":75,"data-label":1148,"data-place":81},[73,1194,1195],{"role":75,"data-label":1151,"data-place":81},"a prior",[58,1197,1198,1203,1209,1211],{"role":60},[73,1199,1200],{"role":75,"data-label":1142,"data-place":77},[90,1201,1202],{},"cauchy",[73,1204,1205,354,1207],{"role":75,"data-label":1145,"data-place":81},[90,1206,1165],{},[90,1208,1168],{},[73,1210,1171],{"role":75,"data-label":1148,"data-place":81},[73,1212,1195],{"role":75,"data-label":1151,"data-place":81},[58,1214,1215,1220,1226,1229],{"role":60},[73,1216,1217],{"role":75,"data-label":1142,"data-place":77},[90,1218,1219],{},"exponential",[73,1221,1222,1225],{"role":75,"data-label":1145,"data-place":81},[90,1223,1224],{},"beta"," (the rate)",[73,1227,1228],{"role":75,"data-label":1148,"data-place":81},"positive numbers",[73,1230,1195],{"role":75,"data-label":1151,"data-place":81},[58,1232,1233,1238,1247,1249],{"role":60},[73,1234,1235],{"role":75,"data-label":1142,"data-place":77},[90,1236,1237],{},"gamma",[73,1239,1240,1243,1244,1246],{"role":75,"data-label":1145,"data-place":81},[90,1241,1242],{},"alpha"," (shape), ",[90,1245,1224],{}," (rate)",[73,1248,1228],{"role":75,"data-label":1148,"data-place":81},[73,1250,1195],{"role":75,"data-label":1151,"data-place":81},[58,1252,1253,1258,1265,1267],{"role":60},[73,1254,1255],{"role":75,"data-label":1142,"data-place":77},[90,1256,1257],{},"inv_gamma",[73,1259,1260,1243,1262,1264],{"role":75,"data-label":1145,"data-place":81},[90,1261,1242],{},[90,1263,1224],{}," (scale)",[73,1266,1228],{"role":75,"data-label":1148,"data-place":81},[73,1268,1195],{"role":75,"data-label":1151,"data-place":81},[58,1270,1271,1276,1282,1284],{"role":60},[73,1272,1273],{"role":75,"data-label":1142,"data-place":77},[90,1274,1275],{},"lognormal",[73,1277,1278,354,1280],{"role":75,"data-label":1145,"data-place":81},[90,1279,1165],{},[90,1281,1168],{},[73,1283,1228],{"role":75,"data-label":1148,"data-place":81},[73,1285,1195],{"role":75,"data-label":1151,"data-place":81},[58,1287,1288,1292,1298,1301],{"role":60},[73,1289,1290],{"role":75,"data-label":1142,"data-place":77},[90,1291,1224],{},[73,1293,1294,354,1296],{"role":75,"data-label":1145,"data-place":81},[90,1295,1242],{},[90,1297,1224],{},[73,1299,1300],{"role":75,"data-label":1148,"data-place":81},"between 0 and 1",[73,1302,1195],{"role":75,"data-label":1151,"data-place":81},[58,1304,1305,1310,1322,1329],{"role":60},[73,1306,1307],{"role":75,"data-label":1142,"data-place":77},[90,1308,1309],{},"uniform",[73,1311,1312,354,1314,1316,1317,1319,1320,143],{"role":75,"data-label":1145,"data-place":81},[90,1313,1242],{},[90,1315,1224],{}," (two constants, ",[90,1318,1242],{}," below ",[90,1321,1224],{},[73,1323,1324,1325,234,1327],{"role":75,"data-label":1148,"data-place":81},"between ",[90,1326,1242],{},[90,1328,1224],{},[73,1330,1195],{"role":75,"data-label":1151,"data-place":81},[58,1332,1333,1338,1344,1347],{"role":60},[73,1334,1335],{"role":75,"data-label":1142,"data-place":77},[90,1336,1337],{},"lkj_corr_cholesky",[73,1339,1340,1343],{"role":75,"data-label":1145,"data-place":81},[90,1341,1342],{},"eta"," (a constant)",[73,1345,1346],{"role":75,"data-label":1148,"data-place":81},"the Cholesky factors of correlation matrices",[73,1348,1349],{"role":75,"data-label":1151,"data-place":81},"the prior of the correlation of a correlated-effects node",[58,1351,1352,1357,1364,1367],{"role":60},[73,1353,1354],{"role":75,"data-label":1142,"data-place":77},[90,1355,1356],{},"multi_normal_cholesky",[73,1358,1359,354,1361],{"role":75,"data-label":1145,"data-place":81},[90,1360,1165],{},[90,1362,1363],{},"L",[73,1365,1366],{"role":75,"data-label":1148,"data-place":81},"a vector",[73,1368,1369],{"role":75,"data-label":1151,"data-place":81},"internal: the centred form of correlated effects",[58,1371,1372,1377,1380,1382],{"role":60},[73,1373,1374],{"role":75,"data-label":1142,"data-place":77},[90,1375,1376],{},"std_normal",[73,1378,1379],{"role":75,"data-label":1145,"data-place":81},"none",[73,1381,1171],{"role":75,"data-label":1148,"data-place":81},[73,1383,1384],{"role":75,"data-label":1151,"data-place":81},"internal: the non-centred form",[58,1386,1387,1392,1397,1400],{"role":60},[73,1388,1389],{"role":75,"data-label":1142,"data-place":77},[90,1390,1391],{},"bernoulli_logit",[73,1393,1394,1396],{"role":75,"data-label":1145,"data-place":81},[90,1395,1242],{}," (the log-odds)",[73,1398,1399],{"role":75,"data-label":1148,"data-place":81},"0 or 1",[73,1401,1402],{"role":75,"data-label":1151,"data-place":81},"the likelihood of a yes or no outcome",[58,1404,1405,1410,1417,1422],{"role":60},[73,1406,1407],{"role":75,"data-label":1142,"data-place":77},[90,1408,1409],{},"binomial_logit",[73,1411,1412,1414,1415,1396],{"role":75,"data-label":1145,"data-place":81},[90,1413,515],{}," (data), ",[90,1416,1242],{},[73,1418,1419,1420],{"role":75,"data-label":1148,"data-place":81},"0 to ",[90,1421,515],{},[73,1423,1424,1425],{"role":75,"data-label":1151,"data-place":81},"the likelihood of a count out of ",[90,1426,515],{},[58,1428,1429,1434,1439,1442],{"role":60},[73,1430,1431],{"role":75,"data-label":1142,"data-place":77},[90,1432,1433],{},"poisson_log",[73,1435,1436,1438],{"role":75,"data-label":1145,"data-place":81},[90,1437,1242],{}," (the log of the rate)",[73,1440,1441],{"role":75,"data-label":1148,"data-place":81},"counts: 0, 1, 2…",[73,1443,1444],{"role":75,"data-label":1151,"data-place":81},"the likelihood of a count",[58,1446,1447,1452,1461,1463],{"role":60},[73,1448,1449],{"role":75,"data-label":1142,"data-place":77},[90,1450,1451],{},"neg_binomial_2_log",[73,1453,1454,1456,1457,1460],{"role":75,"data-label":1145,"data-place":81},[90,1455,1342],{}," (the log of the mean), ",[90,1458,1459],{},"phi"," (the precision)",[73,1462,1441],{"role":75,"data-label":1148,"data-place":81},[73,1464,1465],{"role":75,"data-label":1151,"data-place":81},"the likelihood of a count that varies more than a Poisson one; it cannot be truncated",[17,1467,1468,1469,1472],{},"A parameter may have ",[21,1470,1471],{},"bounds"," (a lower, an upper, or both); the prior is cut to them and values outside have no probability. A\nparameter with bounds on a non-centred group box stays centred, and its node says so.",[46,1474,1476],{"id":1475},"hierarchical-models","Hierarchical models",[17,1478,1479,1480,1482,1483,1485,1486,44],{},"When rows fall in groups (pupils in schools, orders in stores), a ",[21,1481,502],{}," repeats what it holds once for each group. A box\ninside another box is a nested group (schools inside districts). The units of a box are the distinct values of the column bound\nto its ",[21,1484,407],{}," data node, in text order, and the flow node says how many there are at the run. A group may have its own\nquantities (a parameter inside the box has one value per unit), and an expression reaches the unit's value of a row with the\ngroup's name in brackets: ",[90,1487,1488],{},"mu_school[school]",[17,1490,1491],{},"Each box has a switch between two ways of writing the same model:",[1493,1494,1495,1501],"ul",{},[172,1496,1497,1500],{},[21,1498,1499],{},"Non-centred"," (the default): the sampler moves on the standardized scale of the groups, and the program gives back each\ngroup's value as it is. It is the form people usually choose when the groups have few rows each.",[172,1502,1503,1506],{},[21,1504,1505],{},"Centred",": the sampler moves on the values of the groups themselves, as their prior writes them.",[17,1508,1509,1510,1512],{},"The two forms describe the same model. The report's facts (the divergences' count, the tree depths, the sampler's measures) tell\nwhat a run did, and what people usually try when a run shows divergent transitions is the other form; the report never says which\nform is right. ",[21,1511,439],{}," puts several effects on the box (a level and a slope, up to 10 components) and an LKJ prior\non their correlation.",[46,1514,1515],{"id":1090},"Series",[17,1517,753,1518,1520,1521,1524,1525,1528],{},[21,1519,413],{}," data node, bound to a date or a number, gives the rows an order: the Rows box becomes a ",[21,1522,1523],{},"time series",", with an\noption to have ",[21,1526,1527],{},"one series for each value"," of a group column. The flow node sorts the rows by the group and the time, and the\nrun is refused when a unit has two rows at the same time. Two things use the order:",[1493,1530,1531,1541],{},[172,1532,1533,1536,1537,1540],{},[90,1534,1535],{},"lag(x, k)"," in an expression is the value of ",[90,1538,1539],{},"x"," k rows earlier in the series, k from 1 to 60. The first k rows of each series\nhave none; in the AR template they stay out of the likelihood, and the template says so.",[172,1542,753,1543,1545],{},[21,1544,451],{}," is a hidden value that starts from its prior and moves by a normal step at each row (a random walk), the\ndata being measured around it. Its first value and the scale of its steps have priors.",[17,1547,1548],{},"The three series templates use them. A prior chart for a state shows its first value and its scale; the later values spread\nfurther with the series' length, which the model's space does not know.",[46,1550,1552],{"id":1551},"the-free-models-expressions","The free model's expressions",[17,1554,1555,1556,1559],{},"Every field that takes a value takes an ",[21,1557,1558],{},"expression",": a number, the name of a node, or a formula.",[51,1561,1562,1572],{},[54,1563,1564],{"role":56},[58,1565,1566,1569],{"role":60},[62,1567,1568],{"role":64},"Form",[62,1570,1571],{"role":64},"Example",[68,1573,1574,1587,1596,1622,1659,1668],{"role":56},[58,1575,1576,1579],{"role":60},[73,1577,1578],{"role":75,"data-label":1568,"data-place":77},"A number",[73,1580,1581,354,1584],{"role":75,"data-label":1571,"data-place":81},[90,1582,1583],{},"2.5",[90,1585,1586],{},"1e-3",[58,1588,1589,1592],{"role":60},[73,1590,1591],{"role":75,"data-label":1568,"data-place":77},"A node's name",[73,1593,1594],{"role":75,"data-label":1571,"data-place":81},[90,1595,1168],{},[58,1597,1598,1601],{"role":60},[73,1599,1600],{"role":75,"data-label":1568,"data-place":77},"Arithmetic",[73,1602,1603,354,1606,354,1609,354,1612,354,1615,1618,1619],{"role":75,"data-label":1571,"data-place":81},[90,1604,1605],{},"+",[90,1607,1608],{},"-",[90,1610,1611],{},"*",[90,1613,1614],{},"\u002F",[90,1616,1617],{},"^"," and brackets: ",[90,1620,1621],{},"alpha + b_x * x",[58,1623,1624,1627],{"role":60},[73,1625,1626],{"role":75,"data-label":1568,"data-place":77},"A function",[73,1628,1629,354,1632,354,1635,354,1638,354,1641,354,1644,354,1647,354,1650,354,1653,354,1656],{"role":75,"data-label":1571,"data-place":81},[90,1630,1631],{},"exp",[90,1633,1634],{},"log",[90,1636,1637],{},"log1p",[90,1639,1640],{},"expm1",[90,1642,1643],{},"sqrt",[90,1645,1646],{},"square",[90,1648,1649],{},"inv_logit",[90,1651,1652],{},"logit",[90,1654,1655],{},"log1p_exp",[90,1657,1658],{},"log_inv_logit",[58,1660,1661,1664],{"role":60},[73,1662,1663],{"role":75,"data-label":1568,"data-place":77},"The unit of a group for each row",[73,1665,1666],{"role":75,"data-label":1571,"data-place":81},[90,1667,1488],{},[58,1669,1670,1673],{"role":60},[73,1671,1672],{"role":75,"data-label":1568,"data-place":77},"A past value in a series",[73,1674,1675],{"role":75,"data-label":1571,"data-place":81},[90,1676,1677],{},"lag(y, 2)",[17,1679,1680,1682,1683,1686,1687,1689,1690,234,1692,1694,1695,1698,1699,1701],{},[90,1681,1617],{}," is the power, ",[90,1684,1685],{},"-a ^ 2"," is minus the square of ",[90,1688,40],{},", and ",[90,1691,1611],{},[90,1693,1614],{}," act on a value per row and a value per unit alike: the\neditor chooses the elementwise form. The names in an expression are the nodes' names. A quantity that belongs to a box is written with the group's name when it is\nused on the rows, and the error says how («",[90,1696,1697],{},"mu_school"," is per school: write ",[90,1700,1488],{},"»).",[17,1703,1704,1705,354,1708,354,1711,1714,1715,354,1718,1721,1722,306,1725,306,1728,1731,1732,1734],{},"What it refuses, each with a message that says what to write instead: a character that is not ASCII (a look-alike such as a\ntypographic minus is named, with the character meant), strings, comments, ",[90,1706,1707],{},";",[90,1709,1710],{},"=",[90,1712,1713],{},"~",", comparisons, blocks, ",[90,1716,1717],{},"**",[90,1719,1720],{},"%",",\nfunctions of your own, an upper-case name, a number such as ",[90,1723,1724],{},"1.",[90,1726,1727],{},".5",[90,1729,1730],{},"2i",". The limits are in\n",[40,1733,273],{"href":272},". An expression is read by one parser, the gateway's: the editor's copy only gives feedback\nwhile you type. The Stan text of an expression is written from its parsed form, never from your text.",[46,1736,1738],{"id":1737},"the-stan-program","The Stan program",[17,1740,508,1741,1743,1744,1747,1748,1751,1752,1754],{},[21,1742,353],{}," tab shows the program Tabularia writes from the graph, ",[21,1745,1746],{},"read only"," (there is no way to edit it: ",[40,1749,1750],{"href":141},"What is not\nin this release","). It comes from the gateway, which asks for it when the tab opens and 600 ms\nafter a change, and shows the program's sha256 with buttons to copy the program and the hash. Under it, ",[21,1753,550],{},"\nlists each name of the graph, its label and what it is, and the identifier the program writes; choose a row to see its node on\nthe canvas and the lines that use it (Up and Down walk the rows, Esc leaves the code).",[17,1756,1757,1758,1761],{},"While the graph has an error there is no program for the changes: the tab shows the last saved version's program, with a notice,\nas the flows that pin that version run it. ",[21,1759,1760],{},"A saved version's program is stored with it and never written again",": a flow runs\nthe program the version saved, even after Tabularia is updated.",[46,1763,1765],{"id":1764},"saving-versions-and-sharing","Saving, versions and sharing",[17,1767,1768,1770,1771,1773],{},[21,1769,215],{}," writes a new version. A graph with an ",[21,1772,577],{}," is not saved (the findings are listed and nothing is written); warnings\nnever stop a save. A save that changes nothing writes no version. Each version keeps the graph, its Stan program, the program's\nsha256 and the names table, and versions are never removed. When you save, the version's program is compiled in the background\nand the list says where it stands:",[51,1775,1776,1786],{},[54,1777,1778],{"role":56},[58,1779,1780,1783],{"role":60},[62,1781,1782],{"role":64},"State",[62,1784,1785],{"role":64},"Meaning",[68,1787,1788,1796,1804,1812,1820,1828],{"role":56},[58,1789,1790,1793],{"role":60},[73,1791,1792],{"role":75,"data-label":1782,"data-place":77},"Compiled the first time it runs",[73,1794,1795],{"role":75,"data-label":1785,"data-place":81},"No compiled copy exists yet: the first run compiles it",[58,1797,1798,1801],{"role":60},[73,1799,1800],{"role":75,"data-label":1782,"data-place":77},"Waiting to compile",[73,1802,1803],{"role":75,"data-label":1785,"data-place":81},"Another compile is running; the number that may run at once is an administrator's setting",[58,1805,1806,1809],{"role":60},[73,1807,1808],{"role":75,"data-label":1782,"data-place":77},"Compiling",[73,1810,1811],{"role":75,"data-label":1785,"data-place":81},"Usually 10 to 30 seconds",[58,1813,1814,1817],{"role":60},[73,1815,1816],{"role":75,"data-label":1782,"data-place":77},"Compiled",[73,1818,1819],{"role":75,"data-label":1785,"data-place":81},"Kept in the cache for the group's current image",[58,1821,1822,1825],{"role":60},[73,1823,1824],{"role":75,"data-label":1782,"data-place":77},"Compile failed",[73,1826,1827],{"role":75,"data-label":1785,"data-place":81},"The program did not compile; the detail says why (when the compiler refused the program Tabularia wrote, it is a fault of Tabularia, not of the model, and the administrator's log says where)",[58,1829,1830,1833],{"role":60},[73,1831,1832],{"role":75,"data-label":1782,"data-place":77},"Too long to compile",[73,1834,1835],{"role":75,"data-label":1785,"data-place":81},"It passed the limit of the compile; it is not tried again with that limit",[17,1837,1838,1839,1841,1842,1845,1846,1849,1850,1853],{},"A compile that does not finish never stops a save, and a run compiles first when it finds none. The ",[21,1840,364],{}," tab lists the\nversions: ",[21,1843,1844],{},"Open"," shows one read only (a banner says so), ",[21,1847,1848],{},"Restore"," copies an older version, graph and program as they were\nstored, into a new version. If someone saved a newer version while you were editing, the save is refused with ",[21,1851,1852],{},"Reload",", which\nputs their version on the canvas; your graph stays in the history and Undo brings it back.",[17,1855,1856,1857,1860,1861,1864],{},"In the list, a model's ",[21,1858,1859],{},"More actions"," rename it, move it to another folder (EDIT on both), duplicate it or delete it. ",[21,1862,1863],{},"Delete","\nis refused while a flow pins the model, and names the flows. A model is an object of its folder: it appears in Explore, in the\nsearch and in the recent objects of whoever may see it, and a folder that holds models cannot be deleted before they are moved or\ndeleted. Each action is in the audit log.",[46,1866,1868],{"id":1867},"in-a-flow","In a flow",[17,1870,1871,1872,1874,1875,1877],{},"In the flow editor, ",[21,1873,30],{}," is in the ",[21,1876,102],{}," section of the palette (shown when the group is usable by you). Its\npanel has these parts, top to bottom:",[169,1879,1880,1898,1912,1957,1966,1974,1980],{},[172,1881,1882,1885,1886,1889,1890,1893,1894,1897],{},[21,1883,1884],{},"Saved model."," A searchable list of the models you may see; choosing one ",[21,1887,1888],{},"pins its current version",". The node runs the\npinned version: a newer save changes no scheduled run. When a newer version exists and ",[21,1891,1892],{},"changes the model"," (a version that only moves the drawing says nothing), the panel offers ",[21,1895,1896],{},"Use version N","; moving\nthe pin keeps the columns already bound to variables still there when the column still fits, and lists the variables that\nhave none.",[172,1899,1900,1903,1904,1907,1908,1911],{},[21,1901,1902],{},"Variables."," One row for each data variable of the pinned version, with a column picker filtered by the type of the variable:\nnumbers for a number or an integer; text or integers for a group or a category; dates, timestamps, integers or numbers for\nthe time. A text column bound to a ",[21,1905,1906],{},"group"," becomes the units 1 to J, in text order. A text column bound to a ",[21,1909,1910],{},"category","\nbecomes treatment contrasts, the first level in text order being the reference and every other level having its own\ncoefficient. Rows with a missing value in a bound column are left out, with their count in the report. A predictor\nstandardized in the model says so.",[172,1913,1914,1917,1918,1921,1922,1925,1926,1929,1930,1933,1934,1937,1938,1941,1942,1945,1946,1949,1950,1953,1954,44],{},[21,1915,1916],{},"Sampler."," ",[21,1919,1920],{},"Chains"," (1 to 8, default 4), ",[21,1923,1924],{},"Warm-up"," (0 to 10,000, default 1,000), ",[21,1927,1928],{},"Draws"," a chain (1 to 10,000, default\n1,000) and the ",[21,1931,1932],{},"Seed",", drawn once when the node is created and shown: the same seed gives the same numbers, and ",[21,1935,1936],{},"Draw another\nseed"," changes it. The sampler is NUTS, the No-U-Turn sampler, and there is no other. Under ",[21,1939,1940],{},"Advanced",": the target\nacceptance ",[90,1943,1944],{},"adapt_delta"," (between 0 and 1, default 0.8), the largest tree depth ",[90,1947,1948],{},"max_treedepth"," (1 to 15, default 10) and the\n",[21,1951,1952],{},"initial values"," (CmdStan's own, a random radius, or a value for each single-number parameter). Every field shows its default\nand a ",[21,1955,1956],{},"Reset to default",[172,1958,1959,848,1962,209],{},[21,1960,1961],{},"Output",[40,1963,1965],{"href":1964},"#the-output","below",[172,1967,1968,848,1971,209],{},[21,1969,1970],{},"MLflow",[40,1972,1965],{"href":1973},"#mlflow",[172,1975,1976,1979],{},[21,1977,1978],{},"Limits."," The time limit (default 1,800 s, at most the group's longest run) with retries, and the group's limits for a run,\nread only: rows, quantities, units, memory, processors and temporary disk. An administrator sets them.",[172,1981,1982,1689,1984,44],{},[21,1983,285],{},[21,1985,1986],{},"Prior predictive check",[17,1988,1989,1990,1993],{},"A node run in a flow checks, before anything starts, every variable is bound, the sampler is within its ranges, the model is\nvisible to the person running it and runnable (RUN on its folder), and the group is usable. A refusal names what lacks, and no\nJob is made. On the canvas the node shows the model's name, its version, a dot when a newer version changes the model, and ",[21,1991,1992],{},"not\nup to date"," when its settings or the steps before it changed since its last output (the settings counted are the model, the\nversion, the bindings, the sampler and the output; the MLflow block is not).",[371,1995,1997],{"id":1996},"the-output","The output",[51,1999,2000,2009],{},[54,2001,2002],{"role":56},[58,2003,2004,2006],{"role":60},[62,2005,1961],{"role":64},[62,2007,2008],{"role":64},"What the nodes after it receive",[68,2010,2011,2087,2116,2137],{"role":56},[58,2012,2013,2019],{"role":60},[73,2014,2015,2018],{"role":75,"data-label":1961,"data-place":77},[21,2016,2017],{},"Summary"," (the default)",[73,2020,2021,2022,354,2025,354,2028,354,2030,354,2033,354,2036,354,2039,354,2042,354,2045,354,2048,2051,2052,354,2055,354,2058,354,2061,354,2064,2067,2068,354,2071,354,2074,354,2077,354,2080,234,2083,2086],{"role":75,"data-label":2008,"data-place":81},"One row for each quantity: ",[90,2023,2024],{},"quantity",[90,2026,2027],{},"node",[90,2029,534],{},[90,2031,2032],{},"unit",[90,2034,2035],{},"index",[90,2037,2038],{},"index_2",[90,2040,2041],{},"kind",[90,2043,2044],{},"scale",[90,2046,2047],{},"mean",[90,2049,2050],{},"sd",", five quantiles (",[90,2053,2054],{},"q5",[90,2056,2057],{},"q25",[90,2059,2060],{},"q50",[90,2062,2063],{},"q75",[90,2065,2066],{},"q95","), ",[90,2069,2070],{},"mcse_mean",[90,2072,2073],{},"mcse_sd",[90,2075,2076],{},"rhat",[90,2078,2079],{},"ess_bulk",[90,2081,2082],{},"ess_tail",[90,2084,2085],{},"contraction"," (the contraction of the prior). A coefficient of a linear predictor has a second row on the column's own scale",[58,2088,2089,2093],{"role":60},[73,2090,2091],{"role":75,"data-label":1961,"data-place":77},[21,2092,1928],{},[73,2094,2095,2096,354,2099,354,2102,354,2104,354,2106,354,2108,354,2110,354,2112,2115],{"role":75,"data-label":2008,"data-place":81},"One row for each quantity of each draw (",[90,2097,2098],{},"chain",[90,2100,2101],{},"draw",[90,2103,2024],{},[90,2105,2027],{},[90,2107,2032],{},[90,2109,2035],{},[90,2111,2038],{},[90,2113,2114],{},"value","). It can be large; it is written in blocks and never held whole in memory",[58,2117,2118,2123],{"role":60},[73,2119,2120],{"role":75,"data-label":1961,"data-place":77},[21,2121,2122],{},"Replicated data",[73,2124,2125,2126,354,2128,354,2130,354,2132,354,2135],{"role":75,"data-label":2008,"data-place":81},"Data drawn from the fitted model, thinned to a few draws for each chain (1 to the draws, default 50): ",[90,2127,2098],{},[90,2129,2101],{},[90,2131,60],{},[90,2133,2134],{},"outcome",[90,2136,2114],{},[58,2138,2139,2144],{"role":60},[73,2140,2141],{"role":75,"data-label":1961,"data-place":77},[21,2142,2143],{},"Results table",[73,2145,2146],{"role":75,"data-label":2008,"data-place":81},"The ten columns every model node writes, as the report reads them",[17,2148,2149],{},"The report is always drawn from the ten columns, whichever output you choose; the draws are 8 digits of precision, CmdStan's\ndefault.",[46,2151,331],{"id":2152},"trying-the-model",[17,2154,2155,2157,2158,2160],{},[21,2156,285],{}," in the node's panel is a trial on the flow's development sample: the same step as in the flow, on that sample, and the\n",[21,2159,289],{}," tab shows its result. If the compile has not finished, the step says «compiling the model first (usually 10–30 s)» and\nwaits for it; the wait counts in the node's time limit. A node with a model that has no compiled copy yet queues its compile as\nsoon as it is planned.",[17,2162,2163,2165,2166,2169,2170,2173],{},[21,2164,1986],{}," is a trial of its own, offered when the pinned version can run it. It draws data sets from the priors\nalone, before the data are seen: four chains of 250 draws from the node's seed, no warm-up and no sampler's diagnostics. It is\nnever the node's output; its report is in the Report tab, beside the latest sampling run, with a switch ",[21,2167,2168],{},"Posterior"," \u002F ",[21,2171,2172],{},"Prior\npredictive check",". A version saved before the predictive checks existed has none («saving it again adds them»), and a model with a\ntruncated gamma or inverse-gamma prior has the posterior checks only, because Stan cannot draw such a prior ancestrally.",[46,2175,294],{"id":2176},"reading-the-report",[17,2178,2179,2180,2183],{},"The report is drawn from the ten columns the run wrote and nothing else, on screen, in PDF and in Excel, in five languages. In\nthis report ",[21,2181,2182],{},"every diagnostic is a measure or a fact, with a sentence that says what it measures",": there is no mark, no colour\nthat judges and no word that rates the run.",[169,2185,2186,2192,2198,2204,2210,2216,2228,2236],{},[172,2187,2188,2191],{},[21,2189,2190],{},"Summary."," Four cards: the rows used and left out, the draws (chains × draws, after the warm-up), the divergences (of the\ndraws) and the largest R-hat with the smallest effective sample sizes. A facts line gives the saved model and its version, the\nsampler and its settings, the seed, the precision of the draws and the seconds of warm-up and sampling.",[172,2193,2194,2197],{},[21,2195,2196],{},"Posterior summary."," One row for each quantity: mean, standard deviation, three quantiles, R-hat, the effective sample sizes\nof the bulk and of the tails, the standard error of the mean and the contraction of the prior (1 − Var(posterior) \u002F\nVar(prior)), empty where the prior has no finite variance. The table holds the scalars and the correlations; Excel holds every\nquantity of the report's scope.",[172,2199,2200,2203],{},[21,2201,2202],{},"Groups."," For each group box, the median of each unit's draws with its 5 % to 95 % interval, units in the order of their\nmedians (a sample of the units when the box has more than 1,000, said under the chart).",[172,2205,2206,2209],{},[21,2207,2208],{},"Data."," Each bound variable, its column, its type, whether it was standardized with its mean and standard deviation, the\nunits or levels, the reference level of a category and the rows left out.",[172,2211,2212,2215],{},[21,2213,2214],{},"Diagnostics."," The sampler's measures for each chain: divergences, draws at the largest tree depth and the deepest tree,\nE-BFMI, the step size, the mean acceptance statistic, the mean number of leapfrog steps, the seconds of warm-up and sampling;\nand for each node its largest R-hat and smallest effective sample sizes. Under them, a paragraph for each measure says what it\nmeasures.",[172,2217,2218,2221,2222,2224],{},[21,2219,2220],{},"Charts of the draws",", for at most 12 quantities: the trace (a line for each chain), the rank histograms of each chain,\nthe density of the posterior with the prior's overlaid, and the pairs of draws of at most four quantities with the divergent\ndraws in their own colour. Each caption says how to read the chart, not what it shows beyond the picture.",[218,2223],{},[221,2225],{"alt":2226,"src":2227,"zoom":225},"The charts of the draws for two quantities: the trace of each chain, the ranks by chain, and the posterior with the prior dashed","\u002Fmedia\u002Fguide\u002Fbayesian-models\u002Freport-diagnostics.png",[172,2229,2230,848,2233,209],{},[21,2231,2232],{},"Predictive checks",[40,2234,1965],{"href":2235},"#the-predictive-checks",[172,2237,2238,2241],{},[21,2239,2240],{},"How this report was computed",", and the notes.",[371,2243,2245],{"id":2244},"the-original-scale-of-a-coefficient","The original scale of a coefficient",[17,2247,2248,2249,2252],{},"When a predictor was standardized, a coefficient of a linear predictor is also given ",[21,2250,2251],{},"on the column's own scale",": the\ncoefficient divided by the predictor's standard deviation, and the intercept minus the sum of each coefficient times the\npredictor's mean over its standard deviation, draw by draw, so the table «On the column's scale» gives the mean, the standard\ndeviation and the quantiles of those draws. The table «Data» gives the mean and standard deviation used. A formula in a free\nexpression has the standardized scale only.",[371,2254,2256],{"id":2255},"the-predictive-checks","The predictive checks",[17,2258,2259,2260,2263,2264,2267],{},"A predictive check draws replicated data sets from the model and ",[21,2261,2262],{},"draws them next to your data",". For each checked outcome the\nreport has the density of the values (your data in black, 20 drawn data sets in grey), a histogram of each statistic of the drawn\ndata sets with the same statistic of your data marked by a dashed line (what the statistics are depends on the outcome: for a\nnumber, the mean, standard deviation, minimum, maximum and the 10th, 50th and 90th percentiles; for a count, the mean, standard\ndeviation, maximum, the 50th and 90th percentiles and the number of zeros; for an outcome of yes or no, the mean), and the same for the mean of each of the units with the most rows. The outer points of a grey line\ncount the drawn values below and above the range of your data. ",[21,2265,2266],{},"No p-value, no probability and no share is given",", and\nthe report says so: a predictive check is read by looking at the charts, and the numbers that would stand beside them would\nturn a picture into a verdict. The posterior checks come from replicated data drawn from the posterior; the prior checks from the\npriors alone, and are labelled so.",[371,2269,2271],{"id":2270},"the-literatures-reference-values","The literature's reference values",[17,2273,2274,2275,2277,2278,2281,2282,2286,2287,2289],{},"The report's section ",[21,2276,2240],{}," quotes what the literature says about R-hat, effective sample size,\ndivergences, tree depth, E-BFMI and the contraction, each quotation in English, as the source writes it, with its author, year\nand page (the Stan Reference Manual by section). Those quotations are the only place the report, and this page, give a\nreference value, and ",[21,2279,2280],{},"no number of a run is compared with them",". For example the report quotes Vehtari, Gelman, Simpson,\nCarpenter and Bürkner (2021, arXiv:1903.08008v5, p. 4), who write: “we propose modifications to ",[2283,2284,2285],"span",{},"R-hat"," based on\nrank-normalizing and folding the posterior draws, only using the sample if ",[2283,2288,2285],{}," \u003C 1.01.” and (p. 5): “we recommend requiring\nthat the rank-normalized ESS is greater than 400, a number we chose based on practical experience and simulations”; Betancourt\n(2017, arXiv:1701.02434v2, p. 44), who writes of E-BFMI: “Empirically, values of this energy Bayesian fraction of missing\ninformation below 0.3 have proven problematic, although more theoretical work is needed to formalize any exact threshold.”; and\nGabry, Simpson, Vehtari, Betancourt and Gelman (2019, arXiv:1709.01449v5, p. 8): “Posterior predictive checking is mostly\nqualitative.” These are their words and their values, quoted. The report's section holds the others, with the formulas of each\nmeasure, the program's and the binary's hashes, CmdStan's version and the seed.",[46,2291,1970],{"id":2292},"mlflow",[17,2294,2295,2296,2299,2300,234,2303,2306,2307,2310,2311,2314,2315,2318,2319,354,2322,350,2325,354,2328,234,2331,2334,2335,2338,2339,2342,2343,2345],{},"A Bayesian model node can record its run in ",[40,2297,1970],{"href":2298},"\u002Fdocs\u002Fconnections\u002Fmlflow"," with the same block as the other model nodes: the\nconnection, the experiment, ",[21,2301,2302],{},"Register the model as",[21,2304,2305],{},"Continue without MLflow",". What it records are the ",[21,2308,2309],{},"parameters"," (the\nsaved model and version, the sampler's settings, the output, and for each bound variable its column and, when standardized, its\nmean and standard deviation), the ",[21,2312,2313],{},"summary of the quantities"," as metrics (mean, standard deviation, three quantiles, R-hat, the\neffective sample sizes and the standard error of the mean, for up to 100 scalar quantities; the others are in the summary file),\nthe ",[21,2316,2317],{},"sampler's facts"," and the extremes of each node, and these files: ",[90,2320,2321],{},"tabularia\u002Fsummary.csv",[90,2323,2324],{},"tabularia\u002Freport.pdf",[90,2326,2327],{},"model\u002FMLmodel",[90,2329,2330],{},"model\u002Fmodel.json",[90,2332,2333],{},"model\u002Fprogram.stan",". ",[21,2336,2337],{},"The draws are never recorded",", and neither is ",[90,2340,2341],{},"results.parquet",",\nwhatever the node's output. A trial and the prior predictive check record nothing. The experiment is checked, and the\nconnection's CONNECT right with it, before the program is compiled: a refusal is said under ",[21,2344,285],{}," and nothing is compiled.",[17,2347,2348,2350],{},[21,2349,2302],{}," adds a version with the model's program and its summary. No metric is a threshold or a verdict.",[46,2352,2354],{"id":2353},"predict","Predict",[17,2356,2357,2359,2360,2363,2364,2366],{},[21,2358,2354],{}," does not apply a Bayesian model: a step that names a registered Bayesian version is refused with «holds a Bayesian\nmodel, which Predict does not apply: a Bayesian model's draws are read in its report and its summary». A ",[21,2361,2362],{},"Model"," node that\nnames the Bayesian model is refused too, with the way out: add ",[21,2365,30],{}," from the palette. Predictions on new rows are\nnot in this release.",[46,2368,2370],{"id":2369},"the-assistant","The assistant",[17,2372,2373,2374,2378,2379,2381,2382,2385,2386,2389,2390,2393,2394,2397],{},"Where the installation has an AI model you may use (",[40,2375,2377],{"href":2376},"\u002Fdocs\u002Fintegrations\u002Fai","AI in Tabularia","), the editor has an ",[21,2380,360],{}," tab.\nIt ",[21,2383,2384],{},"explains"," the model on the canvas (what a node is, what a prior says in numbers, what a finding means) and ",[21,2387,2388],{},"proposes\nchanges"," that you apply or discard. It never decides, adds or deletes a node, binds data, changes the sampler, saves or runs.\nA proposal is a list of changes to existing nodes: a prior's distribution and arguments, an expression, a bound, the form of a\nbox. Each is placed by the node's id and the slot's name, and its ",[21,2391,2392],{},"Apply"," is offered only after the gateway has read the graph\nthe change would make (",[90,2395,2396],{},"POST \u002Fbayes-models\u002Fcheck","): a new error withholds it, and the findings are shown and can be sent back to\nthe assistant. A change is applied as one step of the editor that Undo takes back, and it is never applied over something that\nchanged since the assistant read it. In a version looked at (read only) nothing is applied.",[17,2399,2400,2403],{},[21,2401,2402],{},"What goes to the model",", with each request:",[1493,2405,2406,2409,2415,2418,2421],{},[172,2407,2408],{},"your message and the conversation;",[172,2410,2411,2412,1707],{},"the graph as the editor holds it, up to 256 KiB: for each box its id, kind, label, form, group data node and parent, series\nsettings and note; for each node its id, kind, name, label, box, note and, by kind, the type of a data variable and whether it\nis standardized, a prior or an initial value with its distribution and arguments, bounds, a likelihood's distribution and\narguments, a linear predictor's intercept and terms, a computed value's expression. A text is cut to 80 characters (a name to\n60, a note to 200; an expression to its 1,000 bytes), at most 120 nodes are shown and the others are said to be left out, and\nevery text of the graph reaches the model ",[21,2413,2414],{},"as data between markers, never as instructions",[172,2416,2417],{},"the findings of the editor's check;",[172,2419,2420],{},"the selected node, and the numbers of its prior chart (three quantiles);",[172,2422,2423,2424,2427],{},"when you choose ",[21,2425,2426],{},"Read a run",", from the runs of the nodes in flows you may open that pin this model: the run's version\n(said when it is not the one in the editor), the sampler's facts (chains, draws, divergences, draws at the largest tree depth\nand the deepest tree, E-BFMI, step size, mean acceptance, mean leapfrog steps, seconds of warm-up and sampling) and, for each\nnode, its largest R-hat and its smallest effective sample sizes.",[17,2429,2430,2433],{},[21,2431,2432],{},"What never goes",": a row of your data (the editor holds none), a column of an input, the levels of a group, the mean and\nstandard deviation a predictor was standardized with, the posterior summary of a run, the draws, the replicated data, the report.\nThe assistant has no tool that reads data or runs anything.",[17,2435,2436,2439],{},[21,2437,2438],{},"What it says",": a number of a run is a measure or a fact, said with what it measures. It uses no word that rates the run, the\nmodel or a number, and it does not set a number of the run against a reference value of its own; if you ask for a judgement, it\nsays what the numbers measure, that the report quotes what the literature says, and that the judgement is yours. It states a prior\nby its arithmetic. It offers a remedy of its own only for a fact of the run (divergences, the tree depth reached, E-BFMI as the\nnumber measured) and names it as what people usually try, with what it costs; for R-hat and the effective sample sizes it says what they\nmeasure and where they are largest.",[17,2441,2442,2445,2446,2449,2450,44],{},[21,2443,2444],{},"Metadata-only mode."," With ",[90,2447,2448],{},"AI__METADATA_ONLY"," on, this assistant works as without it, because nothing it receives is a row of\ndata, and the tab says so in its notice. What changes is the conversation: the turns made before the mode came on are not sent\nagain, and the assistant says it can no longer see them. The run you choose to read still goes as above: its facts are counts and\nextremes of the sampler's measures, not a value of your rows, and the mode does not switch them off. See ",[40,2451,2453],{"href":2452},"\u002Fdocs\u002Fintegrations\u002Fai#metadata-only-mode","metadata-only\nmode",[46,2455,2457],{"id":2456},"limits-and-what-it-refuses","Limits, and what it refuses",[17,2459,2460],{},"The model's limits are constants of the catalogue, not settings:",[51,2462,2463,2473],{},[54,2464,2465],{"role":56},[58,2466,2467,2470],{"role":60},[62,2468,2469],{"role":64},"Limit",[62,2471,2472],{"role":64},"Value",[68,2474,2475,2482,2490,2498,2506,2514,2523,2531,2539,2547],{"role":56},[58,2476,2477,2479],{"role":60},[73,2478,1591],{"role":75,"data-label":2469,"data-place":77},[73,2480,2481],{"role":75,"data-label":2472,"data-place":81},"40 bytes",[58,2483,2484,2487],{"role":60},[73,2485,2486],{"role":75,"data-label":2469,"data-place":77},"A label",[73,2488,2489],{"role":75,"data-label":2472,"data-place":81},"200 characters",[58,2491,2492,2495],{"role":60},[73,2493,2494],{"role":75,"data-label":2469,"data-place":77},"A note",[73,2496,2497],{"role":75,"data-label":2472,"data-place":81},"2,000 characters",[58,2499,2500,2503],{"role":60},[73,2501,2502],{"role":75,"data-label":2469,"data-place":77},"An expression",[73,2504,2505],{"role":75,"data-label":2472,"data-place":81},"1,000 bytes, nested up to 32 levels, up to 256 nodes (4,096 in all the expressions of a model)",[58,2507,2508,2511],{"role":60},[73,2509,2510],{"role":75,"data-label":2469,"data-place":77},"A number in an expression",[73,2512,2513],{"role":75,"data-label":2472,"data-place":81},"32 characters, at most 1e15 in magnitude",[58,2515,2516,2520],{"role":60},[73,2517,2518],{"role":75,"data-label":2469,"data-place":77},[90,2519,1535],{},[73,2521,2522],{"role":75,"data-label":2472,"data-place":81},"k from 1 to 60",[58,2524,2525,2528],{"role":60},[73,2526,2527],{"role":75,"data-label":2469,"data-place":77},"Nodes in a graph",[73,2529,2530],{"role":75,"data-label":2472,"data-place":81},"200",[58,2532,2533,2536],{"role":60},[73,2534,2535],{"role":75,"data-label":2469,"data-place":77},"Boxes, and their depth",[73,2537,2538],{"role":75,"data-label":2472,"data-place":81},"8 boxes, nested up to 4",[58,2540,2541,2544],{"role":60},[73,2542,2543],{"role":75,"data-label":2469,"data-place":77},"Components of correlated effects",[73,2545,2546],{"role":75,"data-label":2472,"data-place":81},"10",[58,2548,2549,2552],{"role":60},[73,2550,2551],{"role":75,"data-label":2469,"data-place":77},"The graph's size",[73,2553,2554],{"role":75,"data-label":2472,"data-place":81},"262,144 bytes",[17,2556,2557,2558,354,2561,234,2564,2567,2568,2571,2572,2574,2575,2578,2579,2582],{},"A run's limits are the group's (a node shows them read only), with these defaults: ",[21,2559,2560],{},"1,000,000 rows",[21,2562,2563],{},"20,000 quantities",[21,2565,2566],{},"20,000\nunits"," of a group or a category, ",[21,2569,2570],{},"2 GiB"," of memory, 4 processors, ",[21,2573,2570],{}," of temporary disk and ",[21,2576,2577],{},"3,600 s"," for the longest run.\nThe report lists up to 2,000 quantities in its summary table; a node's summary output has them all. A run that would pass a limit\nis ",[21,2580,2581],{},"refused before it ends, with the sentence that names the way out, and leaves no partial result",". For example:",[1493,2584,2585,2592,2595,2598,2601,2607,2613,2616,2619],{},[172,2586,2587,2588,2591],{},"«",[90,2589,2590],{},"school"," has more than 20000 values: is it the right column?»",[172,2593,2594],{},"«the model has 31400 quantities; this installation allows 20000»",[172,2596,2597],{},"«about 41 minutes for 4 chains of 2000 iterations; the node's timeout is 30 minutes: fewer draws, or a longer timeout»",[172,2599,2600],{},"«the draws would write about 6.1 GB; this Job's disk holds 2.1 GB: fewer draws or chains»",[172,2602,2587,2603,2606],{},[90,2604,2605],{},"hours"," has the same value on every row: it cannot be standardized»",[172,2608,2587,2609,2612],{},[90,2610,2611],{},"district_income"," changes within the unit «Liceo Galilei» of School: it must have one value for each» (a column on a group box\nthat varies within a unit)",[172,2614,2615],{},"«no row has every bound column: 1204 rows have a missing value»",[172,2617,2618],{},"«the sampler found no starting point where the model's density is finite: check the bounds and the priors, or give initial values\nunder Advanced»",[172,2620,2621],{},"«the replicated data are not available for this model: it has correlated effects, and Stan reads the draws back with a check on their\ncorrelations that the 8 digits the sampler writes cannot meet; run it with the summary, the draws or the results table» (a model with\ncorrelated effects, such as the one with random slopes, runs with the posterior checks and the replicated data off: the node says so, and\nthe prior predictive check stays available)",[17,2623,2624,2625,2628],{},"(The numbers are examples, written as the runner writes them, with no thousands separator.) ",[21,2626,2627],{},"Divergent transitions are not a refusal",": the run goes on to the end and their count\nis a fact on the first page.",[46,2630,142],{"id":2631},"what-is-not-in-this-release",[17,2633,2634],{},"Predictions of new rows, leave-one-out cross-validation and the comparison of models, hand-written or hand-edited Stan code,\nfunctions of your own, variational and other methods than NUTS, differential equations, Gaussian processes and mixtures, and a\nPredict step for a Bayesian model. Copy and paste of nodes is not offered either; Duplicate makes a copy of one.",[46,2636,43],{"id":2637},"for-administrators",[371,2639,2641],{"id":2640},"turning-the-group-on","Turning the group on",[17,2643,2644,2647,2648,2650,2651,2334,2653,2656,2657,2661,2662,2665,2666,2669,2670,234,2673,2676,2677,234,2680,2683,2684,2687,2688,2692,2693,2696,2697,2700,2701,2704,2705,2707],{},[21,2645,2646],{},"Administration → Statistical models"," lists the group ",[21,2649,5],{}," with its one node, ",[21,2652,30],{},[21,2654,2655],{},"Enable"," builds\nits image as for the other groups (",[40,2658,2660],{"href":2659},"\u002Fdocs\u002Fcapabilities\u002Fmodels#turning-a-group-on-administrators","Turning a group on","): the scripts' machinery\n(",[90,2663,2664],{},"scripts.enabled"," with its registry) and the ",[21,2667,2668],{},"scripts bucket"," are needed first. The build installs CmdStan 2.40.0 from its\nrelease tarball, pinned by URL and sha256 for x86-64 and arm64, the Python packages ",[90,2671,2672],{},"numpy",[90,2674,2675],{},"pyarrow"," pinned by hash, and\nDebian's ",[90,2678,2679],{},"g++",[90,2681,2682],{},"make",", which compile each model. It needs, ",[21,2685,2686],{},"at build time only",", the hosts and the build's time and\nmemory that ",[40,2689,2691],{"href":2690},"\u002Fdocs\u002Fdeploy\u002Fkubernetes#statistical-models","the Bayesian group of the Kubernetes page"," lists; the image weighs about\n1.8 GB. ",[21,2694,2695],{},"The group runs on x86-64",": arm64 is pinned but not yet built and self-tested on an arm64 node. When the image is\nbuilt, its ",[21,2698,2699],{},"self-test"," runs eight checks of the image (the versions and checksums, a compile and a run under the Job's conditions,\nthe known answer of a normal model, the same draws for the same seed on x86-64, and the catalogue's distributions against\nStan's), and the group is ",[21,2702,2703],{},"Ready"," when they pass. ",[21,2706,108],{}," is set as for every group: everyone who can edit flows,\nor the user groups you tick; administrators always can. An observer reads the card and acts on nothing; an API token never\nchanges the settings.",[371,2709,2711],{"id":2710},"resources","Resources",[51,2713,2714,2726],{},[54,2715,2716],{"role":56},[58,2717,2718,2721,2723],{"role":60},[62,2719,2720],{"role":64},"Job",[62,2722,812],{"role":64},[62,2724,2725],{"role":64},"Notes",[68,2727,2728,2746],{"role":56},[58,2729,2730,2736,2739],{"role":60},[73,2731,753,2732,2735],{"role":75,"data-label":2720,"data-place":77},[21,2733,2734],{},"sampling"," Job",[73,2737,2738],{"role":75,"data-label":812,"data-place":81},"4 processors, 2 GiB of memory, 2 GiB of temporary disk, at most 3,600 s, at most 1,000,000 input rows",[73,2740,2741,2742,2745],{"role":75,"data-label":2725,"data-place":81},"Set under ",[21,2743,2744],{},"Resources, access and versions","; the temporary disk, in the group's card; apply from the next run",[58,2747,2748,2753,2756],{"role":60},[73,2749,753,2750,2735],{"role":75,"data-label":2720,"data-place":77},[21,2751,2752],{},"compile",[73,2754,2755],{"role":75,"data-label":812,"data-place":81},"1 processor, 3 GiB of memory, 300 s, 512 MiB of temporary disk, 2 compiles at once",[73,2757,2758,2759,2762],{"role":75,"data-label":2725,"data-place":81},"The card ",[21,2760,2761],{},"Bayesian models: compiles and cache","; apply to the next compile, no build",[17,2764,2765,2766,2768],{},"The compile card refuses a memory below 2 GiB or a limit below 60 seconds, with the measured peaks quoted (a compile peaks at 1.3\nto 1.9 GiB and takes 11 to 45 s). A sampling run is refused when its projection of time or disk goes over the limit, with the\nsentence of ",[40,2767,273],{"href":272},", and a run in the cluster that goes over its memory is stopped by the cluster and\nthe step says so. The Job has no internet access and reaches the scripts bucket through the egress proxy only.",[371,2770,2772],{"id":2771},"the-compile-cache","The compile cache",[17,2774,2775,2776,2779,2780,2783],{},"A compiled model is kept, once for each saved program and each image, in the engine's storage; runs place it in their Job. The\ncard shows the cache's ",[21,2777,2778],{},"limit"," (2 GiB by default), the space used, the number of binaries, the date of the oldest use and the\nbinaries of an older image. When a new binary would pass the limit, the least recently used go first, those of an older image\nbefore any. A binary is valid only with the image that compiled it, so a rebuild of the group makes the first run of each model\ncompile again. ",[21,2781,2782],{},"Empty the cache"," removes every binary not being placed (and says how many it kept because they were in use) and\nasks for confirmation: the next run of each model compiles first. The card also lists the last 20 compiles, with the model and\nversion when you may see them, the state, the seconds and, for a compile that was too long, the limits it ran under.",[371,2785,2787],{"id":2786},"audit","Audit",[17,2789,2790,2791,2795,2796,354,2799,350,2802,354,2805,234,2808,2811,2812,960,2815,2818,2819,354,2822,354,2825,350,2828,234,2831,2834],{},"Every action is in the ",[40,2792,2794],{"href":2793},"\u002Fdocs\u002Fgovernance\u002Faudit-log","audit log",": ",[90,2797,2798],{},"models.group_enable",[90,2800,2801],{},"models.group_disable",[90,2803,2804],{},"models.group_rebuild",[90,2806,2807],{},"models.group_settings",[90,2809,2810],{},"models.group_access"," for the group; ",[90,2813,2814],{},"models.bayes_compile_settings",[90,2816,2817],{},"models.bayes_cache_empty"," for the card; and ",[90,2820,2821],{},"bayes_model.create",[90,2823,2824],{},"bayes_model.update",[90,2826,2827],{},"bayes_model.restore",[90,2829,2830],{},"bayes_model.compile",[90,2832,2833],{},"bayes_model.delete"," for the models themselves.",[371,2836,2838],{"id":2837},"an-air-gapped-cluster-a-proxy-arm64","An air-gapped cluster, a proxy, arm64",[17,2840,2841,2842,2845,2846,2849],{},"The hosts, the mirror variable ",[90,2843,2844],{},"MODELS__SOURCES_BASE_URL"," for a cluster that may not reach GitHub's release downloads, and the\nstate of arm64 are in ",[40,2847,2848],{"href":2690},"the Kubernetes page","; they are not repeated here.",[371,2851,2853],{"id":2852},"licences","Licences",[17,2855,2856,2857,2860],{},"The licences of CmdStan, Stan, Stan Math, stanc3 and what they bundle, and of the packages of the group's image, are listed in\n",[40,2858,2853],{"href":2859},"\u002Fdocs\u002Flicences",", with where each full text is.",[46,2862,2864],{"id":2863},"related","Related",[1493,2866,2867,2874,2880,2884,2888],{},[172,2868,2869,2873],{},[40,2870,2872],{"href":2871},"\u002Fdocs\u002Fcapabilities\u002Fmodels","Statistical models",": every model of the flow editor, the output, the Report tab and MLflow",[172,2875,2876],{},[40,2877,2879],{"href":2878},"\u002Fdocs\u002Fcapabilities\u002Fstatistics-overview","Statistics: the whole picture",[172,2881,2882],{},[40,2883,1970],{"href":2298},[172,2885,2886],{},[40,2887,2377],{"href":2376},[172,2889,2890],{},[40,2891,2853],{"href":2859},{"title":76,"searchDepth":2893,"depth":2894,"links":2895},2,3,[2896,2897,2898,2903,2909,2910,2911,2912,2913,2914,2917,2918,2923,2924,2925,2926,2927,2928,2936],{"id":48,"depth":2893,"text":49},{"id":146,"depth":2893,"text":147},{"id":334,"depth":2893,"text":335,"children":2899},[2900,2901,2902],{"id":373,"depth":2894,"text":374},{"id":523,"depth":2894,"text":524},{"id":559,"depth":2894,"text":560},{"id":750,"depth":2893,"text":208,"children":2904},[2905,2906,2907,2908],{"id":771,"depth":2894,"text":772},{"id":796,"depth":2894,"text":797},{"id":968,"depth":2894,"text":969},{"id":1129,"depth":2894,"text":1130},{"id":1475,"depth":2893,"text":1476},{"id":1090,"depth":2893,"text":1515},{"id":1551,"depth":2893,"text":1552},{"id":1737,"depth":2893,"text":1738},{"id":1764,"depth":2893,"text":1765},{"id":1867,"depth":2893,"text":1868,"children":2915},[2916],{"id":1996,"depth":2894,"text":1997},{"id":2152,"depth":2893,"text":331},{"id":2176,"depth":2893,"text":294,"children":2919},[2920,2921,2922],{"id":2244,"depth":2894,"text":2245},{"id":2255,"depth":2894,"text":2256},{"id":2270,"depth":2894,"text":2271},{"id":2292,"depth":2893,"text":1970},{"id":2353,"depth":2893,"text":2354},{"id":2369,"depth":2893,"text":2370},{"id":2456,"depth":2893,"text":2457},{"id":2631,"depth":2893,"text":142},{"id":2637,"depth":2893,"text":43,"children":2929},[2930,2931,2932,2933,2934,2935],{"id":2640,"depth":2894,"text":2641},{"id":2710,"depth":2894,"text":2711},{"id":2771,"depth":2894,"text":2772},{"id":2786,"depth":2894,"text":2787},{"id":2837,"depth":2894,"text":2838},{"id":2852,"depth":2894,"text":2853},{"id":2863,"depth":2893,"text":2864},"A Bayesian model says how your data could have come about: the quantities you do not know, what you think of each of them\nbefore looking, and how they produce the rows you observe. In Tabularia you draw that model as a graph in a space of its\nown, Bayesian models: data, parameters with their priors, a likelihood, boxes for the groups of a hierarchical model.\nTabularia writes the Stan program from the drawing and shows it, read only. A node of a flow, Bayesian model, binds the\nmodel's data variables to the columns of its input, samples the model with Stan and returns the draws of the posterior of\nevery unknown, with a report that gives the sampler's measures and facts and draws the predictive checks as charts.","md",{"source":2940},"docs\u002Fcapabilities\u002Fbayesian-models.md",true,"\u002Fdocs\u002Fcapabilities\u002Fbayesian-models",{"title":5,"description":2937},"docs\u002Fcapabilities\u002Fbayesian-models","rDpWFM9keytdsHWl_2WhQUPX8R5DmCCL0puBPIWLc78",[2947,2969,3037,3052,3081,3110,3141,3166,3192],{"title":2948,"icon":2949,"intro":2950,"items":2951},"Getting started","start","Install it on one machine, learn the few ideas everything else is built on, and run a first flow.",[2952,2954,2957,2960,2963,2966],{"path":2953,"title":2948},"\u002Fdocs\u002Fgetting-started",{"path":2955,"title":2956},"\u002Fdocs\u002Fgetting-started-docker-compose","Walkthrough with Docker Compose",{"path":2958,"title":2959},"\u002Fdocs\u002Fdeploy\u002Fminikube","Try it on your computer (minikube)",{"path":2961,"title":2962},"\u002Fdocs\u002Fconcepts","Concepts",{"path":2964,"title":2965},"\u002Fdocs\u002Fhow-it-works","How it works",{"path":2967,"title":2968},"\u002Fdocs\u002Foverview","Overview (README)",{"title":2970,"icon":2971,"intro":2972,"items":2973},"Capabilities","capabilities","What you can build: visual flows, analysis on any step, AI questions, pixel-perfect reports, dashboards, Python, R and SQL scripts, containers and the orchestration that ties them together.",[2974,2977,2980,2983,2986,2989,2992,2995,2998,3001,3004,3007,3010,3013,3016,3019,3022,3025,3028,3031,3034],{"path":2975,"title":2976},"\u002Fdocs\u002Fcapabilities","All capabilities",{"path":2978,"title":2979},"\u002Fdocs\u002Fcapabilities\u002Fhome","The home page",{"path":2981,"title":2982},"\u002Fdocs\u002Fcapabilities\u002Fflows","Low-code flows",{"path":2984,"title":2985},"\u002Fdocs\u002Fcapabilities\u002Fpreview-and-analysis","Preview and analysis",{"path":2987,"title":2988},"\u002Fdocs\u002Fcapabilities\u002Flineage","Lineage",{"path":2990,"title":2991},"\u002Fdocs\u002Fcapabilities\u002Fask-your-data","Ask your data with AI",{"path":2993,"title":2994},"\u002Fdocs\u002Fcapabilities\u002Freports","Pixel-perfect reports",{"path":2996,"title":2997},"\u002Fdocs\u002Fcapabilities\u002Freport-functions","Report functions",{"path":2999,"title":3000},"\u002Fdocs\u002Fcapabilities\u002Fdashboards","Dashboards",{"path":3002,"title":3003},"\u002Fdocs\u002Fcapabilities\u002Fshare-links","Share links",{"path":3005,"title":3006},"\u002Fdocs\u002Fscripting","Python and R",{"path":3008,"title":3009},"\u002Fdocs\u002Fsql-scripts","SQL scripts",{"path":3011,"title":3012},"\u002Fdocs\u002Fdata-apis","Data APIs",{"path":3014,"title":3015},"\u002Fdocs\u002Fcapabilities\u002Fnotebooks","marimo notebooks as apps",{"path":3017,"title":3018},"\u002Fdocs\u002Fcontainer-node","Docker images in flows",{"path":3020,"title":3021},"\u002Fdocs\u002Fcapabilities\u002Fflow-groups","Flow groups: orchestration",{"path":3023,"title":3024},"\u002Fdocs\u002Fcapabilities\u002Fscheduling","Scheduling",{"path":3026,"title":3027},"\u002Fdocs\u002Fpushmail","Pushmail: datasources, reports and dashboards by email",{"path":3029,"title":3030},"\u002Fdocs\u002Fplaceholders","Dynamic dates",{"path":3032,"title":3033},"\u002Fdocs\u002Fcapabilities\u002Fengines","Engines",{"path":3035,"title":3036},"\u002Fdocs\u002Fengines\u002Fengine-differences","Engine differences",{"title":3038,"icon":3039,"intro":3040,"items":3041},"Statistics","statistics","Hypothesis tests on every engine and statistical models on Kubernetes: regression, survival, time series, experiments, customer lifetime and forecasting, each with a report that explains its method.",[3042,3043,3046,3047,3048,3050],{"path":2878,"title":2879},{"path":3044,"title":3045},"\u002Fdocs\u002Fcapabilities\u002Fstatistics","Hypothesis tests",{"path":2871,"title":2872},{"path":2942,"title":5},{"path":2298,"title":3049},"MLflow connections",{"path":2859,"title":3051},"Licences of the components",{"title":3053,"icon":3054,"intro":3055,"items":3056},"Sources","sources","Every way data comes in: files, databases, buckets, SFTP folders, HTTP APIs, SharePoint, Google Sheets, and the results of your own flows.",[3057,3060,3063,3066,3069,3072,3075,3078],{"path":3058,"title":3059},"\u002Fdocs\u002Fsources","All sources",{"path":3061,"title":3062},"\u002Fdocs\u002Fsources\u002Ffiles","Uploaded files",{"path":3064,"title":3065},"\u002Fdocs\u002Fsources\u002Fdatabases","Database tables and queries",{"path":3067,"title":3068},"\u002Fdocs\u002Fs3-datasource","S3 buckets",{"path":3070,"title":3071},"\u002Fdocs\u002Fapi-datasource","HTTP APIs",{"path":3073,"title":3074},"\u002Fdocs\u002Fsources\u002Fsharepoint","Excel on SharePoint",{"path":3076,"title":3077},"\u002Fdocs\u002Fsources\u002Fgoogle-sheets","Google Sheets",{"path":3079,"title":3080},"\u002Fdocs\u002Fsources\u002Fflow-outputs","Results of flows and scripts",{"title":3082,"icon":3083,"intro":3084,"items":3085},"Connections","connections","The systems Tabularia reads from and writes to, how each connection is set up, and who may use it.",[3086,3089,3092,3095,3098,3101,3104,3107],{"path":3087,"title":3088},"\u002Fdocs\u002Fconnections","All connections",{"path":3090,"title":3091},"\u002Fdocs\u002Fconnections\u002Fdatabases","Databases",{"path":3093,"title":3094},"\u002Fdocs\u002Fsqlserver","Microsoft SQL Server driver",{"path":3096,"title":3097},"\u002Fdocs\u002Fconnections\u002Fs3","S3 and compatible storage",{"path":3099,"title":3100},"\u002Fdocs\u002Fsftp","SFTP: files in and out",{"path":3102,"title":3103},"\u002Fdocs\u002Fconnections\u002Fsmtp","SMTP email",{"path":3105,"title":3106},"\u002Fdocs\u002Fcontainer-registries","Container registries",{"path":3108,"title":3109},"\u002Fdocs\u002Fconnections\u002Fdestinations","Writing data out",{"title":3111,"icon":3112,"intro":3113,"items":3114},"Integrations","integrations","How Tabularia fits your stack: AI providers, the REST API and webhooks, dbt, OpenLineage, single sign-on, SIEM and monitoring.",[3115,3118,3120,3123,3126,3129,3132,3135,3138],{"path":3116,"title":3117},"\u002Fdocs\u002Fintegrations","All integrations",{"path":2376,"title":3119},"AI: where it is used",{"path":3121,"title":3122},"\u002Fdocs\u002Fapi","API, tokens and webhooks",{"path":3124,"title":3125},"\u002Fdocs\u002Fintegrations\u002Fmcp","MCP: agents outside Tabularia",{"path":3127,"title":3128},"\u002Fdocs\u002Fdbt-export","Export to dbt",{"path":3130,"title":3131},"\u002Fdocs\u002Fopenlineage","OpenLineage",{"path":3133,"title":3134},"\u002Fdocs\u002Fsso-keycloak","Single sign-on with Keycloak",{"path":3136,"title":3137},"\u002Fdocs\u002Fsiem-splunk","Audit log to Splunk",{"path":3139,"title":3140},"\u002Fdocs\u002Fintegrations\u002Fmonitoring","Monitoring",{"title":3142,"icon":3143,"intro":3144,"items":3145},"Security & governance","governance","Who may see and do what, what is recorded, and how data quality and personal data are kept in check.",[3146,3149,3152,3154,3157,3160,3163],{"path":3147,"title":3148},"\u002Fdocs\u002Fgovernance","Overview",{"path":3150,"title":3151},"\u002Fdocs\u002Fgovernance\u002Fpermissions","Permissions",{"path":2793,"title":3153},"Audit log",{"path":3155,"title":3156},"\u002Fdocs\u002Fgovernance\u002Fdata-contracts","Data contracts",{"path":3158,"title":3159},"\u002Fdocs\u002Fdesign\u002Fsso-group-mapping","SSO and group mapping",{"path":3161,"title":3162},"\u002Fdocs\u002Fexamples\u002Fkeycloak","Keycloak example on a laptop",{"path":3164,"title":3165},"\u002Fdocs\u002Fengines\u002Fclickhouse-ai-user","A ClickHouse user for the AI assistant",{"title":3167,"icon":3168,"intro":3169,"items":3170},"Install & operate","operate","Run it in production on Kubernetes, configure it, upgrade it and keep it healthy.",[3171,3174,3177,3180,3183,3186,3189],{"path":3172,"title":3173},"\u002Fdocs\u002Fdeploy\u002Fkubernetes","Kubernetes and Helm",{"path":3175,"title":3176},"\u002Fdocs\u002Fdeploy\u002Fkind","A company-like cluster on one computer (kind)",{"path":3178,"title":3179},"\u002Fdocs\u002Fdeploy\u002Fupgrading","Upgrading, backups and restore",{"path":3181,"title":3182},"\u002Fdocs\u002Fdeploy\u002Frelease-checklist","Install and upgrade checklist",{"path":3184,"title":3185},"\u002Fdocs\u002Fconfiguration","Configuration reference",{"path":3187,"title":3188},"\u002Fdocs\u002Fengine-settings","Settings from the panel",{"path":3190,"title":3191},"\u002Fdocs\u002Fdatabase-migrations","Database migrations",{"title":3193,"icon":3194,"intro":3195,"items":3196},"Reference","reference","Release process and the remaining reference pages.",[3197,3200,3203],{"path":3198,"title":3199},"\u002Fdocs\u002Flts","Long-term support",{"path":3201,"title":3202},"\u002Fdocs\u002Frelease-process","Release process",{"path":3204,"title":3205},"\u002Fdocs\u002Fcontributing\u002Fadding-a-node","Adding a node to the flow editor",1795854763121]