View source: R/test-script-2025-01-20.r
| sd_test | R Documentation |
Runs the test of stochastic dominance given two vectors of surrogate values.
sd_test(s0, s1, alpha = 0.05)
s0 |
Vector of surrogate values in control group. |
s1 |
Vector of surrogate values in treatment group. |
alpha |
Desired alpha level of hypothesis test. |
s_hat |
Value of test statistic |
p.value |
p-value of test |
reject |
Rejection decision of test |
Emily Hsiao
Barrett, Garry F., and Stephen G. Donald. "Consistent tests for stochastic dominance." Econometrica 71.1 (2003): 71-104.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.