A Practical Guide to Empirical Analysis
Naguib Lallmahomed ยท naglal@linux-mauritius.com ยท 2026-06-14
Upon completing this chapter, you will be able to:
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.
MORISTAT provides the SUMMARY command to compute descriptive statistics:
MORISTAT> LOAD wage_data.csv
MORISTAT> SUMMARY
The CORR command displays the correlation matrix:
MORISTAT> CORR
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
Random Variable Expected Value Variance Standard Deviation Correlation Normal Distribution t-Distribution Null Hypothesis (Hโ) p-value Confidence Interval
In Chapter 3, we introduce the Simple Linear Regression Model.
๐ Ready to connect with MORISTAT?