# NOT RUN {
# lower tail
infer_ts_paired_ttest(hsb, read, write, alternative = 'less')
# upper tail
infer_ts_paired_ttest(hsb, read, write, alternative = 'greater')
# both tails
infer_ts_paired_ttest(hsb, read, write, alternative = 'both')
# all tails
infer_ts_paired_ttest(hsb, read, write, alternative = 'all')
# }
Run the code above in your browser using DataLab