Questions tagged [continuous-data]

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 ($\text{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.

803 questions
Filter by
Sorted by
Tagged with
15 views

Is binning discrete variables a good idea?

This is a follow-up question to What is the benefit of breaking up a continuous predictor variable? Is binning of continuous data always bad for statistical tests? [duplicate] From the above ...
• 406
23 views

Mediation analysis with continuous mediator?

I would like to conduct a mediation analysis with a continuous mediator. I have a hard time finding comprehensive guides on how to do this. From what I have read, bootstrap-based mediation is ...
43 views

Visualization and interpretation GAM three-way interaction (2 continuous, 1 categorical variable)

I'm relatively new with gams, yet handling a complex dataset.I've gone over some of the previous questions on related topics and have made some progress in understanding the interaction with GAM, but ...
48 views

Is there a way to calculate LC50 from a continuous dependent variable?

I'm very new to R and also statistics, so the basics are lost on me. In the past I have done some simple experiments with chemicals and calculating the LC50 from binary responses (dead or alive). ...
• 21
24 views

How to determine the correlation between a discrete variable and a continuous variable? [duplicate]

I have 9 conditions (discrete variables) with each having only two states: occurrence (corresponding to 1) and non-occurrence (corresponding to 0), resulting in a total of approximately 511 ...
154 views

Are dichotomous categorical variables technically interval/continuous measures?

In my university statistics book it says "Dichotomous categorical variables are easily handled in MRA. This is because they are by definition, an interval (continuous) measure.". However I ...
• 55
62 views

How to model the interaction between two continuous variables and two factors using gams with mgcv? [closed]

I was wondering how I could model the effect of two continuous variables X1 and X2 and two factors F1 and F2 and their interaction on a outcome Y using gams. What I primarily want to know is (in ...
48 views

How do you model the two-way interactions between a continuous variable and two factors but not the three-way interaction with GAMs?

For the example, let's suppose I'm trying to model the level of activity of some frogs depending on a continuous variable (water temperature) and two factors : their sex (M or F) and the period of the ...
32 views

Can I model the interaction between a continuous variable and two factors separately for each factor?

I'm wondering if I can model the effect of the interaction between a continuous variable and two factors in a model without including the three-way interaction between the two factors. Let's imagine I ...
15 views

Statistical approach to explain variance in different types of soil health data (organic material decomp vs lab based measures)

Seeking feedback and guidance on the statistical approach to explain variance in soil health data for a scientific paper on the sensitivity of organic material (teabag) decomposition to commonly used ...
• 31
1 vote
20 views

Imputing a Continuous P-value Distribution from Discrete P-values [closed]

I'm exploring methods to create a continuous-like P-value distribution from discrete P-values. For example, consider the process where a balanced coin is tossed four times per experiment to note the ...
• 143
1 vote
45 views

Impulse response function for discontinous time series

I have monthly time series on forecasts (for the months of August, September, October, November, December, and January.) The data is only available for these months and doesn't exist for other months. ...
• 11
1 vote
34 views

Paired study designs for continuous data vs other types of data

My teacher says : We're going to consider something called a paired design. But for now, we'll only consider this when we're doing continuous outcomes. Sometimes you'll see this in the literature, ...
1 vote
21 views

Can you derive the standard error of odds ratio, from a method (Kraemer and Kupfer) that derives Risk Difference (and its SE) from continuous data?

Let's say that we have a RCT trial going on and the outcome is a continuous variable. In this paper https://pubmed.ncbi.nlm.nih.gov/23045205/ there are 4 methods that calculate approximated odds ...
281 views

What statistical analysis test can be used to find the direction of effect?

I'm doing research on the effect of strategic video game play on students' mathematical ability. My independent variable is the number of hours spent playing strategic games daily, but my data is not ...
109 views

Two-Group Hypothesis Testing

Will unpaired t-test, definitely reject the null hypothesis if there is a non-zero difference in the population means for the two populations from which the samples are taken?
45 views

Ordinal independent variable (IV) and continuous dependent variable (DV)

My independent variable is measured on a likert scale (1–5). My moderator is dichonomous (yes or no) I want to use SPSS process macro to measure the moderation relationship. Should I use a dependent ...
• 21
58 views

Can I ignore "Control" and "Treated" from the output of the mediation package if my predictor is continuous?

I am trying to run mediation analysis to see if one continuous biological variable mediates the relationship between another continuous biological variable and a time-to-event survival outcome. I am ...
• 85
74 views

transforming a continous respond variable into a discrete one

I am visually estimating fish length underwater to convert it in fish biomass by means of proper length-weight relationships. Obviously, my accuracy is not perfect. When making hypothesis about ...
• 21
75 views

Discrete test statistics cannot form a uniform P-value?

I received this feedback on my permutation test design from a collaborator and I'm wondering if his claim is valid. My test statistics are discrete (like counting the number of red marbles found after ...
• 143
290 views

Probability Theory (Jaynes' approach based on Cox theorem) CDF how to prove increasing monotonicity of this function?

In his book Probability Theory: the Logic of Science, Jaynes defines at page $107$ (chapter $4.5$) the continuous probability function. To do so, he introduces a real continuous "random" ...
• 189
1 vote
66 views

Choosing the right statistical analysis for my data

I have 20 field plots. In each plot, I have taken between 1000–1500 measurements (continuous values) of a given variable using an instrumental device and recorded information qualitatively through ...
• 223
51 views

Which statistical tests should I use for predicting one variable with another one?

I want to investigate the association between the serum glucose level of a patient with type 2 diabetes at the baseline (continuous) and distal neuropathy (categorical), $5$ years after the diagnosis. ...
9 views

Analysis method for comparison of means in zero-inflated non-paired continuous data

I am currently doing my first project involving a lot of statistics and I've stumbled into a bit of a problem. I am researching if comments from two different subreddits explainlikeimfive (ELI5) and ...
1 vote
152 views

How to account for spatial autocorrelation when the outcome (distance cycled) is continuous?

I aim to predict distance cycled based on population density, recreational area density, infrastructure density, road intersection density, and average gradient (hilliness). The response variable, ...
• 21
96 views

Losing significance when adding variables to hierarchical regression model

I have two hierarchical models with continuous variables. In the first block, one of the variables is significant. However, in the second block, when I add three more variables the first variable ...
109 views

Correlation Coefficient between discrete and continuous: is it possible?

Is it correct to measure the correlation coefficient between a continuous variable and a discrete variable? I visualized it and there is definitely no linear relationship the way I see it that is why ...
33 views

Psuedo-"Odds ratio" for multiple columns

I have a dataset with a categorical target ($y$) and multiple categorical features ($x_1$, $x_2$, ..., $x_i$). I have been able to successfully use a logistic regression model to calculate an odds ...
• 101
10 views

Predictive Modeling of Overseas Filipino Workers' Average Length of Stay: A Comparison of Linear and Poisson Regression Models

i want to find our average length of stay in months with a discrete values however the number of months in the dataset is up to 60 that we can treat as continuous. I would like to determine when is ...
35 views

Correlation between two groups over a set of treatments for a continuous value

I have two groups tested with a set of treatments, and the measured quantity is continuous. Is there a good way to compute the correlation between the two groups? For example, I have two types of ...
• 101
18 views

How can I perform a comparison of poisson and linear modelling using one dataset?

my y is average length of stay in months however the number of months in dataset is up to 60 so I can treat it as continuous but my main objective is to identify when can i determine it's better to ...
1k views

"Decade" variable ranging over 130 years - Can I treat this as continuous? I've seen it done with 8pt scales...but it doesn't past the smell test

My dataset includes "decade founded" but not "year founded" for organizations. I need to include some "maturity" variable in the model. Decade is the best I have. The ...
14 views

Equating between short form and long form of the same instrument

I have encountered several instruments in psychology and related fields where we have multiple versions of the same instrument, specifically a short form and a long form. For instance, the patient ...
31 views

Practically and probabilistically modeling discrete data that can take on a countable (potentially infinite) number of values?

As an example, let's say that we have observations of the price of some good at various points in time and would like to predict the distribution of the price of the good one point in the future from ...
• 451
1 vote
294 views

How to do a moderation analysis with dichotomous IV, continuous MV and continuous DV

I’m trying to do my data analysis (SPSS) for my thesis and I’ve been stuck for days. My supervisors also don’t know what test is best or they don’t respond to emails. I have 1 continuous MV (sleep ...
• 11
1 vote
214 views

Interpretation of multiple logistic regression (continuous variables) with interaction term

I have two independent variables, distance and light intensity (continuous variables) that I want to understand their ...
• 59
11 views

Two-sample statistical significance test taking into account group membership (proportions) and numeric comparison

Say I have two samples of observations, S1 and S2, which can be of unequal sizes. For each observation, I have two variables: G (a categorical group assignment, say it is binary with values A/B), and ...
• 171
25 views

Mixture Model: Data Consist of Continuous and Binary Features

I have a features like below id x1 x2 x3 x4 x5 id1 0.4 1.4 5.6 1 0 id2 -0.01 0.5 -3.4 0 1 where x1, x2, x3 are continuous features and x4 and x5 are binary. The goal is to find $k$ clusters using ...
1 vote
52 views

Help in identifying appropriate statistics to analyze repeated measures data with multiple trials

In a repeated measures design with multiple trials, what would be some appropriate statistical techniques used to analyze data when the variable of interest is a continuous variable? For example, let'...
• 135
86 views

Using both discrete and continuous moves in Metropolis-Hastings

I want to sample a continuous distribution $f$ using the Metropolis-Hastings algorithm. Can I define my transition kernel as being sometimes discrete and sometimes continuous as long as I use the ...
• 33
63 views

Converting a continuous metric to a proportion for increased power

I run online A/B tests and I guess I have some basic stats background, but I've encountered a situation where I don't feel confident about. We plan to track page load time in each experiment to make ...
• 213
69 views

Dichotomizing a continuous predictor leading to differing effects on 2 outcomes

I am fairly new to statistics as a Phd student. I am trying to understand how dichotomizing a continuous variable can lead to distinct effects on two dependent variables. So in a cross-sectional ...
• 35
1 vote
41 views

Interpreting interactions in Cox Proportional Hazard models

I am currently doing an interactions paper with cox models to assess time to criminal recidivism as an outcome, but am struggling with the interpretations. My two variables that are part of the ...
• 11
51 views

For a logistic regression, how to include continuous independent variable that also depends on binary independent variable?

Hi trying to better understand the statistical approach for the below problem. We'd like to build a logistic model (binary outcome) with two independent variables: one binary and the other continuous. ...
• 23
1 vote
162 views

Analyzing importance of continuous and categorical variables in linear regression in R

I am using R. I have a data set with a binary (0,1) response and both continuous and categorical predictors. I would like to test the overall importance of these predictors one by one, and I am ...
27 views

2 or more continious features in Tree classification

If a training set has a continious feature, some texts recommend that first the dataset is sorted based on the continious feature, and then split points are chosen. What I am not sure about, is how ...
1 vote
46 views

Bayesian inference for continuous prior and discrete likelihood

I’m trying to wrap my head around an applied engineering problem which can be formulated in the following way. There is a black box which produces exponentially distributed events $E$ with random ...
• 11
1 vote
44 views

Is generation/evaluation of probabilistic predictions on continuous data feasible for larger data sets in practice?

To better capture uncertainty about the phenomena that we model, probabilistic predictions seem to be a natural and common extension of point predictions. Methods for evaluation of these predictions ...
• 451
1 vote