Content
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<!-- Generated by statdoc (version v0.9.1-beta.snapshot) on 2015-02-23 10:45:56 -->
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<title>efn508</title>
<meta name="date" content="2015-02-23">
<script src="../d3.min.js"></script>
<script src="../statdoc.js"></script>
</head>
<body>
<!-- ========= START OF TOP NAVBAR ========= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li ><a href="../overview/overview-summary.html" target="classFrame">Overview</a></li>
<li ><a href="../variables/variables-summary.html" target="classFrame">Variables</a></li>
<li ><a href="../files/files-summary.html" target="classFrame">Files</a></li>
<li class="navBarCell1Rev"><a href="../tokens/tokens-summary.html" target="classFrame">Tokens</a></li>
<!-- <li><a href="../flows/flow-summary.html" target="classFrame">Flows</a></li> -->
<li ><a href="../overview/help-doc.html" target="classFrame">Help</a></li>
<!-- <li class="navBarCell1Rev">Active</li> -->
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>
<a href="../tokens/u.html" title="u">Prev</a>
</li>
<li>
<a href="../tokens/w.html" title="w">Next</a>
</li>
</ul>
<ul class="navList">
<li><a href="../compare.html?tokens/v.html" target="_top">Compare</a></li>
<li><a href="../index.html?tokens/v.html" target="_top">Frames</a></li>
<li><a href="../tokens/v.html" target="_top">No Frames</a></li>
</ul>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= --><!-- ======== START OF TOKEN DATE ======== -->
<div class="header">
<div class="subTitle">Statdoc efn508</div>
<h2 title="Statdoc Token v" class="title">Token List for v</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre><span class="strong">Tokens starting with v</span>
</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="variable"><!-- --></a>
<h3>variable</h3>
<a name="cmd:manipulate"><!-- --></a>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Variable Summary table, listing datasets and labels">
<caption ><span><a name="variables"><!-- --></a>cmd:manipulate</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" style="width:30px" scope="col">file</th>
<th class="colOne" style="width:30px" scope="col">#</th>
<th class="colLast" width="100%" scope="col">command</th>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffe2c3;"><a name="102" title="rename"><!-- --></a>
<span style="white-space: nowrap; background: #ffe2c3;">
<a href="../files/_StataProgramFiles_Section 4.do.html" title="/StataProgramFiles/Section 4.do" target="classFrame" >/StataProgramFiles/Section 4.do</a><b>:</b>
</span>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffffff;">
<a href="../files/_StataProgramFiles_Section 4.do.html#102" title="/StataProgramFiles/Section 4.do:102 (rename)" target="classFrame" >102</a> <a onclick='toggle("line__-390671400");' title="rename">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">rename</span>
<span class="cmdparameters"><a href="../files/_StataProgramFiles_Section 4.do.html#102">NWIFEINC</a> <a href="../tokens/n.html#nwifinc">nwifinc</a> // <a href="../files/_StataProgramFiles_Section 4.do.html#102">Note</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">this</a> <a href="../tokens/v.html#variable">variable</a> <a href="../tokens/i.html#is">is</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">scaled</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">differently</a> <a href="../tokens/f.html#from">from</a> <a href="../tokens/t.html#the">the</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">definition</a></span>
in <span class="cmdin"><a href="../files/_StataProgramFiles_Section 4.do.html#102">part</a> 3. <a href="../files/_StataProgramFiles_Section 4.do.html#102">But</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">we</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">shall</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">use</a> <a href="../tokens/t.html#the">the</a> <a href="../tokens/v.html#variable">variable</a> <a href="../tokens/a.html#as">as</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">given</a>.</span>
<div id="line__-390671400" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">*rename MOTHEDUC motheduc
*rename MTR mtr
rename NWIFEINC nwifinc // Note this variable is scaled differently from the definition in part 3. But we shall use the variable as given.</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst">command</td>
<td class="colLast">rename</td>
</tr>
<tr class="rowColor">
<td class="colFirst">in</td>
<td class="colLast"><a href="../files/_StataProgramFiles_Section 4.do.html#102">part</a> 3. <a href="../files/_StataProgramFiles_Section 4.do.html#102">But</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">we</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">shall</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">use</a> <a href="../tokens/t.html#the">the</a> <a href="../tokens/v.html#variable">variable</a> <a href="../tokens/a.html#as">as</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">given</a>.</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../files/_StataProgramFiles_Section 4.do.html#102">NWIFEINC</a> <a href="../tokens/n.html#nwifinc">nwifinc</a> // <a href="../files/_StataProgramFiles_Section 4.do.html#102">Note</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">this</a> <a href="../tokens/v.html#variable">variable</a> <a href="../tokens/i.html#is">is</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">scaled</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">differently</a> <a href="../tokens/f.html#from">from</a> <a href="../tokens/t.html#the">the</a> <a href="../files/_StataProgramFiles_Section 4.do.html#102">definition</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
<a name="cmd:other"><!-- --></a>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Variable Summary table, listing datasets and labels">
<caption ><span><a name="variables"><!-- --></a>cmd:other</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" style="width:30px" scope="col">file</th>
<th class="colOne" style="width:30px" scope="col">#</th>
<th class="colLast" width="100%" scope="col">command</th>
</tr>
<tr class="rowColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffd6ae;"><a name="120" title="g"><!-- --></a>
<span style="white-space: nowrap; background: #ffd6ae;">
<a href="../files/_StataProgramFiles_Section 2.do.html" title="/StataProgramFiles/Section 2.do" target="classFrame" >/StataProgramFiles/Section 2.do</a><b>:</b>
</span>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffcccc;">
<a href="../files/_StataProgramFiles_Section 2.do.html#120" title="/StataProgramFiles/Section 2.do:120 (g)" target="classFrame" >120</a> <a onclick='toggle("line__-1025631510");' title="g">[+]</a>
</td>
<td class="colLast">
<span class="cmdprefix"><a href="../tokens/q.html#qui">qui</a></span>
<span class="cmdcommand">g</span>
<span class="cmdparameters"> <a href="../tokens/d.html#dum">dum</a> = (1992<=<a href="../tokens/d.html#dates">dates</a> & <a href="../tokens/d.html#dates">dates</a><=1994) // <a href="../tokens/t.html#This">This</a> <a href="../files/_StataProgramFiles_Section 2.do.html#120">creates</a> a <a href="../files/_StataProgramFiles_Section 2.do.html#120">dummy</a> <a href="../tokens/v.html#variable">variable</a> <a href="../tokens/f.html#for">for</a> 1992 < <a href="../tokens/d.html#dates">dates</a> < 1994</span>
<div id="line__-1025631510" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 3. Estimate inflation model with structural break
qui g dum = (1992<=dates & dates<=1994) // This creates a dummy variable for 1992 < dates < 1994</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst">command</td>
<td class="colLast">g</td>
</tr>
<tr class="rowColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"> <a href="../tokens/d.html#dum">dum</a> = (1992<=<a href="../tokens/d.html#dates">dates</a> & <a href="../tokens/d.html#dates">dates</a><=1994) // <a href="../tokens/t.html#This">This</a> <a href="../files/_StataProgramFiles_Section 2.do.html#120">creates</a> a <a href="../files/_StataProgramFiles_Section 2.do.html#120">dummy</a> <a href="../tokens/v.html#variable">variable</a> <a href="../tokens/f.html#for">for</a> 1992 < <a href="../tokens/d.html#dates">dates</a> < 1994</td>
</tr>
<tr class="rowColor">
<td class="colFirst">prefix</td>
<td class="colLast"><a href="../tokens/q.html#qui">qui</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffd8ab;"><a name="51" title="g"><!-- --></a>
<span style="white-space: nowrap; background: #ffd8ab;">
<a href="../files/_StataProgramFiles_Section 3.do.html" title="/StataProgramFiles/Section 3.do" target="classFrame" >/StataProgramFiles/Section 3.do</a><b>:</b>
</span>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffcccc;">
<a href="../files/_StataProgramFiles_Section 3.do.html#51" title="/StataProgramFiles/Section 3.do:51 (g)" target="classFrame" >51</a> <a onclick='toggle("line__-1114779072");' title="g">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">g</span>
<span class="cmdparameters"><a href="../tokens/l.html#lkwh">lkwh</a> = <a href="../tokens/l.html#log">log(</a><a href="../files/_StataProgramFiles_Section 3.do.html#51">reskwh</a>/<a href="../files/_StataProgramFiles_Section 3.do.html#51">nocust</a>) // <a href="../tokens/t.html#The">The</a> <a href="../files/_StataProgramFiles_Section 3.do.html#51">dependent</a> <a href="../tokens/v.html#variable">variable</a></span>
<div id="line__-1114779072" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// Generate required variables
g lkwh = log(reskwh/nocust) // The dependent variable</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst">command</td>
<td class="colLast">g</td>
</tr>
<tr class="rowColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/l.html#lkwh">lkwh</a> = <a href="../tokens/l.html#log">log(</a><a href="../files/_StataProgramFiles_Section 3.do.html#51">reskwh</a>/<a href="../files/_StataProgramFiles_Section 3.do.html#51">nocust</a>) // <a href="../tokens/t.html#The">The</a> <a href="../files/_StataProgramFiles_Section 3.do.html#51">dependent</a> <a href="../tokens/v.html#variable">variable</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="variance"><!-- --></a>
<h3>variance</h3>
<a name="cmd:manipulate"><!-- --></a>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Variable Summary table, listing datasets and labels">
<caption ><span><a name="variables"><!-- --></a>cmd:manipulate</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" style="width:30px" scope="col">file</th>
<th class="colOne" style="width:30px" scope="col">#</th>
<th class="colLast" width="100%" scope="col">command</th>
</tr>
<tr class="rowColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffe7b5;"><a name="97" title="predict"><!-- --></a>
<span style="white-space: nowrap; background: #ffe7b5;">
<a href="../files/_StataProgramFiles_Section 6.do.html" title="/StataProgramFiles/Section 6.do" target="classFrame" >/StataProgramFiles/Section 6.do</a><b>:</b>
</span>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffffff;">
<a href="../files/_StataProgramFiles_Section 6.do.html#97" title="/StataProgramFiles/Section 6.do:97 (predict)" target="classFrame" >97</a> <a onclick='toggle("line__413742072");' title="predict">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">predict</span>
<span class="cmdparameters"><a href="../tokens/h.html#hbp">hbp</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#variance">variance</a> // <a href="../tokens/f.html#For">For</a> <a href="../tokens/q.html#question">question</a> 4.</span>
<div id="line__413742072" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">predict hbp, variance // For question 4.</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">predict</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#variance">variance</a> // <a href="../tokens/f.html#For">For</a> <a href="../tokens/q.html#question">question</a> 4.</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/h.html#hbp">hbp</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffe7b5;"><a name="99" title="predict"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffffff;">
<a href="../files/_StataProgramFiles_Section 6.do.html#99" title="/StataProgramFiles/Section 6.do:99 (predict)" target="classFrame" >99</a> <a onclick='toggle("line__619059825");' title="predict">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">predict</span>
<span class="cmdparameters"><a href="../tokens/h.html#hdm">hdm</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#variance">variance</a> // <a href="../tokens/f.html#For">For</a> <a href="../tokens/q.html#question">question</a> 4.</span>
<div id="line__619059825" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">predict hdm, variance // For question 4.</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">predict</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#variance">variance</a> // <a href="../tokens/f.html#For">For</a> <a href="../tokens/q.html#question">question</a> 4.</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/h.html#hdm">hdm</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffe7b5;"><a name="165" title="predict"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffffff;">
<a href="../files/_StataProgramFiles_Section 6.do.html#165" title="/StataProgramFiles/Section 6.do:165 (predict)" target="classFrame" >165</a> <a onclick='toggle("line__1516577089");' title="predict">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">predict</span>
<span class="cmdparameters"><a href="../tokens/h.html#hftse">hftse</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#variance">variance</a></span>
<div id="line__1516577089" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">predict hftse, variance</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">predict</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#variance">variance</a></td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/h.html#hftse">hftse</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffe7b5;"><a name="169" title="predict"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffffff;">
<a href="../files/_StataProgramFiles_Section 6.do.html#169" title="/StataProgramFiles/Section 6.do:169 (predict)" target="classFrame" >169</a> <a onclick='toggle("line__-1490384559");' title="predict">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">predict</span>
<span class="cmdparameters"><a href="../tokens/h.html#hdow">hdow</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#variance">variance</a></span>
<div id="line__-1490384559" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">predict hdow, variance</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">predict</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#variance">variance</a></td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/h.html#hdow">hdow</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffe7b5;"><a name="173" title="predict"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffffff;">
<a href="../files/_StataProgramFiles_Section 6.do.html#173" title="/StataProgramFiles/Section 6.do:173 (predict)" target="classFrame" >173</a> <a onclick='toggle("line__-1735002026");' title="predict">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">predict</span>
<span class="cmdparameters"><a href="../tokens/h.html#hnk">hnk</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#variance">variance</a></span>
<div id="line__-1735002026" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">predict hnk, variance</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">predict</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#variance">variance</a></td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/h.html#hnk">hnk</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffe7b5;"><a name="200" title="predict"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffffff;">
<a href="../files/_StataProgramFiles_Section 6.do.html#200" title="/StataProgramFiles/Section 6.do:200 (predict)" target="classFrame" >200</a> <a onclick='toggle("line__-2043089054");' title="predict">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">predict</span>
<span class="cmdparameters"><a href="../tokens/h.html#hrets">hrets</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#variance">variance</a></span>
<div id="line__-2043089054" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">predict hrets, variance</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">predict</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#variance">variance</a></td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/h.html#hrets">hrets</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="vce"><!-- --></a>
<h3>vce</h3>
<a name="cmd:estcmd"><!-- --></a>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Variable Summary table, listing datasets and labels">
<caption ><span><a name="variables"><!-- --></a>cmd:estcmd</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" style="width:30px" scope="col">file</th>
<th class="colOne" style="width:30px" scope="col">#</th>
<th class="colLast" width="100%" scope="col">command</th>
</tr>
<tr class="rowColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffd8ab;"><a name="143" title="reg"><!-- --></a>
<span style="white-space: nowrap; background: #ffd8ab;">
<a href="../files/_StataProgramFiles_Section 3.do.html" title="/StataProgramFiles/Section 3.do" target="classFrame" >/StataProgramFiles/Section 3.do</a><b>:</b>
</span>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #FFCC99;">
<a href="../files/_StataProgramFiles_Section 3.do.html#143" title="/StataProgramFiles/Section 3.do:143 (reg)" target="classFrame" >143</a> <a onclick='toggle("line__-942233867");' title="reg">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">reg</span>
<span class="cmdparameters"><a href="../variables/food_exp.html">food_exp</a> <a href="../variables/income.html">income</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/r.html#robust">robust</a>)</span>
<div id="line__-942233867" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 2. Corrected standard errors
reg food_exp income, vce(robust)</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">reg</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/r.html#robust">robust</a>)</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../variables/food_exp.html">food_exp</a> <a href="../variables/income.html">income</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffe2c8;"><a name="144" title="reg"><!-- --></a>
<span style="white-space: nowrap; background: #ffe2c8;">
<a href="../files/_StataProgramFiles_Section 7.do.html" title="/StataProgramFiles/Section 7.do" target="classFrame" >/StataProgramFiles/Section 7.do</a><b>:</b>
</span>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #FFCC99;">
<a href="../files/_StataProgramFiles_Section 7.do.html#144" title="/StataProgramFiles/Section 7.do:144 (reg)" target="classFrame" >144</a> <a onclick='toggle("line__923465046");' title="reg">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">reg</span>
<span class="cmdparameters"><a href="../tokens/a.html#adjust">adjust</a> <a href="../tokens/f.html#fixrate">fixrate</a> <a href="../tokens/m.html#margin">margin</a> <a href="../tokens/y.html#yield">yield</a> <a href="../tokens/n.html#networth">networth</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/r.html#robust">robust</a>) // <a href="../files/_StataProgramFiles_Section 7.do.html#144">corrected</a> <a href="../tokens/f.html#for">for</a> <a href="../tokens/h.html#heteroskedasticity">heteroskedasticity</a></span>
<div id="line__923465046" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 1. Estimate linear probability model
reg adjust fixrate margin yield networth, vce(robust) // corrected for heteroskedasticity</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">reg</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/r.html#robust">robust</a>) // <a href="../files/_StataProgramFiles_Section 7.do.html#144">corrected</a> <a href="../tokens/f.html#for">for</a> <a href="../tokens/h.html#heteroskedasticity">heteroskedasticity</a></td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/a.html#adjust">adjust</a> <a href="../tokens/f.html#fixrate">fixrate</a> <a href="../tokens/m.html#margin">margin</a> <a href="../tokens/y.html#yield">yield</a> <a href="../tokens/n.html#networth">networth</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffcd9f;"><a name="74" title="reg"><!-- --></a>
<span style="white-space: nowrap; background: #ffcd9f;">
<a href="../files/_StataProgramFiles_Section 8.do.html" title="/StataProgramFiles/Section 8.do" target="classFrame" >/StataProgramFiles/Section 8.do</a><b>:</b>
</span>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #FFCC99;">
<a href="../files/_StataProgramFiles_Section 8.do.html#74" title="/StataProgramFiles/Section 8.do:74 (reg)" target="classFrame" >74</a> <a onclick='toggle("line__-1310187126");' title="reg">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">reg</span>
<span class="cmdparameters"><a href="../tokens/l.html#lwage">lwage</a> <a href="../tokens/e.html#educ">educ</a> <a href="../tokens/e.html#exper">exper</a> <a href="../tokens/e.html#exper2">exper2</a> <a href="../tokens/t.html#tenure">tenure</a> <a href="../tokens/t.html#tenure2">tenure2</a> <a href="../tokens/b.html#black">black</a> <a href="../tokens/s.html#south">south</a> <a href="../tokens/u.html#union">union</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/c.html#cluster">cluster</a> <a href="../tokens/i.html#id">id</a>)</span>
<div id="line__-1310187126" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 3. Cluster robust standard errors
reg lwage educ exper exper2 tenure tenure2 black south union, vce(cluster id)</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">reg</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/c.html#cluster">cluster</a> <a href="../tokens/i.html#id">id</a>)</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/l.html#lwage">lwage</a> <a href="../tokens/e.html#educ">educ</a> <a href="../tokens/e.html#exper">exper</a> <a href="../tokens/e.html#exper2">exper2</a> <a href="../tokens/t.html#tenure">tenure</a> <a href="../tokens/t.html#tenure2">tenure2</a> <a href="../tokens/b.html#black">black</a> <a href="../tokens/s.html#south">south</a> <a href="../tokens/u.html#union">union</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffcd9f;"><a name="91" title="xtreg"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #FFCC99;">
<a href="../files/_StataProgramFiles_Section 8.do.html#91" title="/StataProgramFiles/Section 8.do:91 (xtreg)" target="classFrame" >91</a> <a onclick='toggle("line__1997134045");' title="xtreg">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">xtreg</span>
<span class="cmdparameters"><a href="../tokens/l.html#lwage">lwage</a> <a href="../tokens/e.html#exper">exper</a> <a href="../tokens/e.html#exper2">exper2</a> <a href="../tokens/t.html#tenure">tenure</a> <a href="../tokens/t.html#tenure2">tenure2</a> <a href="../tokens/s.html#south">south</a> <a href="../tokens/u.html#union">union</a></span>
, <span class="cmdoptions"> <a href="../tokens/f.html#fe">fe</a> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/c.html#cluster">cluster</a> <a href="../tokens/i.html#id">id</a>)</span>
<div id="line__1997134045" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 6. Fixed effects with cluster robust s.e.
xtreg lwage exper exper2 tenure tenure2 south union, fe vce(cluster id)</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">xtreg</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/f.html#fe">fe</a> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/c.html#cluster">cluster</a> <a href="../tokens/i.html#id">id</a>)</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/l.html#lwage">lwage</a> <a href="../tokens/e.html#exper">exper</a> <a href="../tokens/e.html#exper2">exper2</a> <a href="../tokens/t.html#tenure">tenure</a> <a href="../tokens/t.html#tenure2">tenure2</a> <a href="../tokens/s.html#south">south</a> <a href="../tokens/u.html#union">union</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffcd9f;"><a name="131" title="reg"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #FFCC99;">
<a href="../files/_StataProgramFiles_Section 8.do.html#131" title="/StataProgramFiles/Section 8.do:131 (reg)" target="classFrame" >131</a> <a onclick='toggle("line__-865238826");' title="reg">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">reg</span>
<span class="cmdparameters">l x</span>
, <span class="cmdoptions"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/c.html#cluster">cluster</a> <a href="../tokens/h.html#hh">hh</a>)</span>
<div id="line__-865238826" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 2.. Cluster robust s.e.
// (a) Pooled data
reg l x, vce(cluster hh)</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">reg</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/c.html#cluster">cluster</a> <a href="../tokens/h.html#hh">hh</a>)</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast">l x</td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffcd9f;"><a name="135" title="reg"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #FFCC99;">
<a href="../files/_StataProgramFiles_Section 8.do.html#135" title="/StataProgramFiles/Section 8.do:135 (reg)" target="classFrame" >135</a> <a onclick='toggle("line__-665114627");' title="reg">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">reg</span>
<span class="cmdparameters">l x i.<a href="../tokens/h.html#hh">hh</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/c.html#cluster">cluster</a> <a href="../tokens/h.html#hh">hh</a>)</span>
<div id="line__-665114627" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// (b) Dummy
reg l x i.hh, vce(cluster hh)</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">reg</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/c.html#cluster">cluster</a> <a href="../tokens/h.html#hh">hh</a>)</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast">l x i.<a href="../tokens/h.html#hh">hh</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffcd9f;"><a name="139" title="xtreg"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #FFCC99;">
<a href="../files/_StataProgramFiles_Section 8.do.html#139" title="/StataProgramFiles/Section 8.do:139 (xtreg)" target="classFrame" >139</a> <a onclick='toggle("line__-444108961");' title="xtreg">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">xtreg</span>
<span class="cmdparameters">l x</span>
, <span class="cmdoptions"> <a href="../tokens/f.html#fe">fe</a> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/c.html#cluster">cluster</a> <a href="../tokens/h.html#hh">hh</a>)</span>
<div id="line__-444108961" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// (c)FE
xtreg l x, fe vce(cluster hh)</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">xtreg</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/f.html#fe">fe</a> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/c.html#cluster">cluster</a> <a href="../tokens/h.html#hh">hh</a>)</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast">l x</td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
<a name="cmd:other"><!-- --></a>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Variable Summary table, listing datasets and labels">
<caption ><span><a name="variables"><!-- --></a>cmd:other</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" style="width:30px" scope="col">file</th>
<th class="colOne" style="width:30px" scope="col">#</th>
<th class="colLast" width="100%" scope="col">command</th>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffe2c3;"><a name="243" title="ivregress"><!-- --></a>
<span style="white-space: nowrap; background: #ffe2c3;">
<a href="../files/_StataProgramFiles_Section 4.do.html" title="/StataProgramFiles/Section 4.do" target="classFrame" >/StataProgramFiles/Section 4.do</a><b>:</b>
</span>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffcccc;">
<a href="../files/_StataProgramFiles_Section 4.do.html#243" title="/StataProgramFiles/Section 4.do:243 (ivregress)" target="classFrame" >243</a> <a onclick='toggle("line__-189184652");' title="ivregress">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">ivregress</span>
<span class="cmdparameters"><a href="../tokens/2.html#2sls">2sls</a> <a href="../tokens/l.html#lwage">lwage</a> (<a href="../tokens/e.html#educ">educ</a>=<a href="../tokens/s.html#sibs">sibs</a>) <a href="../tokens/e.html#exper">exper</a> <a href="../tokens/t.html#tenure">tenure</a> <a href="../tokens/b.html#black">black</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/r.html#robust">robust</a>) <a href="../tokens/s.html#small">small</a></span>
<div id="line__-189184652" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 1. Estimate by IV
ivregress 2sls lwage (educ=sibs) exper tenure black, vce(robust) small</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">ivregress</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/r.html#robust">robust</a>) <a href="../tokens/s.html#small">small</a></td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/2.html#2sls">2sls</a> <a href="../tokens/l.html#lwage">lwage</a> (<a href="../tokens/e.html#educ">educ</a>=<a href="../tokens/s.html#sibs">sibs</a>) <a href="../tokens/e.html#exper">exper</a> <a href="../tokens/t.html#tenure">tenure</a> <a href="../tokens/b.html#black">black</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffe2c3;"><a name="284" title="ivregress"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffcccc;">
<a href="../files/_StataProgramFiles_Section 4.do.html#284" title="/StataProgramFiles/Section 4.do:284 (ivregress)" target="classFrame" >284</a> <a onclick='toggle("line__1575812158");' title="ivregress">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">ivregress</span>
<span class="cmdparameters"><a href="../tokens/2.html#2sls">2sls</a> <a href="../tokens/e.html#expend">expend</a> <a href="../tokens/a.html#aid">aid</a> <a href="../tokens/i.html#inc">inc</a> <a href="../tokens/p.html#pop">pop</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/r.html#robust">robust</a>) <a href="../tokens/s.html#small">small</a></span>
<div id="line__1575812158" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// Estimate by IV
ivregress 2sls expend aid inc pop, vce(robust) small</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">ivregress</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/r.html#robust">robust</a>) <a href="../tokens/s.html#small">small</a></td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/2.html#2sls">2sls</a> <a href="../tokens/e.html#expend">expend</a> <a href="../tokens/a.html#aid">aid</a> <a href="../tokens/i.html#inc">inc</a> <a href="../tokens/p.html#pop">pop</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffe2c3;"><a name="298" title="ivregress"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffcccc;">
<a href="../files/_StataProgramFiles_Section 4.do.html#298" title="/StataProgramFiles/Section 4.do:298 (ivregress)" target="classFrame" >298</a> <a onclick='toggle("line__-839993580");' title="ivregress">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">ivregress</span>
<span class="cmdparameters"><a href="../tokens/2.html#2sls">2sls</a> <a href="../tokens/e.html#expend">expend</a> (<a href="../tokens/a.html#aid">aid</a>=<a href="../tokens/p.html#ps">ps</a> <a href="../tokens/p.html#pop">pop</a> <a href="../tokens/i.html#inc">inc</a>) <a href="../tokens/i.html#inc">inc</a> <a href="../tokens/p.html#pop">pop</a></span>
, <span class="cmdoptions"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/r.html#robust">robust</a>) <a href="../tokens/s.html#small">small</a></span>
<div id="line__-839993580" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 3. IV
ivregress 2sls expend (aid=ps pop inc) inc pop, vce(robust) small</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">ivregress</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../tokens/v.html#vce">vce(</a><a href="../tokens/r.html#robust">robust</a>) <a href="../tokens/s.html#small">small</a></td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/2.html#2sls">2sls</a> <a href="../tokens/e.html#expend">expend</a> (<a href="../tokens/a.html#aid">aid</a>=<a href="../tokens/p.html#ps">ps</a> <a href="../tokens/p.html#pop">pop</a> <a href="../tokens/i.html#inc">inc</a>) <a href="../tokens/i.html#inc">inc</a> <a href="../tokens/p.html#pop">pop</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="vector"><!-- --></a>
<h3>vector</h3>
<a name="cmd:other"><!-- --></a>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Variable Summary table, listing datasets and labels">
<caption ><span><a name="variables"><!-- --></a>cmd:other</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" style="width:30px" scope="col">file</th>
<th class="colOne" style="width:30px" scope="col">#</th>
<th class="colLast" width="100%" scope="col">command</th>
</tr>
<tr class="rowColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffff99;"><a name="91" title="g"><!-- --></a>
<span style="white-space: nowrap; background: #ffff99;">
<a href="../files/_StataProgramFiles_Section 1.do.html" title="/StataProgramFiles/Section 1.do" target="classFrame" >/StataProgramFiles/Section 1.do</a><b>:</b>
</span>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffcccc;">
<a href="../files/_StataProgramFiles_Section 1.do.html#91" title="/StataProgramFiles/Section 1.do:91 (g)" target="classFrame" >91</a> <a onclick='toggle("line__-1466909650");' title="g">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">g</span>
<span class="cmdparameters"><a href="../tokens/d.html#dates">dates</a> = <a href="../tokens/t.html#tq">tq(</a><a href="../files/_StataProgramFiles_Section 1.do.html#91">1959q2</a>)+<a href="../tokens/_.html#_n">_n</a>-1 // <a href="../files/_StataProgramFiles_Section 1.do.html#91">Creates</a> <a href="../tokens/q.html#quarterly">quarterly</a> <a href="../tokens/d.html#dates">dates</a> <a href="../tokens/v.html#vector">vector</a> <a href="../files/_StataProgramFiles_Section 1.do.html#91">beginning</a> <a href="../tokens/f.html#from">from</a> <a href="../files/_StataProgramFiles_Section 1.do.html#91">1959q2</a></span>
<div id="line__-1466909650" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 2. Create dates vector
g dates = tq(1959q2)+_n-1 // Creates quarterly dates vector beginning from 1959q2</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="rowColor">
<td class="colFirst">command</td>
<td class="colLast">g</td>
</tr>
<tr class="altColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="rowColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/d.html#dates">dates</a> = <a href="../tokens/t.html#tq">tq(</a><a href="../files/_StataProgramFiles_Section 1.do.html#91">1959q2</a>)+<a href="../tokens/_.html#_n">_n</a>-1 // <a href="../files/_StataProgramFiles_Section 1.do.html#91">Creates</a> <a href="../tokens/q.html#quarterly">quarterly</a> <a href="../tokens/d.html#dates">dates</a> <a href="../tokens/v.html#vector">vector</a> <a href="../files/_StataProgramFiles_Section 1.do.html#91">beginning</a> <a href="../tokens/f.html#from">from</a> <a href="../files/_StataProgramFiles_Section 1.do.html#91">1959q2</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffff99;"><a name="134" title="tsline"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffcccc;">
<a href="../files/_StataProgramFiles_Section 1.do.html#134" title="/StataProgramFiles/Section 1.do:134 (tsline)" target="classFrame" >134</a> <a onclick='toggle("line__73073989");' title="tsline">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">tsline</span>
<span class="cmdparameters"><a href="../variables/ffr.html">ffr</a> <a href="../variables/infl.html">infl</a> <a href="../variables/ygap.html">ygap</a></span>
, <span class="cmdoptions"> <a href="../files/_StataProgramFiles_Section 1.do.html#134">legend(</a><a href="../files/_StataProgramFiles_Section 1.do.html#134">order</a> (1 "<a href="../variables/ffr.html">ffr</a>" 2 "<a href="../variables/infl.html">infl</a>" 3 "<a href="../variables/infl.html">infl</a>")) // -<a href="../tokens/t.html#tsline">tsline</a>- <a href="../files/_StataProgramFiles_Section 1.do.html#134">plots</a> a <a href="../tokens/t.html#time">time</a> <a href="../tokens/s.html#series">series</a> <a href="../tokens/l.html#line">line</a> <a href="../files/_StataProgramFiles_Section 1.do.html#134">using</a> <a href="../tokens/t.html#the">the</a> <a href="../files/_StataProgramFiles_Section 1.do.html#134">defined</a> <a href="../tokens/t.html#time">time</a> <a href="../tokens/s.html#series">series</a> <a href="../tokens/v.html#vector">vector</a></span>
<div id="line__73073989" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 2. Plot time series on one graph
tsline ffr infl ygap, legend(order (1 "ffr" 2 "infl" 3 "infl")) // -tsline- plots a time series line using the defined time series vector</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst">command</td>
<td class="colLast">tsline</td>
</tr>
<tr class="rowColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="altColor">
<td class="colFirst">options</td>
<td class="colLast"> <a href="../files/_StataProgramFiles_Section 1.do.html#134">legend(</a><a href="../files/_StataProgramFiles_Section 1.do.html#134">order</a> (1 "<a href="../variables/ffr.html">ffr</a>" 2 "<a href="../variables/infl.html">infl</a>" 3 "<a href="../variables/infl.html">infl</a>")) // -<a href="../tokens/t.html#tsline">tsline</a>- <a href="../files/_StataProgramFiles_Section 1.do.html#134">plots</a> a <a href="../tokens/t.html#time">time</a> <a href="../tokens/s.html#series">series</a> <a href="../tokens/l.html#line">line</a> <a href="../files/_StataProgramFiles_Section 1.do.html#134">using</a> <a href="../tokens/t.html#the">the</a> <a href="../files/_StataProgramFiles_Section 1.do.html#134">defined</a> <a href="../tokens/t.html#time">time</a> <a href="../tokens/s.html#series">series</a> <a href="../tokens/v.html#vector">vector</a></td>
</tr>
<tr class="rowColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../variables/ffr.html">ffr</a> <a href="../variables/infl.html">infl</a> <a href="../variables/ygap.html">ygap</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
<a name="cmd:systemcmd"><!-- --></a>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Variable Summary table, listing datasets and labels">
<caption ><span><a name="variables"><!-- --></a>cmd:systemcmd</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" style="width:30px" scope="col">file</th>
<th class="colOne" style="width:30px" scope="col">#</th>
<th class="colLast" width="100%" scope="col">command</th>
</tr>
<tr class="rowColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffff99;"><a name="93" title="tsset"><!-- --></a>
<span style="white-space: nowrap; background: #ffff99;">
<a href="../files/_StataProgramFiles_Section 1.do.html" title="/StataProgramFiles/Section 1.do" target="classFrame" >/StataProgramFiles/Section 1.do</a><b>:</b>
</span>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #eeeeef;">
<a href="../files/_StataProgramFiles_Section 1.do.html#93" title="/StataProgramFiles/Section 1.do:93 (tsset)" target="classFrame" >93</a> <a onclick='toggle("line__-194767965");' title="tsset">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">tsset</span>
<span class="cmdparameters"><a href="../tokens/d.html#dates">dates</a></span>
, <span class="cmdoptions"><a href="../tokens/q.html#quarterly">quarterly</a> // <a href="../files/_StataProgramFiles_Section 1.do.html#93">Declares</a> <a href="../tokens/t.html#the">the</a> <a href="../tokens/v.html#vector">vector</a> a <a href="../tokens/q.html#quarterly">quarterly</a> <a href="../tokens/t.html#time">time</a> <a href="../tokens/s.html#series">series</a></span>
<div id="line__-194767965" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap"> // See http://www.stata.com/manuals13/ddatetime.pdf
tsset dates,quarterly // Declares the vector a quarterly time series</pre>
</li>
</ul>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties">
<caption><span><a name="properties"><!-- --></a>All properties</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">key</th>
<th class="colLast" scope="col">content</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst">command</td>
<td class="colLast">tsset</td>
</tr>
<tr class="rowColor">
<td class="colFirst">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="altColor">
<td class="colFirst">options</td>
<td class="colLast"><a href="../tokens/q.html#quarterly">quarterly</a> // <a href="../files/_StataProgramFiles_Section 1.do.html#93">Declares</a> <a href="../tokens/t.html#the">the</a> <a href="../tokens/v.html#vector">vector</a> a <a href="../tokens/q.html#quarterly">quarterly</a> <a href="../tokens/t.html#time">time</a> <a href="../tokens/s.html#series">series</a></td>
</tr>
<tr class="rowColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/d.html#dates">dates</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="VJ"><!-- --></a>
<h3>VJ</h3>
<a name="cmd:other"><!-- --></a>
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Variable Summary table, listing datasets and labels">
<caption ><span><a name="variables"><!-- --></a>cmd:other</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" style="width:30px" scope="col">file</th>
<th class="colOne" style="width:30px" scope="col">#</th>
<th class="colLast" width="100%" scope="col">command</th>
</tr>
<tr class="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #eeeeee;"><a name="1" title="Mac"><!-- --></a>
<span style="white-space: nowrap; background: #eeeeee;">
<a href="../files/_StataProgramFiles___MACOSX_._Section 1.do.html" title="/StataProgramFiles/__MACOSX/._Section 1.do" target="classFrame" >/StataProgr.._MACOSX/._Section 1.do</a><b>:</b>
</span>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #ffcccc;">
<a href="../files/_StataProgramFiles___MACOSX_._Section 1.do.html#1" title="/StataProgramFiles/__MACOSX/._Section 1.do:1 (Mac)" target="classFrame" >1</a> <a onclick='toggle("line__1863040211");' title="Mac">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">Mac</span>
<span class="cmdparameters"><a href="../tokens/o.html#OS">OS</a> X 2 � � <a href="../tokens/a.html#ATTR">ATTR</a>