There are three types of ttest i.e one sample ttest, independent sample ttest, and paired sample ttest. This video explains all these three types of t-tests.
Download exercise file:
https://payhip.com/b/7NhcP
00:00 Intro to t-test
0:57 Types of t-test
2:00 One sample t-test
7:27 Independent sample ttest
12:00 Two-sample using variables
14:43 Paired sample ttest
18:06 Standard deviation test sdtest
18:55 Test proportion prtest
Download Do/Data file from the following link:
https://thedatahall.com/using-differe...
Best 10 Introductory Econometrics Books
https://thedatahall.com/best-10-intro...
Data Management Using Stata: A Practical Handbook by Michael N. Mitchell
https://amzn.to/3HEULlc
A Gentle Introduction to Stata, by Alan C. Acock
https://amzn.to/3HBgdY4
https://amzn.to/3LWOALz (paperback)
A Visual Guide to Stata Graphics, by Michael N. Mitchell
https://amzn.to/42qLpkG
Regression Models for Categorical Dependent Variables Using Stata, by J. Scott Long and Jeremy Freese
https://amzn.to/3NDoFtC
Website: thedatahall.com
Disclaimer: Some links are affiliate links that help the channel at no cost to you.