各什么己| 睡不着觉是什么原因| 伊维菌素是什么药| 黄飞鸿属什么生肖| 化验血能查出什么项目| 什么辕什么辙| 睫角守宫吃什么| 我的梦想是什么| 前列腺炎吃什么药最有效| 用什么补肾最好| 术后病人吃什么营养恢复快| 什么叫指标到校| 清洁度二度是什么意思| 肾阴虚吃什么药| 驻马店以前叫什么名字| 减肥吃什么油| 挂件是什么意思| blossom是什么意思| 体内湿气重吃什么药| 头晕头重昏昏沉沉是什么原因| 切脉切的是什么脉| 备孕前需要做什么检查| 银镯子变黑是什么原因| llc是什么意思| 狗狗呕吐吃什么药| 关爱是什么意思| ai是什么| 什么的流淌| 375是什么意思| 什么眉什么眼| 茉莉花茶属于什么茶类| 牙齿发炎吃什么药| 办残疾证需要什么条件| 什么人容易得老年痴呆| 榴莲吃起来口感像什么| 肾属于什么科| 什么是假药| 剧透什么意思| 什么是零和博弈| 牛百叶是什么| 虚岁是什么意思| 农历六月是什么星座| 放下身段是什么意思| 32岁属什么的生肖| 膝盖发软无力是什么原因| 三只手是什么意思| 孕妇吃什么水果比较好| 明胶是什么做的| 右耳痒是什么预兆| 为什么叫黄瓜| 做梦梦见掉牙齿是什么意思| 什么快递可以寄活物| 小孩吃什么通便降火| 打狂犬疫苗挂什么科| 什么是穿刺| hpv低危型是什么意思| 寓教于乐什么意思| 粗口是什么意思| 腹胀是什么病的前兆| 什么是纤维化| 养尊处优的意思是什么| 胃疼胃胀吃什么药| 视网膜脱落有什么症状| 利空是什么意思| 莲雾吃了有什么好处| 为什么打喷嚏会漏尿| 干冰是什么| 原住民是什么意思| 可可和咖啡有什么区别| 耳闷耳堵是什么原因引起的| 纵隔子宫是什么意思| 广义是什么意思| 网盘是什么东西| 牙龈萎缩吃什么维生素| 生闷气容易得什么病| 房颤有什么症状| 什么是男人| 三条杠是什么牌子| 什么材质的拖鞋不臭脚| 脖子落枕挂什么科| 肾痛是什么原因| 牙龈上火吃什么药| 余的部首是什么| 智是什么意思| 愚不可及是什么意思| 哗众取宠是什么意思| 痛风什么蔬菜不能吃| 十月十日是什么星座| 慢性炎症是什么| 郎酒是什么香型| 睡觉后腰疼是什么原因引起的| 懿字五行属什么| 6月24是什么日子| 释迦牟尼是什么意思| 四不放过是指什么| 勇者胜的上半句是什么| 寅虎是什么意思| 高压低压是什么意思| 一个小时尿一次是什么原因| 什么叫轻断食| 尿很臭是什么原因| 观音菩萨属什么生肖| 盐酸哌替啶是什么药| 醉酒第二天吃什么才能缓解难受| 人参归脾丸适合什么人吃| 维生素b3又叫什么| 糖尿病人晚餐吃什么最好| 铂金是什么颜色| 水杉是什么植物| 印度人为什么叫阿三| 月经为什么推迟不来| 鼻烟壶是干什么用的| 什么地散步| 淋巴结增大是什么原因严重吗| 大拇指脱皮是什么原因| 东是什么生肖| 病人打白蛋白意味着什么| 右眼老跳是什么原因| 全身浮肿是什么原因| 肚子大是什么原因造成的| 新生儿黄疸高有什么危害| 蛋白质变性的本质是什么| 前轮轴承坏了会有什么症状| 蒙脱石散适合什么腹泻| 梦见死尸什么预兆| 腮腺炎反复发作是什么原因| 甲亢是什么病| 悔教夫婿觅封侯是什么意思| 头皮痒掉发严重是什么原因| 什么地赶来| 肃穆是什么意思| 白细胞是什么| 摩羯座女和什么星座最配| 前门大街有什么好玩的| 什么生肖怕老婆| 瘘管是什么病| 带资进组什么意思| 少年什么意思| 暑假什么时候结束| 退休工资什么时候补发| 猫离家出走预示着什么| 丹桂飘香是什么季节| camp医学上是什么意思| 五行缺金有什么影响| 孩子感冒咳嗽吃什么药| 找工作上什么网| 蓝莓什么时候成熟| 蜜蜡是什么材料| 榴莲不能和什么同吃| 什么是风寒感冒| 吃什么化痰效果最好最快| 双子座男生喜欢什么样的女生| 农历十月初五是什么星座| 吃什么降血压最快最好方法| 心律不齐是什么病| 八项药是什么药| 梦见打死猫有什么预兆| 4.28是什么星座| 头晕恶心是什么原因| 刮痧和拔罐有什么区别| 阳虚是什么症状| 上大厕拉出血是什么原因| 洋葱有什么功效与作用| 胆结石是什么| 助听器什么品牌最好| screenx影厅是什么| 8月7日是什么星座| 痛经喝什么药| mlb是什么牌子中文名| 吃什么降尿酸| 这个故事告诉我们什么道理| 丑角是什么意思| 胰腺的作用和功能是什么| 无力感是什么意思| 婴儿补铁吃什么铁剂| 甲沟炎涂什么药膏| 低血压是什么原因造成的| 脑血管痉挛是什么原因引起的| 肝功能七项是检查什么| 什么是软组织损伤| 脚癣用什么药| 护资成绩什么时候出| 心脏回流是什么意思| 尿路感染用什么药好| 朱砂痣什么意思| maxrieny是什么品牌| 西柚是什么季节的水果| 鬼代表什么数字| 卵巢囊肿是什么原因引起的| 5月22号是什么星座| 小产后可以吃什么水果| 职业病是什么意思| 制片人是干什么的| 起水痘不能吃什么食物| 属兔本命佛是什么佛| 什么是湿气重| 88年属什么生肖| 中年人吃什么钙片补钙效果好| 已是什么意思| 支气管激发试验阴性是什么意思| 什么是扦插| 人生苦短什么意思| 血脂高是什么原因| 手突然抖动是什么原因| 原本是什么意思| blackpink什么意思| 肠子疼是什么原因| 好嘛是什么意思| 一个山一个空念什么| 65年属什么生肖| 半身不遂是什么意思| 梅花代表什么象征意义| 11.11什么星座| 早餐吃什么最健康| 邓超是什么星座| 自愈什么意思| 黑龙江有什么特产| image是什么意思| 寅是什么意思| 吃紫菜有什么好处和坏处| 什么细节能感动摩羯男| 出色的什么| 美帝是什么意思| 口头禅是什么意思| 吃什么药死的快| 中医湿气重是什么意思| 现在流行什么| 焦虑症看什么科室| pin是什么意思啊| 在水一方什么意思| 10月16日是什么星座| 恶心想吐吃什么药好| wt什么意思| 为什么明星不激光祛斑| 商品是什么| 大尾巴狼是什么意思| 粉色是什么颜色配成的| 非经期少量出血是什么原因| 冰藤席是什么材质| 淋巴细胞百分比偏低是什么意思| 滴虫性阴道炎用什么药| 什么花不用浇水| 1954年是什么年| 节点是什么意思| 循环系统包括什么| 硫酸亚铁是什么颜色| 大便稀溏是什么意思| 雷贝拉唑钠肠溶片什么时候吃| 花名册是什么意思| 今年67岁属什么生肖| 总想喝水是什么原因| 牛郎织女是什么意思| ba是什么元素| 颜值担当是什么意思| 血红蛋白浓度偏高是什么原因| 胃有息肉的症状是什么| 可定什么时间服用最好| 双子座是什么象| 丙辰是什么时辰| 潘字五行属什么| 活菩萨是什么意思| 什么来什么去| 月经期间头疼是什么原因| 葡萄和什么不能一起吃| 百度Jump to content

