Inference Library Reference
Inference Library Reference#
Click on any row to see detailed examples.
Library Sections
Sampling and Simulation
| Name | Description | Parameters | Output | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
array : each item corresponds to the proportion of times that corresponding item was sampled from model_proportions in sample_size draws, should sum to 1 |
|||||||||||||
|
||||||||||||||||
|
Simulates the outcome of |
|
An array of the simulated outcomes. |
|||||||||||||
|
||||||||||||||||
|
Simulates the process of computing a statistic for random samples. |
|
An array of the simulated statistics. |
|||||||||||||
|
||||||||||||||||
Hypothesis Testing
| Name | Description | Parameters | Output | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Computes the proportion of values in |
|
A proportion. |
|||||||||||||
|
||||||||||||||||
Permutation Tests
| Name | Description | Parameters | Output | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Returns the given table augmented with a new column |
|
A new Table. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Takes a table, the label of the column used to divide rows into two groups, and the label of the column storing the values for each row. Returns: the absolute difference of means for the two groups. Note: If the values are all 0 or 1, then the result can be interpreted as the difference in the proportion of 1 for the two groups. |
|
A new Table. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Simulates |
|
An array of the simulated statistics. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||