Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Continuous or discrete variable

From Wikipedia, the free encyclopedia
Types of numerical variables in mathematics
Not to be confused withDiscrete-time and continuous-time variables.
Variables can be divided into two main categories:qualitative (categorical) and quantitative (numerical). Continuous and discrete variables are subcategories of quantitative variables. Note that this schematic is not exhaustive in terms of the types of variables.
Part of a series onstatistics
Probability theory

Inmathematics andstatistics, a quantitativevariable may becontinuous ordiscrete. If it can take on tworeal values and all the values between them, the variable is continuous in thatinterval.[1] If it can take on a value such that there is a non-infinitesimal gap on each side of it containing no values that the variable can take on, then it is discrete around that value.[2] In some contexts, a variable can be discrete in some ranges of thenumber line and continuous in others. In statistics, continuous and discrete variables are distinctstatistical data types which are described with differentprobability distributions.

Continuous variable

[edit]

Acontinuous variable is a variable such that there are possible values between any two values.

For example, a variable over a non-empty range of thereal numbers is continuous if it can take on any value in that range.[3]

Methods ofcalculus are often used in problems in which the variables are continuous, for example in continuousoptimization problems.[4]

Instatistical theory, theprobability distributions of continuous variables can be expressed in terms ofprobability density functions.[5]

Incontinuous-timedynamics, the variabletime is treated as continuous, and the equation describing the evolution of some variable over time is adifferential equation.[6] Theinstantaneous rate of change is a well-defined concept that takes the ratio of the change in the dependent variable to the independent variable at a specific instant.

This is an image of vials with different amounts of liquid. A continuous variable could be the volume of liquid in the vials. A discrete variable could be the number of vials.

Discrete variable

[edit]

In contrast, a variable is adiscrete variable if and only if there exists a one-to-one correspondence between this variable and a subset ofN{\displaystyle \mathbb {N} }, the set ofnatural numbers.[7] In other words, a discrete variable over a particular interval of real values is one for which, for any value in the range that the variable is permitted to take on, there is a positive minimum distance to the nearest other permissible value. The number of permitted values is either finite orcountably infinite. Common examples are variables that must beintegers, non-negative integers, positive integers, or only the integers 0 and 1.[8]

Methods of calculus do not readily lend themselves to problems involving discrete variables. Especially in multivariable calculus, many models rely on the assumption of continuity.[9] Examples of problems involving discrete variables includeinteger programming.

In statistics, the probability distributions of discrete variables can be expressed in terms ofprobability mass functions.[5]

Indiscrete time dynamics, the variabletime is treated as discrete, and the equation of evolution of some variable over time is called adifference equation.[10] For certain discrete-time dynamical systems, the system response can be modelled by solving the difference equation for an analytical solution.

Ineconometrics and more generally inregression analysis, sometimes some of the variables beingempirically related to each other are 0-1 variables, being permitted to take on only those two values.[11] The purpose of the discrete values of 0 and 1 is to use the dummy variable as a ‘switch’ that can ‘turn on’ and ‘turn off’ by assigning the two values to different parameters in an equation. A variable of this type is called adummy variable. If thedependent variable is a dummy variable, thenlogistic regression orprobit regression is commonly employed. In the case of regression analysis, a dummy variable can be used to represent subgroups of the sample in a study (e.g. the value 0 corresponding to a constituent of the control group).[12]

Mixture of continuous and discrete variables

[edit]

A mixed multivariate model can contain both discrete and continuous variables. For instance, a simple mixed multivariate model could have a discrete variablex{\displaystyle x}, which only takes on values 0 or 1, and a continuous variabley{\displaystyle y}.[13] An example of a mixed model could be a research study on the risk of psychological disorders based on one binary measure of psychiatric symptoms and one continuous measure of cognitive performance.[14] Mixed models may also involve a single variable that is discrete over some range of the number line and continuous at another range.

In probability theory and statistics, the probability distribution of a mixed random variable consists of both discrete and continuous components. A mixed random variable does not have acumulative distribution function that is discrete or everywhere-continuous. An example of a mixed type random variable is the probability of wait time in a queue. The likelihood of a customer experiencing a zero wait time is discrete, while non-zero wait times are evaluated on a continuous time scale.[15] In physics (particularly quantum mechanics, where this sort of distribution often arises),Dirac delta functions are often used to treat continuous and discrete components in a unified manner. For example, the previous example might be described by a probability densityp(t)=αδ(t)+g(t){\displaystyle p(t)=\alpha \delta (t)+g(t)}, such thatP(t>0)=0g(t)=1α{\displaystyle P(t>0)=\int _{0}^{\infty }g(t)=1-\alpha }, andP(t=0)=α{\displaystyle P(t=0)=\alpha }.