春节自驾游,那些意外的麻烦

From Wikipedia, the free encyclopedia
百度 推动高质量发展,是大国经济的必然选择  当前我国经济正处在转变发展方式、优化经济结构、转换增长动力的攻关期。

Binary data is data whose unit can take on only two possible states. These are often labelled as 0 and 1 in accordance with the binary numeral system and Boolean algebra.

Binary data occurs in many different technical and scientific fields, where it can be called by different names including bit (binary digit) in computer science, truth value in mathematical logic and related domains and binary variable in statistics.

Mathematical and combinatoric foundations

[edit]

A discrete variable that can take only one state contains zero information, and 2 is the next natural number after 1. That is why the bit, a variable with only two possible values, is a standard primary unit of information.

A collection of n bits may have 2n states: see binary number for details. Number of states of a collection of discrete variables depends exponentially on the number of variables, and only as a power law on number of states of each variable. Ten bits have more (1024) states than three decimal digits (1000). 10k bits are more than sufficient to represent an information (a number or anything else) that requires 3k decimal digits, so information contained in discrete variables with 3, 4, 5, 6, 7, 8, 9, 10... states can be ever superseded by allocating two, three, or four times more bits. So, the use of any other small number than 2 does not provide an advantage.

A Hasse diagram: representation of a Boolean algebra as a directed graph

