Description Usage Arguments Details Value Note Examples
Function to run binomial test against columns in Teradata.
1 | td.binomial(tdf, first, second, thresh = 0.05)
|
tdf |
td data frame. |
first |
first column name. |
second |
second column name. |
thresh |
threshold value. Defaults to 0.05. |
The data for a binomial test is assumed to come from n independent trials, and have outcomes in either of two classes. The other assumption is that the probability of each outcome of each trial is the same, designated p. The values of the outcome could come directly from the data, where the value is always one of two kinds.
data frame with one row of binomial results.
Several statistical functions like this one use the Teradata Warehouse Miner statistical tables and they need to be installed to use this function. You can also set up tdMetadataDB once you know where they are installed otherwise they will be searched for.
1 2 3 4 | ## Not run:
td.binomial(tdf, "income", "age")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.