# -*- coding: utf-8 -*-
"""
Created on Tue Jan  4 13:47:54 2022

@author: Sim
"""

import twovars

tvs1 = twovars.VarRatio(15, 10, 10, 10)

F1, p1 = tvs1.test_var_2samp()
print('Two-sided test: ', F1, p1)
F2, p2 = tvs1.test_var_2samp(alternative='greater')
print('One-sided(>) test: ', F2, p2)

lbd1, ubd1 = tvs1.ci_var_2samp()
print('95% CI:', lbd1, ubd1)
print('99% CI:', tvs1.ci_var_2samp(level=99))
