fillin.hlp

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· HLP 代码 · 共 59 行

HLP
59
字号
{smcl}
{* 23nov2004}{...}
{cmd:help fillin}{right:dialog:  {bf:{dialog fillin}}}
{hline}

{title:Title}

{p2colset 5 19 21 2}{...}
{p2col :{hi:[D] fillin} {hline 2}}Rectangularize dataset{p_end}
{p2colreset}{...}


{title:Syntax}

	{cmd:fillin} {varlist}


{title:Description}

{pstd}
{opt fillin} adds observations with missing data so that all interactions
of {varlist} exist, thus making a complete rectangularization of
{it:varlist}.  {opt fillin} also adds the variable {opt _fillin} to the
dataset.  {opt _fillin} is 1 for observations created by using {opt fillin}
and 0 for previously existing observations.


{title:Example}

    {cmd:. list}

	       sex       race         x1         x2
      1.    {res:female      black         .5         32}
      2.      {res:male      black         .4         40}
      3.      {res:male      white         .1         53}

    {cmd:. fillin sex race}

    {cmd:. list}

	       sex       race         x1         x2   _fillin
      1.    {res:female      black         .5         32         0}
      2.    {res:female      white          .          .         1}
      3.      {res:male      black         .4         40         0}
      4.      {res:male      white         .1         53         0}


{title:Also see}

{psee}
Manual:  {bf:[D] fillin}

{psee}
Online:  {helpb cross},
{helpb expand},
{helpb joinby},
{helpb save}
{p_end}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?