楼主: 木木朱1991
1471 1

[数据管理求助] float型数据中出现的数值".a"代表什么 [推广有奖]

  • 0关注
  • 0粉丝

硕士生

81%

还不是VIP/贵宾

-

威望
0
论坛币
2237 个
通用积分
4.8001
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
797 点
帖子
15
精华
0
在线时间
392 小时
注册时间
2014-10-8
最后登录
2026-1-11

楼主
木木朱1991 发表于 2019-11-21 20:45:27 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
stata中merge命令介绍使用的示例数据:
. webuse overlap1, clear
. merge m:1 id using http://www.stata-press.com/data/r14/overlap2, update replace
. list

上述http://www.stata-press.com/data/r14/overlap数据打开后呈现如下:
数据求助.jpg
请问各位大佬们知道上图中的“.a”是啥意思不?数据详细情况如下:

--------------------------------------------------------------------------------------------------------------------------------------
              storage   display    value
variable name   type    format     label      variable label
--------------------------------------------------------------------------------------------------------------------------------------
id              float   %9.0g                 
bar             float   %9.0g                 
x1              float   %9.0g                 
x2              float   %9.0g                 
---------------------------------


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝


沙发
蓝色 发表于 2019-11-21 22:30:45

Title

    [U] 12.2.1 Missing values


Description

    Stata has 27 numeric missing values:

        ., the default, which is called the "system missing value" or sysmiss

    and

        .a, .b, .c, ..., .z, which are called the "extended missing values".

    Numeric missing values are represented by large positive values.  The ordering is

                      all nonmissing numbers < . < .a < .b < ... < .z

    Thus, the expression age > 60 is true if variable age is greater than 60 or missing.

    To exclude missing values, ask whether the value is less than ".".  For instance,

        . list if age > 60 & age < .

    To specify missing values, ask whether the value is greater than or equal to ".".  For
    instance,

        . list if age >=.

    Stata has one string missing value, which is denoted by "" (blank).


Remarks

    More details concerning missing values and their treatment in Stata are provided under
    the following headings:

        Overview
        Expressions
        Operators
        Functions
        Matrices
        Useful commands
        Value labels
        Estimation commands
        Technical note:  checking if a value is missing


    Overview

    1.  Stata supports different types of numeric missing values that can be used to
        specify different reasons that a value is unknown.  The most frequently used
        missing value ., referred to as sysmiss, is nearly always generated by Stata when
        it cannot assign a specific value.  The 26 extended missing values .a, .b, ..., .z
        are available to users requiring more elaborate tracking of missing values.

        Empty strings are treated as missing values of type string.

    2.  Numeric missing values are represented by large positive values.  This means that
        an expression such as income > 100 evaluates to true for missing values of the
        variable income, as well as to those that are greater than 100.  Also, the simple
        expression if varname evaluates to true for all nonzero values of varname,
        including missing values.

    3.  The ordering of missing values is

                      all nonmissing numbers < . < .a < .b < ... < .z

    4.  Most Stata statistical commands deal with missing values by disregarding
        observations with one or more missing values (called "listwise deletion" or
        "complete cases only").

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-20 03:56