Moreover, Boolean algebra provides a convenient mathematical structure for collection of bits, with a semantic of a collection of propositional variables. Boolean algebra operations are known as "bitwise operations" in computer science. Boolean functions are also well-studied theoretically and easily implementable, either with computer programs or by so-named logic gates in digital electronics. This contributes to the use of bits to represent different data, even those originally not binary.

In statistics

[edit]

In statistics, binary data is a statistical data type consisting of categorical data, that can take exactly two possible values, such as "A" and "B", or "heads" and "tails". It is also called dichotomous data, and an older term is quantal data.[1] The two values are often referred to generically as "success" and "failure".[1] As a form of categorical data, binary data is nominal data, meaning the values are qualitatively different and cannot be compared numerically. However, the values are frequently represented as 1 or 0, which corresponds to counting the number of successes in a single trial: 1 (success…) or 0 (failure); see § Counting. More intuitively, binary data can be represented as count data.

Often, binary data is used to represent one of two conceptually opposed values, e.g.:

  • the outcome of an experiment ("success" or "failure")
  • the response to a yes–no question ("yes" or "no")
  • presence or absence of some feature ("is present" or "is not present")
  • the truth or falsehood of a proposition ("true" or "false", "correct" or "incorrect")

However, it can also be used for data that is assumed to have only two possible values, even if they are not conceptually opposed or conceptually represent all possible values in the space. For example, binary data is often used to represent the party choices of voters in elections in the United States, i.e. Republican or Democratic. In this case, there is no inherent reason why only two political parties should exist, and indeed, other parties do exist in the U.S., but they are so minor that they are generally simply ignored. Modeling continuous data (or categorical data of more than 2 categories) as a binary variable for analysis purposes is called dichotomization (creating a dichotomy). Like all discretization, it involves discretization error, but the goal is to learn something valuable despite the error: treating it as negligible for the purpose at hand, but remembering that it cannot be assumed to be negligible in general.

Binary variables

[edit]

A binary variable is a random variable of binary type, meaning with two possible values. Independent and identically distributed (i.i.d.) binary variables follow a Bernoulli distribution, but in general binary data need not come from i.i.d. variables. Total counts of i.i.d. binary variables (equivalently, sums of i.i.d. binary variables coded as 1 or 0) follow a binomial distribution, but when binary variables are not i.i.d., the distribution need not be binomial.

Counting

[edit]

Like categorical data, binary data can be converted to a vector of count data by writing one coordinate for each possible value, and counting 1 for the value that occurs, and 0 for the value that does not occur.[2] For example, if the values are A and B, then the data set A, A, B can be represented in counts as (1, 0), (1, 0), (0, 1). Once converted to counts, binary data can be grouped and the counts added. For instance, if the set A, A, B is grouped, the total counts are (2, 1): 2 A's and 1 B (out of 3 trials).

Since there are only two possible values, this can be simplified to a single count (a scalar value) by considering one value as "success" and the other as "failure", coding a value of the success as 1 and of the failure as 0 (using only the coordinate for the "success" value, not the coordinate for the "failure" value). For example, if the value A is considered "success" (and thus B is considered "failure"), the data set A, A, B would be represented as 1, 1, 0. When this is grouped, the values are added, while the number of trial is generally tracked implicitly. For example, A, A, B would be grouped as 1 + 1 + 0 = 2 successes (out of trials). Going the other way, count data with is binary data, with the two classes being 0 (failure) or 1 (success).

Counts of i.i.d. binary variables follow a binomial distribution, with ?? the total number of trials (points in the grouped data).

Regression

[edit]

Regression analysis on predicted outcomes that are binary variables is known as binary regression; when binary data is converted to count data and modeled as i.i.d. variables (so they have a binomial distribution), binomial regression can be used. The most common regression methods for binary data are logistic regression, probit regression, or related types of binary choice models.

Similarly, counts of i.i.d. categorical variables with more than two categories can be modeled with a multinomial regression. Counts of non-i.i.d. binary data can be modeled by more complicated distributions, such as the beta-binomial distribution (a compound distribution). Alternatively, the relationship can be modeled without needing to explicitly model the distribution of the output variable using techniques from generalized linear models, such as quasi-likelihood and a quasibinomial model; see Overdispersion § Binomial.

In computer science

[edit]
A binary image of a QR code, representing 1 bit per pixel, as opposed to a typical 24-bit true color image.

In modern computers, binary data refers to any data represented in binary form rather than interpreted on a higher level or converted into some other form. At the lowest level, bits are stored in a bistable device such as a flip-flop. While most binary data has symbolic meaning (except for don't cares) not all binary data is numeric. Some binary data corresponds to computer instructions, such as the data within processor registers decoded by the control unit along the fetch-decode-execute cycle. Computers rarely modify individual bits for performance reasons. Instead, data is aligned in groups of a fixed number of bits, usually 1 byte (8 bits). Hence, "binary data" in computers are actually sequences of bytes. On a higher level, data is accessed in groups of 1 word (4 bytes) for 32-bit systems and 2 words for 64-bit systems.

In applied computer science and in the information technology field, the term binary data is often specifically opposed to text-based data, referring to any sort of data that cannot be interpreted as text. The "text" vs. "binary" distinction can sometimes refer to the semantic content of a file (e.g. a written document vs. a digital image). However, it often refers specifically to whether the individual bytes of a file are interpretable as text (see character encoding) or cannot so be interpreted. When this last meaning is intended, the more specific terms binary format and text(ual) format are sometimes used. Semantically textual data can be represented in binary format (e.g. when compressed or in certain formats that intermix various sorts of formatting codes, as in the doc format used by Microsoft Word); contrarily, image data is sometimes represented in textual format (e.g. the X PixMap image format used in the X Window System).

1 and 0 are nothing but just two different voltage levels. You can make the computer understand 1 for higher voltage and 0 for lower voltage. There are many different ways to store two voltage levels. If you have seen floppy, then you will find a magnetic tape that has a coating of ferromagnetic material, this is a type of paramagnetic material that has domains aligned in a particular direction to give a remnant magnetic field even after removal of currents through materials or magnetic field. During loading of data in the magnetic tape, the magnetic field is passed in one direction to call the saved orientation of the domain 1 and for the magnetic field is passed in another direction, then the saved orientation of the domain is 0. In this way, generally, 1 and 0 data are stored.[3]

See also

[edit]

References

[edit]
  1. ^ a b Collett 2002, p. 1.
  2. ^ Agresti, Alan (2012). "1.2.2 Multinomial Distribution". Categorical Data Analysis (3rd ed.). Wiley. p. 6. ISBN 978-0470463635.
  3. ^ Gul, Najam (2025-08-05). "How do different types of Data get stored in form of 0 and 1?". Curiosity Tea. Retrieved 2025-08-05.
  • Collett, David (2002). Modelling Binary Data (Second ed.). CRC Press. ISBN 9781420057386.
什么是低密度脂蛋白胆固醇 糖醋里脊是什么菜系 小肠火吃什么药效果快 一天两包烟会导致什么后果 右脚后跟疼是什么原因
10月5日什么星座 专业术语是什么意思 一惊一乍是什么意思 pgi2在医学是什么意思 女团是什么意思
我操是什么意思 验孕棒阴性是什么意思 柠檬黄配什么颜色好看 为什么额头反复长痘痘 过去式加什么
末法时代是什么意思 外阴苔癣是一种什么病 梦见家被偷了什么预兆 elle中文叫什么 神母是什么病
平方是什么意思hcv8jop3ns3r.cn 十月十一日是什么星座hcv8jop9ns3r.cn 心脏传导阻滞吃什么药sanhestory.com 淋雨了喝什么驱寒sanhestory.com 外阴白斑挂什么科hcv9jop1ns5r.cn
咽喉发炎吃什么药hcv8jop3ns8r.cn 1956年属什么hcv7jop5ns1r.cn 苡米和薏米有什么区别hcv7jop7ns1r.cn 男人要的归属感是什么hcv9jop6ns0r.cn 育字五行属什么hcv8jop5ns5r.cn
山竹什么人不能吃hcv8jop7ns4r.cn 今年67岁属什么生肖hcv9jop3ns8r.cn 牛肉不能和什么一起吃hcv8jop2ns0r.cn 智五行属性是什么hcv9jop0ns7r.cn 腿脚肿胀是什么原因引起的hcv7jop9ns6r.cn
荣辱与共是什么意思hcv7jop7ns0r.cn 大枕大池是什么意思beikeqingting.com 优衣库属于什么档次hcv9jop3ns2r.cn 奔是什么生肖hcv8jop3ns5r.cn 春天是什么样子的520myf.com
百度