Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Data Analysis with STATA
  • Table Of Contents Toc
Data Analysis with STATA

Data Analysis with STATA

By : Prasad Kothari
2.2 (5)
close
close
Data Analysis with STATA

Data Analysis with STATA

2.2 (5)
By: Prasad Kothari

Overview of this book

STATA is an integrated software package that provides you with everything you need for data analysis, data management, and graphics. STATA also provides you with a platform to efficiently perform simulation, regression analysis (linear and multiple) [and custom programming. This book covers data management, graphs visualization, and programming in STATA. Starting with an introduction to STATA and data analytics you’ll move on to STATA programming and data management. Next, the book takes you through data visualization and all the important statistical tests in STATA. Linear and logistic regression in STATA is also covered. As you progress through the book, you will explore a few analyses, including the survey analysis, time series analysis, and survival analysis in STATA. You’ll also discover different types of statistical modelling techniques and learn how to implement these techniques in STATA.
Table of Contents (11 chapters)
close
close
10
Index

T tests

Let's start with t tests. A sample t test gives you a leverage point to check whether the sample mean that can have a normally distributed variable has a significant difference from the hypothesis value. For example, you need to test whether the fridge sales average is significantly different from 10000. Here is the command to run the t test:

ttest fridge_sales = 10000

This command checks whether the mean or average of fridge_sales differs significantly from 10000. Here is the exact formula for a sample t test:

T tests

Here are the results of One-sample t test as per the command that's run in Stata:

T tests

This result shows that there is a statistically significant difference between the mean values of fridge_sales and 10000. Let's see whether you have more than one group to compare the means. In this case, you can use two independent sample t-tests.

Two independent sample t tests

Independent samples' t tests are utilized when we need to compare and check the averages of a variable...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Data Analysis with STATA
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon