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
2
votes
2 answers

creating dummy quantile variable from continuous variable

Here is the data I am working with: x <- getURL("https://raw.githubusercontent.com/dothemathonthatone/maps/master/testmain.csv") data <- read.csv(text = x) I want to make a dummy variable for the top, middle, and lower third of the values in…
Collective Action
  • 7,607
  • 15
  • 45
  • 60
2
votes
0 answers

Run Function Multiple Times from same Concurrent.futures in Python

I'm working on a project which controls the speed of a motor and the temperature of a heating element. I have to run the sample time of the motor on 10Hz. The duration of the function that I use to read my temperature sensor is 0.8sec. So i can't…
2
votes
1 answer

How are incremental updates rolled out to a subset of customers on a website?

How do the guys like Google/Gmail/Facebook do incremental releases? For example, on the implementation side, what do they do to roll out features to a subset of customers? I can think of two possible implementations: Effectively put if…
Justin Thomas
  • 5,680
  • 3
  • 38
  • 63
2
votes
1 answer

Combining bar and line chart with numerical and categorical variables with ggplot R

I'm trying to combine a bar plot and line plot in ggplot using continuous and categorical variables. I basically need to do something like this: So far I've got this code: ggplot(data=nutrients, aes(x=Plot, y=Level, fill=Factor)) + …
Reduardo
  • 21
  • 2
2
votes
3 answers

R Count continuous number of a date variable by id

I have a database like this: dat = data.frame(id = c(rep("Adam", 5), rep("Bob", 10)), card_id = c(rep("0001", 2), rep("0002", 3), rep("0003", 5), rep("0004", 5)), bill_date = c("2017-01", "2017-02", …
velvetrock
  • 593
  • 1
  • 8
  • 18
2
votes
1 answer

ERROR: Failure: ModuleNotFoundError (No module named 'flask_sqlalchemy')

from flask import Flask, request, jsonify, make_response import json from flask_sqlalchemy import SQLAlchemy from datetime import datetime I have the import options in my app.py as above, the code runs well on my local machine but I get this error…
Bonifase
  • 21
  • 1
  • 5
2
votes
2 answers

How to insert NA rows to fill column to create complete continuous dataset

I currently have the dataset: Time Var1 Var2 Cat 1 14 16 1 2 16 98 1 4 52 68 1 7 17 12 1 1 57 58 2 3 45 35 2 4 33 12 2 7 77 1 2 And wish to be able to create continuous time variable for…
James Todd
  • 113
  • 1
  • 3
  • 12
2
votes
0 answers

Software version number in VCS or in continuous integration server?

I often discuss with my dev team how to build a good delivery workflow for our products but we are always facing the same questions concerning the versionning. During the continuous integration, who is responsible for maintaining and writing…
Kino101
  • 765
  • 8
  • 18
2
votes
6 answers

Grouping SQL results by continuous time intervals (oracle sql)

Hi I have following data in the table: ID-----startDate----endDate 5549 2008-05-01 4712-12-31 5567 2008-04-17 2008-04-30 1 5567 2008-05-01 2008-07-31 1 5567 2008-09-01 4712-12-31 2 5569 2008-05-01 2008-08-31 …
Kamil Zadora
  • 2,367
  • 6
  • 34
  • 43
2
votes
1 answer

How do I alternate display of 2 elements continuously in jQuery?

I have two image elements: I'm trying to create a continuous loop in jQuery whereby image1.gif is shown for 1 second, then disappears and image2.gif is shown for 1 second and so…
Andyh
  • 23
  • 2
2
votes
0 answers

R circlular wheel chart

I'm trying to make a wheel chart that has rings. My result looks like the lines all go back to zero before continuing to the next point. Is it a discreet/continuous issue? I've tried making Lap.Time and Lap both numeric to no avail: f1 <-…
Peter Nsanze
  • 69
  • 1
  • 11
2
votes
3 answers

Get hudson to checkout source to a specific directory

This seems like a simple task but for the life of me I can't get Hudson to checkout my source to a specific directory. I can checkout the source using svn on the command line. I tried specifying the Local Module setting under source code management…
danny
  • 81
  • 2
  • 5
2
votes
0 answers

How does the cut function address null/missing values?

I'm trying to use the cut() function in R to group continuous variables into buckets, like this: as.character(cut(ORIG_AMT, breaks = c(-Inf, 0, 25000, 50000, 75000, 100000, 125000, 150000, 175000, 200000, 250000, 300000, 350000, 418000, Inf) …
Nick L
  • 21
  • 3
2
votes
1 answer

How to Change sample times from continuous or constant to discrete in simulink

I am experiencing the following error in my simulink model, Simulink version 7.6 "All sample times for 'onlineclassifier/Enabled Subsystem/bufferSampW' must be discrete. No continuous or constant sample times are allowed" I am loading a 50X231…
Andres
  • 21
  • 1
  • 2
2
votes
1 answer

Group continuous numbers in a tuple with tolerance range

if i have a tuple set of numbers: locSet = [(62.5, 121.0), (62.50000762939453, 121.00001525878906), (63.0, 121.0),(63.000003814697266, 121.00001525878906), (144.0, 41.5)] I want to group them with a tolerance range of +/-…
lapolonio
  • 1,107
  • 2
  • 14
  • 24