Questions tagged [continuous]

A random variable X is called continuous if its set of possible values is uncountable, and the chance that it takes any particular value is zero (P(X=x)=0 for every real number x). A random variable is continuous if and only if its cumulative probability distribution function is a continuous function.

Overview

From Mood et al. (page 60, 1974):

"A random variable X is called continuous if there exists a function fX (.) such that

enter image description here

for every real number x. The cumulative distribution function FX (.) of a continuous random variable X is called absolutely continuous".

Mood, A. M., Graybill, F. A., & Boes, D. C. (1974). Introduction to theory of statistics. (B. C. Harrinson & M. Eichberg, Eds.) (3rd ed., p. 564). McGraw-Hill, Inc.

Excerpt reference: Glossary of Statistical Terms from berkeley.edu

Tag usage

Questions on tag should be about implementation and programming problems, not about the statistical or theoretical properties of this type of data. Consider whether your question might be better suited to Cross Validated, the Stack Exchange site for statistics, machine learning and data analysis.

438 questions
-1
votes
1 answer

is it possible to make a spline continous and smooth at both ends of a curve in gnuplot

I have data that are defined on a closed curve in 2D. The data is two columns x and y. x is the distance along the curve. y is in my case the gray value at the points x. Since the first and last y is the same, the curve is continuous. I want to…
tamifo
  • 9
  • 1
-1
votes
1 answer

Approximate continuous probability distribution in Matlab

Suppose I have a continuous probability distribution, e.g., Normal, on a support A. Suppose that there is a Matlab code that allows me to draw random numbers from such a distribution, e.g., this. I want to build a Matlab code to "approximate" this…
TEX
  • 2,249
  • 20
  • 43
-1
votes
1 answer

Continuous data and searching

I want to make a new way of handling animations for my game. Currently I detriment object animation states with two variables _physics_State & _direction_State used in a switch case and nested switch case respectfully. I want to move away from this…
Laurent
  • 69
  • 1
  • 8
-1
votes
1 answer

How to find the mean of a continuous variable for each categorical variable?

I am trying to calculate the average duration of UFO sighting (continuous) for each categorical shape that it is related with. Essentially, what is the average sighting length for each UFO shape? I tried: a <- aggregate(duration..seconds. ~…
-1
votes
1 answer

How do I merge or combine error rates?

Let's say I have a dataset that has 9 continuous columns of data and 4 columns of categorical data. In Matlab, I separate the columns into two groups and do training/testing (naïve bayes) on them separately and determine that the continuous columns…
swabygw
  • 813
  • 1
  • 10
  • 22
-1
votes
1 answer

Code times out Ruby

According as the number of elements in a set of numbers is odd or even, median of that set is defined respectively as the middle value or the average of the two middle values in the list that results when the set is sorted. Below is code for…
user17144
  • 428
  • 3
  • 18
-1
votes
1 answer

Ggplot: comparing multiple continuous variable with one binary variable

I am tring to plot(boxplots) multiple continuous variables (about 20 variables) with one binary outcome variable (either 0 or 1). data: ID outcome var1 var2 var3 var4 var5 1 0 62 2.01 13 1.94 8 2 0 150 …
sri
  • 1
  • 2
-1
votes
1 answer

Correlation matrix discrete continuous variables R

I have a dataset with these features : Duration-connect, IP, Duration-LogIn. Duration-connect and Duration-LogIn are continuous variable but IP is a caretgorical variabl wich contain the IP adress of the computer. I would like to create a…
Bio
  • 1,503
  • 3
  • 12
  • 15
-1
votes
2 answers

Python ping loop script to run on windows, error

I am trying to write a python script where you input a few ips and continuously ping them, then output a result. I wanted to have it loop through the ips and just keep going until stopped however I cannot get that to happen. Also the output if…
-1
votes
2 answers

Continuous update feature/event

Is there some kind of update feature like in C# for Visual Studio 2012 in vb.net? (so that it will continuously check to see if an if statement is fulfilled)
MilkToast
  • 201
  • 1
  • 3
  • 11
-1
votes
4 answers

Check for continuous order in array in javascript

var userInput = prompt('enter number here'); var number = new Array(userInput.toString().split('')); if (number ????){ //checks if the number is in a continuous stream alert(correct); } else{ alert(invalid); } In Javascript, what can I do at "????"…
BigBob
  • 1,015
  • 1
  • 8
  • 9
-1
votes
1 answer

php do something with interval

i have a form, say like this :
how to doing like this…
user2126044
  • 81
  • 10
-1
votes
2 answers

Creating an unbounded number of objects in Python 2.7.3

I have started to make an artificial life simulator in Python 2.7.3 but I am unable to create classes at runtime, continuously. I know that I can do this in C++ by storing the class in a list. Does anyone know how to do this? I mean something like…
-1
votes
1 answer

how to i loop the script so i can keep entering my options without an error on python

print'Personal information, journal and more to come' x = raw_input() if x ==("personal information"): print' Edward , Height: 5,10 , EYES: brown , STATE: IL TOWN: , SS:' if x ==("journal"): read = open('C:\\python\\foo.txt' , 'r') name =…
-2
votes
3 answers

How to create a new variable within a data frame based on multiple binary variables using R language?

The data frame df has 13 variables as follows, column 1-id column 2-pr_1 (pr_1 to pr_12 are binary variables) column 3-pr_2 column 4-pr_3 column 5-pr_4 column 6-pr_5 column 7-pr_6 column 8-pr_7 column…
fan lin
  • 33
  • 8
1 2 3
29
30