## How to use Scalar and Matrix in Stata

This article goes over what scalars and matrices are and how to work with them in Stata. To illustrate the concepts, we will use Stata’s built in automobile dataset which can be loaded by using the following command: Download Example File sysuse auto.dta, clear What Are Scalars and Matrices Scalars can be defined as placeholders …