# 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.

712 questions
Filter by
Sorted by
Tagged with
6 views

### Why variable representation plays a role in prediction?

I am working on binary classification using a random forest, where the data have 977 records and 6 columns. The class ratio is 77:23. I have two derived input variables. One variable is called ...
• 1,726
1 vote
27 views

### R Mediation with continuous predictor and binary logistic regression models

I am running a mediation model using the r mediation package, but I am not getting the correct output for my variable types. I have a continuous predictor, but the output is treating my predictor as a ...
1 vote
51 views

### How to consider categorial ordinal variable?

First, I would like to apologize because I'm a beginner in statistics and I'm surely confused on some points. I would like to explain a continuous quantitative variable, which is a species activity, ...
• 11
71 views

### Salary of a group of people is continuous or discrete

I have salary data of 3000 employees ranging from 3000 - 10000 dollars. Based on my understanding:(https://mathbitsnotebook.com/Algebra1/FunctionGraphs/FNGContinuousDiscrete.html) Continuous data is ...
• 123
31 views

### Trying to Understand my Data: New to Statistics

I’m new to statistics and I’m a bit overwhelmed by all of the methods that I’ve been reading about. I’m finding that my biggest hurdle is understanding how my data would fit into different models. I ...
1 vote
79 views

### How can $N(x|\mu, \sigma^2)$ not be 0?

How can $N(x|\mu,\sigma^2)$ not be 0? Because a Gaussian distribution is continuous and therefore there are an infinite number of values that x can occupy in the Gaussian distribution therefore the ...
• 129
24 views

### Distance is Quantitative continuous, Quantitative continuous on a ratio scale or Quantitative continuous in scale of intervals?

I have sample data and I have one variable which records distance from resident to place of work. I have to chose that this variable is actually of what type. It is Quantitative continuous for sure. ...
• 23
7 views

### Is feature scaling needed for dataset containing non-categorical and categorical independent variables?

I have a dataset containing 800+ label encoded (2-level as 0 or 1) categorical features and 4 non-categorical numerical features. The dependent variable is a non-categorical numerical value. Should I ...
8 views

### Interpreting a factor variable as numeric when quantity is clear and obviously continutous?

I'm looking at a data set from a famous paper by Box & Cox (An Analysis of Transformations) that reports the results of an experiment with yarn machines. It involved 3 factors with 3 levels each: ...
31 views

• 1,509
1 vote
48 views

### What hypothesis testing to use for continuous to categorical variables?

For example, I'd like to know if a person's age (a continuous variable) is related to whether the person drinks (a categorical/binary variable of Y or N). What method should I use to know If there's ...
11 views

### Are Hidden Markov Models the right tool for signal segmentation task?

I have a particular problem, and I would like to know if using a HMM is the correct tool for it. Apologies for the poor wording of the problem, HMMs are definitely not my specialty. I have the ...
• 101
183 views

### Visualizing multivariate multiple regression of continuous data in R

I have created a multivariate multiple regression model with 3 dependent and 3 independent variables in R, and would like to generate meaningful visualizations. All variables are continuous. When ...
1 vote
60 views

### categorical and continuous fixed effects in a linear mixed model

I heard that you can not combine continuous and categorical predictors in a linear mixed model. Is that true? Also, I was told to use continuous variables as random effects. Does that make sense? As ...
• 83
12 views

### Repeated measurements and sample size calculation for medical device

I’m trying to work out a sample size for a new device which measures a variable continuously over 1 hour in a participant (measurement 1). This variable will be compared with another measurement (2) ...
1 vote
18 views

### How to report and interpret a parameter of a SEM model with categorical and continuous variables

I have conducted a SEM model in MPlus where X and Y are categorical and M is continuous. So the path from X to Y are log odds, the path from X to M are betas, and the path from M to Y are log odds. I ...
• 11
91 views

### What is the right model for regression analysis with categorical, numerical and binary data?

I am currently stuck in choosing the right approach to investigate my dataset with Python (seeking for correlations between DV and IVs). Below I am trying to summarize everything that may be necessary ...
• 1
19 views

### How to compare means

I have 2 variables in my data. One variable is continuous and it is the dependent variable (grammaticality ratings). The second variable is categorical and has 6 levels (6 grammatical structures). I ...
• 3
1 vote
42 views

### Interpretation of two dummies interacted with one continuous variable

I am currently looking at the following equation using Stata and unsure of how to interpret the interaction terms when there are three variables interacted together (2 binary variables and one ...
• 11
17 views

### Predicting a continuous outcome from trichotomic variables

This question is somewhat related (but no identical) to this previous topic. I would like to predict a positive continous variable $Y$ (namely, the age in years) from about 40 trichotomic variables. ...
344 views

### Is the use of cutoffs for dichotomisation of biomarkers really that bad?

Tissue microarrays are commonly used to assess potential prognostic biomarkers. For decades now, many authors (I would even say the majority) feel the need to categorise their continuous predictors, ...
48 views

### How to define Unit-specific quantity of the effect of a continuous variable on another continuous one?

Recently Lundberg, 2021 [1] emphasized the necessity to define a unit-specific quantity, target population, and causal diagram, to clarify the theoretical and empirical estimands of any quantitative ...
• 175
1 vote
43 views

### What are the best algorithms to predict a continuous target where I only have binary attributes? [closed]

Hello, I am new to machine learning and have a project where the dataset consists of binary attributes and the target("Pawpularity") has a continuous value. I was wondering if you could ...
• 11
1 vote
19 views

### Repercussions of misclassifying variable type during correlation determination?

I have multiple variables like as below a) Product Ids (input - nominal/ordinal) # This column has repeated values (though the ids are specific for a product) b) Product Type (input - nominal) c) ...
• 1,726
59 views

### Is z-transforming continuous variables always necessary?

I fitted a LMM with two continuous variables (actually they are more like discrete variables,varying from 0-7)and a categorical variable. The summary function showed that the two continuous variables ...
106 views

### categorical IVs, continuous moderator and DV - statistical test

I'm planning an experimental research. My research question is when do my treatments could be effective in influencing intention. Below are variables to be set. treatments / scenarios / IVs: 3 ...
• 13
1 vote
20 views

### How should i treat this data, as a covariate or as a factor?

In my research group, I'm in charge of the statistical analysis of the data generated by the team, but I am fairly new to all of these statistics. So, I have this ambient temperature data (which on ...
1 vote
20 views

### How to model the joint distribution of continuous and discrete features (and estimate the model)?

Suppose a typical house in the market has 3 features $X_1$, $X_2$, $X_3$. $X_1$ is the square footage of the apartments interior living space, $X_2$ is the square footage of the land space and $X_3$ ...
• 1,662
39 views

### How to treat a continuous variable in logistic regression that has only a few levels? Ordinal vs continuous

I'm building a logistic regression model, predicting recidivism which is the act of committing a crime after one has been released from prison for a prior criminal deed. One of the variables in the ...
38 views

### Binned continuous x axis and stacked probability bars on y axis - does this plot have a name?

After reading a question about binned continuous x axis and stacked probability bars on y axis I am wondering whether this plot has a name. Here is an example: What this plot shows: We see how the ...
35 views

### Suppose $X$ follows normal and $Y$ follows Bernoulli, wrt which measure does $(X,Y)=(-0.005,1)$ have a measure zero?

Suppose $X$ follows standard normal distribution and $Y\in\{0,1\}$ follows Bernoulli(0.5),i.e., $Pr(Y=1)=0.5$. Intuitively, I know the point or event $(X,Y)=(-0.005,1)$ has a measure of zero. But I ...
• 1,662
30 views

### One continuous variable and one categorical variable (with four categories)

I have a dataset and want to see whether participants’ happiness ratings were affected by the season they were interviewed in? How do I do that in R since my categorical variable has four levels?
42 views

### Getting binary class from continuous values of neural network output [duplicate]

I have a custom neural network that I wrote from scratch and it does lot of mathematical computations and the output is a continuous value. I want to get the binary class output from these continuous ...
• 11
66 views

### Number of bins for discretization

How do I decide on the right number of bins to discretize my continuous data? Are there are tests/techniques to do the same? Could someone give me some idea into existing approaches?
• 195
14 views

### Handling null continuous values in Logistic Regression with inverse values

I've got a data set of prisoners, where the measured variable is the probability of a recurring act of crime, which is counted as having occurred when a former convict is interrogated as a suspect in ...
167 views

### Estimating mutual information with gaussian kde between two continuous variables in python

I am trying to write a python code to estimate the mutual information between two continuous variables in python, using a gaussian kde to estimate the probability distributions. Checking it with ...
19 views

### Binomial GLM with Logit Link on Continuous Data given Frequency Weights [duplicate]

I'm wondering what R is doing in the background when given rate/proportion data and frequency weights. The Binomial GLM should only fit {0,1} data but the results still seem fairly accurate. Does it ...
25 views

### Should I convert my numeric arbitrary values with ordinal ones?

I'm testing the scores of a test against those of another, related test. In the X axis, I have the sum of 15 questions, 1 point each. In the Y axis, I have the sum of 4 questions, also 1 point each. I ...
• 259
18 views

### mean center interaction term

I'm using multiple linear regression to measure both the main effects of SES (income, household size, education level) on a kindness scale, adding an interaction between income (rating between 1-7 ...
1 vote
25 views

### What method for analysis of pooled data (continuous variable) [closed]

I sought to perform meta analysis of continuous variables I have extracted mean and SD from multiple studies for a variable What is the statistical method to compute a "global" mean + SD ...
22 views

44 views

### Why do discretised predictors have lower statistical power than continuous predictors?

In designing an analysis, I'd like to decide between using discretised variables versus using the original, continuous variable (the reason being that in this particular case, collecting discretised ...
• 268
1 vote
14 views

### Can I pool studies in a meta analysis with binary and continuous outcomes? [duplicate]

I'm currently completing a meta-analysis (in r using the meta/metafor package) looking at predictors of treatment response in patients suffering from a particualr mental disorder (psychosis). Some ...
• 21
25 views

### PR estimation of a cross sectional study with a continuous variable possibly by Cox proportional hazard regression

I have a table of a simple cross sectional data: ...
• 101
I am struggling with understanding the notion of the infinity of the mutual information. Say, one has an multidimensional continuous Gaussian variable $(X_1, X_2...X_d)$. Why would the mutual ...