๐Ÿ“š Introductory Econometrics with MORISTAT

A Practical Guide to Empirical Analysis

Naguib Lallmahomed ยท naglal@linux-mauritius.com ยท 2026-06-14


Chapter 2: Review of Statistics and Probability

๐ŸŽฏ Learning Objectives

Upon completing this chapter, you will be able to:

2.1 Random Variables and Probability Distributions

A random variable is a variable whose value is determined by the outcome of a random phenomenon.

Example: Calculating Expected Value

Suppose a stock has returns: 10% with probability 0.6, and -5% with probability 0.4.

E[R] = 0.10 ร— 0.6 + (โˆ’0.05) ร— 0.4 = 0.06 โˆ’ 0.02 = 0.04 = 4%

2.2 Summary Statistics with MORISTAT

2.2.1 The SUMMARY Command

MORISTAT provides the SUMMARY command to compute descriptive statistics:

MORISTAT> LOAD wage_data.csv
MORISTAT> SUMMARY

2.2.2 The CORR Command

The CORR command displays the correlation matrix:

MORISTAT> CORR

2.3 Hypothesis Testing

2.3.1 The Five Steps of Hypothesis Testing

  1. State the hypotheses (Hโ‚€ and Hโ‚)
  2. Choose the significance level (ฮฑ)
  3. Calculate the test statistic
  4. Find the p-value
  5. Make a conclusion

2.4 Practice Lab

In this lab, you will explore the wage_data.csv dataset:

# Step 1: Load the data
LOAD wage_data.csv

# Step 2: Examine the data
LIST
SUMMARY

# Step 3: Correlation
CORR

2.5 Key Terms

Random Variable Expected Value Variance Standard Deviation Correlation Normal Distribution t-Distribution Null Hypothesis (Hโ‚€) p-value Confidence Interval

2.6 What's Next?

In Chapter 3, we introduce the Simple Linear Regression Model.

โ†’ Proceed to Chapter 3

๐Ÿ”„ Ready to connect with MORISTAT?