See also

[edit]

References

[edit]
  1. ^Kaliyadan, Feroze; Kulkarni, Vinay (January 2019)."Types of Variables, Descriptive Statistics, and Sample Size".Indian Dermatology Online Journal.10 (1):82–86.doi:10.4103/idoj.IDOJ_468_18.PMC 6362742.PMID 30775310.
  2. ^K.D. Joshi,Foundations of Discrete Mathematics, 1989, New Age International Limited,[1], page 7.
  3. ^Brzychczy, Stanisaw; Gorniewicz, Lech (2011). "Continuous and discrete models of neural systems in infinite-dimensional abstract spaces".Neurocomputing.74 (17):2711–2715.doi:10.1016/j.neucom.2010.11.005.
  4. ^Griva, Igor; Nash, Stephen;Sofer, Ariela (2009).Linear and nonlinear optimization (2nd ed.). Philadelphia: Society for Industrial and Applied Mathematics. p. 7.ISBN 978-0-89871-661-0.OCLC 236082842.
  5. ^abDekking, Frederik Michel; Kraaikamp, Cornelis; Lopuhaä, Hendrik Paul; Meester, Ludolf Erwin (2005)."A Modern Introduction to Probability and Statistics".Springer Texts in Statistics.doi:10.1007/1-84628-168-7.ISBN 978-1-85233-896-1.ISSN 1431-875X.
  6. ^Poyton, A. A.; Varziri, Mohammad Saeed; McAuley, Kimberley B.; MclellanPat James, Pat James; Ramsay, James O. (February 15, 2006). "Parameter estimation in continuous-time dynamic models using principal differential analysis".Computers & Chemical Engineering.30 (4):698–708.doi:10.1016/j.compchemeng.2005.11.008.
  7. ^Odifreddi, Piergiorgio (February 18, 1992).Classical Recursion Theory: The Theory of Functions and Sets of Natural Numbers. North Holland Publishing Company. p. 18.ISBN 978-0444894830.
  8. ^van Douwen, Eric (1984).Handbook of Set-Theoretic Topology. North Holland: Elsevier. pp. 113–167.ISBN 978-0-444-86580-9.
  9. ^Clogg, Clifford C.; Shockey, James W. (1988).Handbook of Multivariate Experimental Psychology. Boston, Massachusetts: Springer Publishing Company. pp. 337–365.ISBN 978-1-4613-0893-5.
  10. ^Thyagarajan, K.S. (2019).Introduction to Digital Signal Processing Using MATLAB with Application to Digital Communications (1 ed.). Springer Publishing Company. pp. 21–63.ISBN 978-3319760285.
  11. ^Miller, Jerry L.L.; Erickson, Maynard L. (May 1974). "On Dummy Variable Regression Analysis".Sociological Methods & Research.2 (4):395–519.doi:10.1177/004912417400200402.
  12. ^Hardy, Melissa A. (February 25, 1993).Regression with Dummy Variables (Quantitative Applications in the Social Sciences) (1st ed.). Newbury Park: Sage Publications, Inc. p. v.ISBN 0803951280.
  13. ^Olkin, Ingram; Tate, Robert (June 1961)."Multivariate Correlation Models with Mixed Discrete and Continuous Variables".The Annals of Mathematical Statistics.32 (2):448–465.doi:10.1214/aoms/1177705052.
  14. ^Fitzmaurice, Garrett M.; Laird, Nan M. (March 1997). "Regression Models for Mixed Discrete and Continuous Responses with Potentially Missing Values".Biometrics.53 (1):110–122.doi:10.2307/2533101.JSTOR 2533101.
  15. ^Sharma, Shalendra D. (March 1975). "On a Continuous/Discrete Time Queueing System with Arrivals in Batches of Variable Size and Correlated Departures".Journal of Applied Probability.12 (1):115–129.doi:10.2307/3212413.JSTOR 3212413.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Continuous_or_discrete_variable&oldid=1300916637"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp