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/v.html" title="v">Prev</a>
</li>
<li>
<a href="../tokens/x.html" title="x">Next</a>
</li>
</ul>
<ul class="navList">
<li><a href="../compare.html?tokens/w.html" target="_top">Compare</a></li>
<li><a href="../index.html?tokens/w.html" target="_top">Frames</a></li>
<li><a href="../tokens/w.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 w" class="title">Token List for w</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre><span class="strong">Tokens starting with w</span>
</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="w1"><!-- --></a>
<h3>w1</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: #ffc999;"><a name="55" title="g"><!-- --></a>
<span style="white-space: nowrap; background: #ffc999;">
<a href="../files/_StataProgramFiles_Section 5.do.html" title="/StataProgramFiles/Section 5.do" target="classFrame" >/StataProgramFiles/Section 5.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 5.do.html#55" title="/StataProgramFiles/Section 5.do:55 (g)" target="classFrame" >55</a> <a onclick='toggle("line__-2135030285");' title="g">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">g</span>
<span class="cmdparameters">w = <a href="../files/_StataProgramFiles_Section 5.do.html#55">w1</a>+<a href="../files/_StataProgramFiles_Section 5.do.html#55">w2</a></span>
<div id="line__-2135030285" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 1. Estimate consumption equation
// By OLS
g w = w1+w2</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">w = <a href="../files/_StataProgramFiles_Section 5.do.html#55">w1</a>+<a href="../files/_StataProgramFiles_Section 5.do.html#55">w2</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="w2"><!-- --></a>
<h3>w2</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: #ffc999;"><a name="55" title="g"><!-- --></a>
<span style="white-space: nowrap; background: #ffc999;">
<a href="../files/_StataProgramFiles_Section 5.do.html" title="/StataProgramFiles/Section 5.do" target="classFrame" >/StataProgramFiles/Section 5.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 5.do.html#55" title="/StataProgramFiles/Section 5.do:55 (g)" target="classFrame" >55</a> <a onclick='toggle("line__-2135030285");' title="g">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">g</span>
<span class="cmdparameters">w = <a href="../files/_StataProgramFiles_Section 5.do.html#55">w1</a>+<a href="../files/_StataProgramFiles_Section 5.do.html#55">w2</a></span>
<div id="line__-2135030285" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 1. Estimate consumption equation
// By OLS
g w = w1+w2</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">w = <a href="../files/_StataProgramFiles_Section 5.do.html#55">w1</a>+<a href="../files/_StataProgramFiles_Section 5.do.html#55">w2</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="WAGE"><!-- --></a>
<h3>WAGE</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="105" 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#105" title="/StataProgramFiles/Section 4.do:105 (rename)" target="classFrame" >105</a> <a onclick='toggle("line__-57327652");' title="rename">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">rename</span>
<span class="cmdparameters"><a href="../files/_StataProgramFiles_Section 4.do.html#105">WAGE</a> <a href="../files/_StataProgramFiles_Section 4.do.html#105">wage</a></span>
<div id="line__-57327652" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">*rename REPWAGE repwage
*rename UNEM unem
rename WAGE wage</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">indent</td>
<td class="colLast">0</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../files/_StataProgramFiles_Section 4.do.html#105">WAGE</a> <a href="../files/_StataProgramFiles_Section 4.do.html#105">wage</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="Wage"><!-- --></a>
<h3>Wage</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: #ffd8ab;"><a name="33" title="est"><!-- --></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#33" title="/StataProgramFiles/Section 3.do:33 (est)" target="classFrame" >33</a> <a onclick='toggle("line__354189799");' title="est">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">est</span>
<span class="cmdparameters"><a href="../tokens/t.html#table">table</a> <a href="../tokens/m.html#model1">model1</a> <a href="../tokens/m.html#model2">model2</a> <a href="../tokens/m.html#model3">model3</a></span>
, <span class="cmdoptions"> <a href="../tokens/s.html#star">star</a> <a href="../tokens/t.html#title">title(</a>"<a href="../files/_StataProgramFiles_Section 3.do.html#33">Wage</a> <a href="../files/_StataProgramFiles_Section 3.do.html#33">differential</a>")</span>
<div id="line__354189799" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">est table model1 model2 model3, star title("Wage differential")</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">est</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/s.html#star">star</a> <a href="../tokens/t.html#title">title(</a>"<a href="../files/_StataProgramFiles_Section 3.do.html#33">Wage</a> <a href="../files/_StataProgramFiles_Section 3.do.html#33">differential</a>")</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/t.html#table">table</a> <a href="../tokens/m.html#model1">model1</a> <a href="../tokens/m.html#model2">model2</a> <a href="../tokens/m.html#model3">model3</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="wage"><!-- --></a>
<h3>wage</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="105" 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#105" title="/StataProgramFiles/Section 4.do:105 (rename)" target="classFrame" >105</a> <a onclick='toggle("line__-57327652");' title="rename">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">rename</span>
<span class="cmdparameters"><a href="../files/_StataProgramFiles_Section 4.do.html#105">WAGE</a> <a href="../files/_StataProgramFiles_Section 4.do.html#105">wage</a></span>
<div id="line__-57327652" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">*rename REPWAGE repwage
*rename UNEM unem
rename WAGE wage</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">rename</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#105">WAGE</a> <a href="../files/_StataProgramFiles_Section 4.do.html#105">wage</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="wage2"><!-- --></a>
<h3>wage2</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: #ffe2c3;"><a name="240" title="webuse"><!-- --></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#240" title="/StataProgramFiles/Section 4.do:240 (webuse)" target="classFrame" >240</a> <a onclick='toggle("line__-184550912");' title="webuse">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">webuse</span>
<span class="cmdparameters">"<a href="../files/_StataProgramFiles_Section 4.do.html#240">wage2</a>.<a href="../tokens/d.html#dta">dta</a>"</span>
, <span class="cmdoptions"><a href="../tokens/c.html#clear">clear</a></span>
<div id="line__-184550912" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">**********************************************
webuse "wage2.dta",clear</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">webuse</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/c.html#clear">clear</a></td>
</tr>
<tr class="rowColor">
<td class="colFirst">parameters</td>
<td class="colLast">"<a href="../files/_StataProgramFiles_Section 4.do.html#240">wage2</a>.<a href="../tokens/d.html#dta">dta</a>"</td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="we"><!-- --></a>
<h3>we</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>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="white"><!-- --></a>
<h3>white</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: #ffd6ae;"><a name="56" title="imtest"><!-- --></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#56" title="/StataProgramFiles/Section 2.do:56 (imtest)" target="classFrame" >56</a> <a onclick='toggle("line__582905034");' title="imtest">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">imtest</span>
<span class="cmdparameters"></span>
, <span class="cmdoptions"> <a href="../tokens/w.html#white">white</a></span>
<div id="line__582905034" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 5. (d) White's test for heteroskedasticity
imtest, white</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">imtest</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/w.html#white">white</a></td>
</tr>
<tr class="rowColor">
<td class="colFirst">parameters</td>
<td class="colLast"></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: #ffd6ae;"><a name="92" title="imtest"><!-- --></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 2.do.html#92" title="/StataProgramFiles/Section 2.do:92 (imtest)" target="classFrame" >92</a> <a onclick='toggle("line__1699082545");' title="imtest">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">imtest</span>
<span class="cmdparameters"></span>
, <span class="cmdoptions"> <a href="../tokens/w.html#white">white</a> // <a href="../tokens/c.html#Check">Check</a> <a href="../tokens/h.html#heteroskedasticity">heteroskedasticity</a></span>
<div id="line__1699082545" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">imtest, white // Check 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="altColor">
<td class="colFirst">command</td>
<td class="colLast">imtest</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/w.html#white">white</a> // <a href="../tokens/c.html#Check">Check</a> <a href="../tokens/h.html#heteroskedasticity">heteroskedasticity</a></td>
</tr>
<tr class="rowColor">
<td class="colFirst">parameters</td>
<td class="colLast"></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: #ffd8ab;"><a name="139" title="imtest"><!-- --></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#139" title="/StataProgramFiles/Section 3.do:139 (imtest)" target="classFrame" >139</a> <a onclick='toggle("line__1311644882");' title="imtest">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">imtest</span>
<span class="cmdparameters"></span>
, <span class="cmdoptions"> <a href="../tokens/w.html#white">white</a></span>
<div id="line__1311644882" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// Check residuals for heteroskedasticity
imtest, white</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">imtest</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/w.html#white">white</a></td>
</tr>
<tr class="rowColor">
<td class="colFirst">parameters</td>
<td class="colLast"></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="will"><!-- --></a>
<h3>will</h3>
<a name="cmd:outputcmd"><!-- --></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:outputcmd</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: #ffff99;"><a name="76" title="save"><!-- --></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: #CCCCFF;">
<a href="../files/_StataProgramFiles_Section 1.do.html#76" title="/StataProgramFiles/Section 1.do:76 (save)" target="classFrame" >76</a> <a onclick='toggle("line__-372998693");' title="save">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">save</span>
<span class="cmdparameters">"<a href="../tokens/u.html#US">US</a> <a href="../tokens/m.html#Macroeconomic">Macroeconomic</a> <a href="../tokens/d.html#Data">Data</a>" // <a href="../tokens/t.html#The">The</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">dataset</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">will</a> <a href="../tokens/b.html#be">be</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">saved</a> <a href="../tokens/t.html#to">to</a> <a href="../tokens/t.html#the">the</a> <a href="../tokens/w.html#working">working</a> <a href="../tokens/d.html#directory">directory</a></span>
<div id="line__-372998693" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 3. Save the dataset
save "US Macroeconomic Data" // The dataset will be saved to the working directory</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">save</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/u.html#US">US</a> <a href="../tokens/m.html#Macroeconomic">Macroeconomic</a> <a href="../tokens/d.html#Data">Data</a>" // <a href="../tokens/t.html#The">The</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">dataset</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">will</a> <a href="../tokens/b.html#be">be</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">saved</a> <a href="../tokens/t.html#to">to</a> <a href="../tokens/t.html#the">the</a> <a href="../tokens/w.html#working">working</a> <a href="../tokens/d.html#directory">directory</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="winitial"><!-- --></a>
<h3>winitial</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: #ffc999;"><a name="114" title="gmm"><!-- --></a>
<span style="white-space: nowrap; background: #ffc999;">
<a href="../files/_StataProgramFiles_Section 5.do.html" title="/StataProgramFiles/Section 5.do" target="classFrame" >/StataProgramFiles/Section 5.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 5.do.html#114" title="/StataProgramFiles/Section 5.do:114 (gmm)" target="classFrame" >114</a> <a onclick='toggle("line__-2110190620");' title="gmm">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">gmm</span>
<span class="cmdparameters">///
(<a href="../files/_StataProgramFiles_Section 5.do.html#114">{beta}*(</a>1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a>)^(-<a href="../files/_StataProgramFiles_Section 5.do.html#114">{gamma}</a>)*(1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rb</a>)-1) ///
(<a href="../files/_StataProgramFiles_Section 5.do.html#114">{beta}*(</a>1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a>)^(-<a href="../files/_StataProgramFiles_Section 5.do.html#114">{gamma}</a>)*(1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rs</a>)-1)</span>
, <span class="cmdoptions"> ///
<a href="../tokens/i.html#instruments">instruments(</a><a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a> <a href="../files/_StataProgramFiles_Section 5.do.html#114">rs</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">wmatrix(</a><a href="../tokens/r.html#robust">robust</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">winitial(</a><a href="../files/_StataProgramFiles_Section 5.do.html#114">identity</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">nolog</a></span>
<div id="line__-2110190620" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">gmm ///
({beta}*(1+rc)^(-{gamma})*(1+rb)-1) ///
({beta}*(1+rc)^(-{gamma})*(1+rs)-1), ///
instruments(rc rs) wmatrix(robust) winitial(identity) nolog</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">gmm</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/i.html#instruments">instruments(</a><a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a> <a href="../files/_StataProgramFiles_Section 5.do.html#114">rs</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">wmatrix(</a><a href="../tokens/r.html#robust">robust</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">winitial(</a><a href="../files/_StataProgramFiles_Section 5.do.html#114">identity</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">nolog</a></td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast">///
(<a href="../files/_StataProgramFiles_Section 5.do.html#114">{beta}*(</a>1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a>)^(-<a href="../files/_StataProgramFiles_Section 5.do.html#114">{gamma}</a>)*(1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rb</a>)-1) ///
(<a href="../files/_StataProgramFiles_Section 5.do.html#114">{beta}*(</a>1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a>)^(-<a href="../files/_StataProgramFiles_Section 5.do.html#114">{gamma}</a>)*(1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rs</a>)-1)</td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="with"><!-- --></a>
<h3>with</h3>
<a name="cmd:statcmd"><!-- --></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:statcmd</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: #ffff99;"><a name="38" title="hist"><!-- --></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: #FFFF99;">
<a href="../files/_StataProgramFiles_Section 1.do.html#38" title="/StataProgramFiles/Section 1.do:38 (hist)" target="classFrame" >38</a> <a onclick='toggle("line__-571554360");' title="hist">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">hist</span>
<span class="cmdparameters"><a href="../tokens/c.html#c1">c1</a></span>
, <span class="cmdoptions"><a href="../tokens/k.html#kdensity">kdensity</a> <a href="../tokens/t.html#title">title(</a>"<a href="../tokens/d.html#Drawn">Drawn</a> <a href="../tokens/f.html#from">from</a> <a href="../files/_StataProgramFiles_Section 1.do.html#38">chi</a>-<a href="../files/_StataProgramFiles_Section 1.do.html#38">squared</a> <a href="../tokens/w.html#with">with</a> 10 <a href="../tokens/d.html#degrees">degrees</a> <a href="../tokens/o.html#of">of</a> <a href="../tokens/f.html#freedom">freedom</a>")</span>
<div id="line__-571554360" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// Plot histogram
hist c1,kdensity title("Drawn from chi-squared with 10 degrees of freedom")</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">hist</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/k.html#kdensity">kdensity</a> <a href="../tokens/t.html#title">title(</a>"<a href="../tokens/d.html#Drawn">Drawn</a> <a href="../tokens/f.html#from">from</a> <a href="../files/_StataProgramFiles_Section 1.do.html#38">chi</a>-<a href="../files/_StataProgramFiles_Section 1.do.html#38">squared</a> <a href="../tokens/w.html#with">with</a> 10 <a href="../tokens/d.html#degrees">degrees</a> <a href="../tokens/o.html#of">of</a> <a href="../tokens/f.html#freedom">freedom</a>")</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/c.html#c1">c1</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: #ffff99;"><a name="47" title="hist"><!-- --></a>
<b>:</b>
</td>
<td class="cmd_$filter colOne" style="text-align:right; border: none; padding-left: 2px; background: #FFFF99;">
<a href="../files/_StataProgramFiles_Section 1.do.html#47" title="/StataProgramFiles/Section 1.do:47 (hist)" target="classFrame" >47</a> <a onclick='toggle("line__2087118033");' title="hist">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">hist</span>
<span class="cmdparameters"><a href="../tokens/t.html#t1">t1</a></span>
, <span class="cmdoptions"> <a href="../tokens/k.html#kdensity">kdensity</a> <a href="../tokens/t.html#title">title(</a>"<a href="../tokens/d.html#Drawn">Drawn</a> <a href="../tokens/f.html#from">from</a> t-<a href="../files/_StataProgramFiles_Section 1.do.html#47">distribution</a> <a href="../tokens/w.html#with">with</a> 10 <a href="../tokens/d.html#degrees">degrees</a> <a href="../tokens/o.html#of">of</a> <a href="../tokens/f.html#freedom">freedom</a>")</span>
<div id="line__2087118033" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// Plot histogram
hist t1, kdensity title("Drawn from t-distribution with 10 degrees of freedom")</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">hist</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/k.html#kdensity">kdensity</a> <a href="../tokens/t.html#title">title(</a>"<a href="../tokens/d.html#Drawn">Drawn</a> <a href="../tokens/f.html#from">from</a> t-<a href="../files/_StataProgramFiles_Section 1.do.html#47">distribution</a> <a href="../tokens/w.html#with">with</a> 10 <a href="../tokens/d.html#degrees">degrees</a> <a href="../tokens/o.html#of">of</a> <a href="../tokens/f.html#freedom">freedom</a>")</td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast"><a href="../tokens/t.html#t1">t1</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="wmatrix"><!-- --></a>
<h3>wmatrix</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: #ffc999;"><a name="114" title="gmm"><!-- --></a>
<span style="white-space: nowrap; background: #ffc999;">
<a href="../files/_StataProgramFiles_Section 5.do.html" title="/StataProgramFiles/Section 5.do" target="classFrame" >/StataProgramFiles/Section 5.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 5.do.html#114" title="/StataProgramFiles/Section 5.do:114 (gmm)" target="classFrame" >114</a> <a onclick='toggle("line__-2110190620");' title="gmm">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">gmm</span>
<span class="cmdparameters">///
(<a href="../files/_StataProgramFiles_Section 5.do.html#114">{beta}*(</a>1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a>)^(-<a href="../files/_StataProgramFiles_Section 5.do.html#114">{gamma}</a>)*(1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rb</a>)-1) ///
(<a href="../files/_StataProgramFiles_Section 5.do.html#114">{beta}*(</a>1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a>)^(-<a href="../files/_StataProgramFiles_Section 5.do.html#114">{gamma}</a>)*(1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rs</a>)-1)</span>
, <span class="cmdoptions"> ///
<a href="../tokens/i.html#instruments">instruments(</a><a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a> <a href="../files/_StataProgramFiles_Section 5.do.html#114">rs</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">wmatrix(</a><a href="../tokens/r.html#robust">robust</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">winitial(</a><a href="../files/_StataProgramFiles_Section 5.do.html#114">identity</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">nolog</a></span>
<div id="line__-2110190620" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">gmm ///
({beta}*(1+rc)^(-{gamma})*(1+rb)-1) ///
({beta}*(1+rc)^(-{gamma})*(1+rs)-1), ///
instruments(rc rs) wmatrix(robust) winitial(identity) nolog</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">gmm</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/i.html#instruments">instruments(</a><a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a> <a href="../files/_StataProgramFiles_Section 5.do.html#114">rs</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">wmatrix(</a><a href="../tokens/r.html#robust">robust</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">winitial(</a><a href="../files/_StataProgramFiles_Section 5.do.html#114">identity</a>) <a href="../files/_StataProgramFiles_Section 5.do.html#114">nolog</a></td>
</tr>
<tr class="altColor">
<td class="colFirst">parameters</td>
<td class="colLast">///
(<a href="../files/_StataProgramFiles_Section 5.do.html#114">{beta}*(</a>1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a>)^(-<a href="../files/_StataProgramFiles_Section 5.do.html#114">{gamma}</a>)*(1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rb</a>)-1) ///
(<a href="../files/_StataProgramFiles_Section 5.do.html#114">{beta}*(</a>1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rc</a>)^(-<a href="../files/_StataProgramFiles_Section 5.do.html#114">{gamma}</a>)*(1+<a href="../files/_StataProgramFiles_Section 5.do.html#114">rs</a>)-1)</td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="working"><!-- --></a>
<h3>working</h3>
<a name="cmd:outputcmd"><!-- --></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:outputcmd</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="76" title="save"><!-- --></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: #CCCCFF;">
<a href="../files/_StataProgramFiles_Section 1.do.html#76" title="/StataProgramFiles/Section 1.do:76 (save)" target="classFrame" >76</a> <a onclick='toggle("line__-372998693");' title="save">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">save</span>
<span class="cmdparameters">"<a href="../tokens/u.html#US">US</a> <a href="../tokens/m.html#Macroeconomic">Macroeconomic</a> <a href="../tokens/d.html#Data">Data</a>" // <a href="../tokens/t.html#The">The</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">dataset</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">will</a> <a href="../tokens/b.html#be">be</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">saved</a> <a href="../tokens/t.html#to">to</a> <a href="../tokens/t.html#the">the</a> <a href="../tokens/w.html#working">working</a> <a href="../tokens/d.html#directory">directory</a></span>
<div id="line__-372998693" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">// 3. Save the dataset
save "US Macroeconomic Data" // The dataset will be saved to the working directory</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">save</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/u.html#US">US</a> <a href="../tokens/m.html#Macroeconomic">Macroeconomic</a> <a href="../tokens/d.html#Data">Data</a>" // <a href="../tokens/t.html#The">The</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">dataset</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">will</a> <a href="../tokens/b.html#be">be</a> <a href="../files/_StataProgramFiles_Section 1.do.html#76">saved</a> <a href="../tokens/t.html#to">to</a> <a href="../tokens/t.html#the">the</a> <a href="../tokens/w.html#working">working</a> <a href="../tokens/d.html#directory">directory</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="altColor">
<td class="cmd_$filter colFirst" style="text-align:right; padding-right: 1px; background: #ffff99;"><a name="4" title="cd"><!-- --></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#4" title="/StataProgramFiles/Section 1.do:4 (cd)" target="classFrame" >4</a> <a onclick='toggle("line__2087441275");' title="cd">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">cd</span>
<span class="cmdparameters">"-<a href="../tokens/w.html#working">working</a> <a href="../tokens/d.html#directory">directory</a>-" // <a href="../tokens/t.html#This">This</a> <a href="../files/_StataProgramFiles_Section 1.do.html#4">changes</a> <a href="../tokens/t.html#the">the</a> <a href="../tokens/w.html#working">working</a> <a href="../tokens/d.html#directory">directory</a> <a href="../tokens/f.html#for">for</a> <a href="../tokens/t.html#the">the</a> <a href="../files/_StataProgramFiles_Section 1.do.html#4">session</a>.</span>
<div id="line__2087441275" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">********************************************************************************
// SECTION 1 INTRODUCTION
********************************************************************************
cd "-working directory-" // This changes the working directory for the session.</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">cd</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/w.html#working">working</a> <a href="../tokens/d.html#directory">directory</a>-" // <a href="../tokens/t.html#This">This</a> <a href="../files/_StataProgramFiles_Section 1.do.html#4">changes</a> <a href="../tokens/t.html#the">the</a> <a href="../tokens/w.html#working">working</a> <a href="../tokens/d.html#directory">directory</a> <a href="../tokens/f.html#for">for</a> <a href="../tokens/t.html#the">the</a> <a href="../files/_StataProgramFiles_Section 1.do.html#4">session</a>.</td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== LINKS =========== -->
<ul class="blockList">
<li class="blockList">
<a name="www"><!-- --></a>
<h3>www</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="180" title="webuse"><!-- --></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#180" title="/StataProgramFiles/Section 1.do:180 (webuse)" target="classFrame" >180</a> <a onclick='toggle("line__-1625516549");' title="webuse">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">webuse</span>
<span class="cmdparameters"><a href="../tokens/s.html#set">set</a> <a href="../tokens/h.html#http">http</a>://<a href="../tokens/w.html#www">www</a>.<a href="../tokens/n.html#ncer">ncer</a>.<a href="../tokens/e.html#edu">edu</a>.<a href="../tokens/a.html#au">au</a>/<a href="../tokens/s.html#stata">stata</a>-<a href="../tokens/r.html#resources">resources</a>/<a href="../tokens/d.html#data">data</a>/<a href="../tokens/h.html#Honours">Honours</a>/</span>
<div id="line__-1625516549" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">**********************************************
* This data is online. Set the online path, then access datasets from there.
webuse set http://www.ncer.edu.au/stata-resources/data/Honours/</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">webuse</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/s.html#set">set</a> <a href="../tokens/h.html#http">http</a>://<a href="../tokens/w.html#www">www</a>.<a href="../tokens/n.html#ncer">ncer</a>.<a href="../tokens/e.html#edu">edu</a>.<a href="../tokens/a.html#au">au</a>/<a href="../tokens/s.html#stata">stata</a>-<a href="../tokens/r.html#resources">resources</a>/<a href="../tokens/d.html#data">data</a>/<a href="../tokens/h.html#Honours">Honours</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: #ffd6ae;"><a name="10" title="webuse"><!-- --></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#10" title="/StataProgramFiles/Section 2.do:10 (webuse)" target="classFrame" >10</a> <a onclick='toggle("line__-1641958317");' title="webuse">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">webuse</span>
<span class="cmdparameters"><a href="../tokens/s.html#set">set</a> <a href="../tokens/h.html#http">http</a>://<a href="../tokens/w.html#www">www</a>.<a href="../tokens/n.html#ncer">ncer</a>.<a href="../tokens/e.html#edu">edu</a>.<a href="../tokens/a.html#au">au</a>/<a href="../tokens/s.html#stata">stata</a>-<a href="../tokens/r.html#resources">resources</a>/<a href="../tokens/d.html#data">data</a>/<a href="../tokens/h.html#Honours">Honours</a>/</span>
<div id="line__-1641958317" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">**********************************************
webuse set http://www.ncer.edu.au/stata-resources/data/Honours/</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">webuse</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/s.html#set">set</a> <a href="../tokens/h.html#http">http</a>://<a href="../tokens/w.html#www">www</a>.<a href="../tokens/n.html#ncer">ncer</a>.<a href="../tokens/e.html#edu">edu</a>.<a href="../tokens/a.html#au">au</a>/<a href="../tokens/s.html#stata">stata</a>-<a href="../tokens/r.html#resources">resources</a>/<a href="../tokens/d.html#data">data</a>/<a href="../tokens/h.html#Honours">Honours</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="12" title="webuse"><!-- --></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: #ffcccc;">
<a href="../files/_StataProgramFiles_Section 8.do.html#12" title="/StataProgramFiles/Section 8.do:12 (webuse)" target="classFrame" >12</a> <a onclick='toggle("line__-863598925");' title="webuse">[+]</a>
</td>
<td class="colLast">
<span class="cmdcommand">webuse</span>
<span class="cmdparameters"><a href="../tokens/s.html#set">set</a> <a href="../tokens/h.html#http">http</a>://<a href="../tokens/w.html#www">www</a>.<a href="../tokens/n.html#ncer">ncer</a>.<a href="../tokens/e.html#edu">edu</a>.<a href="../tokens/a.html#au">au</a>/<a href="../tokens/s.html#stata">stata</a>-<a href="../tokens/r.html#resources">resources</a>/<a href="../tokens/d.html#data">data</a>/<a href="../tokens/h.html#Honours">Honours</a></span>
<div id="line__-863598925" style="display:none">
<ul class="blockList">
<li class="blockList">
<pre class="wrap">webuse set http://www.ncer.edu.au/stata-resources/data/Honours</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">webuse</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/s.html#set">set</a> <a href="../tokens/h.html#http">http</a>://<a href="../tokens/w.html#www">www</a>.<a href="../tokens/n.html#ncer">ncer</a>.<a href="../tokens/e.html#edu">edu</a>.<a href="../tokens/a.html#au">au</a>/<a href="../tokens/s.html#stata">stata</a>-<a href="../tokens/r.html#resources">resources</a>/<a href="../tokens/d.html#data">data</a>/<a href="../tokens/h.html#Honours">Honours</a></td>
</tr>
</tbody>
</table>
<br>
</br>
</div>
</td>
</tr>
</table>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ========= START OF BOTTOM NAVBAR ========= -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_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/v.html" title="v">Prev</a>
</li>
<li>
<a href="../tokens/x.html" title="x" >Next</a>
</li>
</ul>
<ul class="navList">
<li><a href="../index.html?tokens/w.html" target="_top">Frames</a></li>
<li><a href="../tokens/w.html" target="_top">No Frames</a></li>
</ul>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ========= END OF BOTTOM NAVBAR ========= -->
</body>
</html>