Skip to main content

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.

continuous
0 votes
0 answers
11 views

On R Identify when a qualitative variable changes from one value to another

On the x-axis I have dates and for each date I have a qualitative variable (colour). I would like to create on R a new df with the date on which my variable changes (e.g. the date from which I turn ...
Pauline Lefranc's user avatar
1 vote
1 answer
70 views

wes_palettes: How to obtain color hex codes from a wesanderson palette when it set to continuous with more than the predefined colors

Folks, I try to obtain color hex codes from a wesanderson palette when it is set to continuous with more colors than the predefined numbers of colors. library('wesanderson') To obtain all the hex ...
MsGISRocker's user avatar
3 votes
0 answers
56 views

Continuous Binary Search over Metric Space

I am studying the binary search problem on continuous intervals using a non-linear distance metric D. In this interval search, I'm restricting myself to binary queries, meaning the only information ...
SiegAndy's user avatar
0 votes
0 answers
192 views

Error: Discrete value supplied to a continuous scale

I am writing a code to make custom bland-altman plots. I saw that in one of my plots there was some proportional bias. Therefore I needed to transform my data. I used a transformation of difference/...
jord seegers's user avatar
0 votes
0 answers
54 views

how to combine discrete and continuous features in hmmlearn?

I am trying to train a Hidden Markov Model using hmmlearn. I have 4 features, out of which 3 are continuous and follow a Gaussian probability distribution. My 4th feature, however, is discrete and ...
mal.phys.v's user avatar
1 vote
1 answer
163 views

R ggplot: Size breaks for continuous variable

I am trying to create a scatterplot with different point sizes for a continuous variable R95p_e. However, I'd like to bin or create breaks for the continuous variable according to: iris <- iris %&...
MoonS's user avatar
  • 175
0 votes
1 answer
316 views

Gymnasium. Actions in continuous spaces

I am introduced to Gymnasium (gym) and RL and there is a point that I do not understand, relative to how gym manages actions. I've read that actions in a gym environment are integer numbers, meaning ...
user12717490's user avatar
2 votes
2 answers
370 views

How to calculate mean (Expected Value) of a custom continuous distribution from the probability density in R

The probability density and the calculation for the mean "by hand" are given below: I have coded the probability density function as: myfunc <- function(x){ ifelse(x >= 0 & x &...
Reader 123's user avatar
0 votes
0 answers
89 views

Simple Slopes analysis with glmmTMB model

I fit a model with glmmTMB. I have a significant interaction between continuous variables. But "sim_slopes" from the "interactions" library cannot perform the analysis. There were ...
Juan Santiago Guidobono's user avatar
0 votes
0 answers
14 views

How to convert genetic additive model from a binary to continuous variable to run a PheWAS in python

We are trying to run a PheWAS in the All of Us Researcher workbench using Python. The databse does not have any examples of converting the genetic additive model of binary variables (0/1, 1/1) to a ...
Jessica's user avatar
0 votes
0 answers
60 views

How can I input data automatically in a continuous data?

enter image description here How can I input data in column F with 4 consecutive data for each data like column E using the data in column D2:D? Is it possible? How should I modify the formula in F2? =...
choim's user avatar
  • 1
0 votes
0 answers
31 views

Plotting multivariate continuous data

I have a dataset that collected temperature on 10 different sensors each minute per three months. I have cleaned the dataframe omitting the 'NA's and excluding other variables like air temperature, ...
user22027606's user avatar
1 vote
0 answers
31 views

How to fix an error in a moderation model in R with continuous variables?

I am trying to run a moderation model in R but I don't have a lot of experience working with R and I struggle. I will appreciate any help and advise you can give me! I really want to learn. I am using ...
אלין קצ'וקי's user avatar
0 votes
1 answer
773 views

How to change data from discrete to continuous in R?

I have two columns of my "Review" dataset that are causing me issues - one "Year" has years formatted like "2001/02". The other "Hour" has the hour of the day ...
ecm1710's user avatar
0 votes
0 answers
17 views

Categorical exposure (genetic predisposition of a SNP) and continuous repeated measures outcome (depressive symptoms)

I am looking for some help on the following matter. I have to analyse the association between SNPs and depressive symptoms. Genetic predisposition of the SNP will be categorised in either 0,1 or 2 ...
Ana Wenzler's user avatar

15 30 50 per page
1
2 3 4 5
30