# Questions tagged [variable]

Very unclear, please avoid and find a more specific tag

100 questions
Filter by
Sorted by
Tagged with
14 views

### find a suitable statistical method to analyze Yes/ No type qualitative data

I have done a survey on finding the applicability of Co- management system on a reservoir. This survey contains 8 main points. Under one main point, I included some Yes/No questions (No of questions ...
1 vote
23 views

### Methods for selecting the best variable into the regression model

I have constructed a continuous variable by using two different methods. Now I want to know the variable created under which way is the best and should be included in the model. Some preliminary ...
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. ...
17 views

### log transformation with the self-reported health score variables

With self-reported health scores (as a dependent variable) - such as CES-D for depression which typically ranges from 0 to 60, I was wondering whether log-transforming these scores would allow me to ...
1 vote
26 views

### Mediator variable causality

For my master's thesis I want to study the relationship between structural transformation (IV) and subjective well-being (DV). However, income level (GDP) is correlated to both variables. Higher ...
58 views

Would anyone know how I could interpret the log-log regression with age below? ln (Income) = const + 0.30 ln(Age) + ut I don't understand how it is possible to say that if age increases by 1%, income ...
1 vote
35 views

### Do control variables in regression models have to be confounders? [duplicate]

So everything I'm reading on this throws out a different answer. Do control variables in regression models have to be confounders, that affect both the independent and dependent variables? I have an ...
1 vote
66 views

### Should I incorporate sex as a control variable or use multi-level modelling?

I'm doing a linear regression model to look at how socio-economic status impacts children's height. My dataset will be survey data for both males and females. To me, it makes sense to control for sex, ...
51 views

### Multivariate linear regression. Is it ok to include categorical variables with some levels that only have few entries?

I am trying to modell car price data using different variables horsepower, car brand etc. My concern is with adding categorical variables that have few entries in some levels. For example let's say I ...
1 vote
33 views

### How to run experiments in such a way to understand the underlying sources of variation?

Suppose I have some outcome variable $Y$ that depends on several factors $F_1, \ldots, F_m$, which I assume to be binary for simplicity. Each time I conduct an experiment on levels of the factors, I ...
22 views

### How to control for the effects of a variable in multiple regression analysis?

So I have a data set which includes three independent variables- age,depression score, and anxiety scores. My dependent variable is quality of life. Now, I want to control for the effect of age over ...
12 views

### How do you "correct" a dependent variable for an independent variable? [duplicate]

How do you "correct" a dependent variable for an independent variable (which shows a correlation with the dependent variable but is not a significant predictor in the model/regression ...
34 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?
44 views

### Variable Importance in Logistic Regression

my question is related to this post using glm for logistic regression and scaling. My question is, why in the solution proposed by @gung - Reinstate Monica the chi-squared statistic obtained from the ...
14 views

### Can I create a numerical variable from the combination of other numerical variables? [duplicate]

I am working with a dataset that contains limnological parameters. This dataset contains turbidity-related measures in different units and consequently different ranges. Is there a way to create a ...
38 views

### Is there a way to create a numeric variable from a numeric set of measurements with different ranges?

I am working with a dataset that contains limnological parameters. One of them is turbidity-related measures in different units and consequently different ranges. Is there a way to create a numerical ...
11 views

### Does a higher score on 2 social behavior questionnaires, relatively often precede a lower score on a complaints questionnaire, using 3 time points

I would like to link a quantitative outcome measure/dependent variable (score on a questionnaire) to the scores on two questionnaires measuring the same construct (quantitative independent variable, ...
12 views

### Partial least squares model reduction

I wonder if there could be any problem with the following approach. I run partial least squares analysis on 3 responses of interest and all available predictors (110). Then I check VIP (variable ...
1 vote
81 views

### How to get overall p-value in multinomial regression after MICE on R

I run multinomial regression after multiple imputation in R. This is a GEE multinomial model with a survey design : ...
1 vote
31 views

### Linear Regression Variable Selection

##Linear Regression Variable Selection Hi I am running a simple single variable linear regression model where covid deaths per 100,000 are my dependent variable and my independent variable is % of ...
1 vote
12 views

### Properly set-up indepenent variables for polynomial logistic regression

I would like to conduct an analysis to identify factors that affect whether or not a first purchase was made. In this context, there are three outcomes I want to predict: Did not buy anything Did buy ...
1 vote
88 views

### Why person-years follow a Poisson ditribution?

While studing poisson distributions, this simple question came to my mind: Poisson distribution are made of variables which only have integer numbers and are always >0 (as an example: number of ...
1 vote
19 views

### How to reduce number of variables for path analyses/SEM?

I'm planning to create a path analysis or SEM model to look at what environmental factors affect how a species is distributed in space. I'm interested in looking at climate, landcover, and a few other ...
8 views

### Multi-level Mixed-effect Modeling of Growth Trajectories: Grand mean-centering or Transformation to Normal for Dependent Variable?

When it comes with analyzing growth trajectories by multi-level mixed-effect modeling, What would be technically appropriate when the dependent variable originally shows a severe positive skewness ...
17 views

### How to measure the overlap quality of a feature?

For a communication related project, I want to measure the overlapping quality of three features based on three applications. I have a data set as follows: There are three types of activities: Audio, ...
662 views

### Estimate normal distribution from dnorm in R

The function dnorm(x) in R gives you the value of the probability density function in the points x of a certain normal distribution (mean = 0 and SD = 1 by default),...
49 views

### How do I enter the time of day and time deltas as variables into a regression model in python? [closed]

I want to predict adherence from the variability in times of day at which medications are taken. However, I can't enter variables which describe this variability in the times of day into the linear ...
183 views

### Can we use fractional regression for a dependent variable that is made of continuous numerator and denominator?

I have a dependent variable that is a ratio, which takes values between 0 and 1. Some 30% of values are 1s. The dependent variable measures the distribution of funds and is calculated as amount of ...
62 views

### A variable that affects the dependent variable and is affected by another independent variable

I was analyzing happiness records data. One of the variables was trust in government and I hypothesized that this variable does not have an actual impact on the happiness score. I believe that this ...
1 vote
31 views

### Principal components as independent variables

I have a dataset, which has several environmental variables (lets say 5) measured in 3 different stations over 12 months of the year. I have done the PCA and obtain two principal components (PC1 and 2)...
1 vote
61 views

### How to compare the outcomes of a 3-variable test in a grid?

If I do a test; say, measuring the brightness of a room; and I have two variables (e.g. lamp on/off and window open/closed), I can display the results in a spreadsheet like so: Lamp: On Lamp: Off ...
77 views

### Numeric variable with outliers as a categories

I'm working with a dataset that has a few variables that I'm having difficulty trying to preprocess. So one of them is called MENTHLTH where it is a numeric variable. The point of the variable is to ...
32 views

### Putting into words variable transformation

If Y is a random variable which comes from a transformation of X : $Y = \phi(X)$, the formula for the tranformation of this random variable can be written as follows :  F_Y(y) = P(Y \leq y) = P(X \...
654 views

### BMI Category is qualitative or quantitative

I know for sure that BMI(Body Mass Index) is a quantitative variable as it is a continuous variable. But is that BMI Category derived from the BMI a qualitative variable or a quantitative variable? (...
629 views

### Is a variable on scale 1-100 considered ratio or interval level?

Is the variable at ratio or interval level if it can take any value between 1 and 100 but not 0? I cannot determine using the definitions of ratio and interval variables.
32 views

### Multivariate Regression: Both Continuous and Categorical Predictor Variables

I am involved in a meta-analysis assessing the role of multiple baseline characteristics (e.g. age, BMI, symptoms and signs) in a given disease. One element of our analysis includes a multivariate ...
517 views

### What is constant and variable error

What is constant error (CE) and variable error (VE)? I’ve seen the terms in several papers.
538 views

### How do I designate a variable in a linear model to be a covariate in R?

So I want to make this equation for example: y = mu + Strain + Insect + Strain*Insect + BW_final Of all these variables, strain and Insect are controlled variables, but BW_final is an independent ...
16 views

### How to distinguish between a variable and a control factor in Anova design

Suppose I have an experiment in which participants are presented with different types of colored objects, hence 4 variables are introduced (i.e., blue, red, white, black). Participants are then ...
142 views

### How do I interpret this dot chart? [duplicate]

I got this as a result (I can provide more information about the data itself if you would like it). I was curious about how one should interpret this chart that was created in R. I understand it has ...
807 views

### Likert scale 0-4 or 1-5

I am conducting a study with Likert scale questions and my thesis advisor advised me to rescale the answers from 1-5 (strongly agree-strongly disagree) to 0-4. She says this will help in the ...
60 views

### Multiple regression, simple regression or other?

I'm attempting to put together a research proposal where area knowledge (Western Asia) is my speciality but where the statistical methodology I need to answer my research question is not and I'm ...
154 views

### Is data observed from the internet counted as primary data?

I need to find primary data (2 variable) to conduct a research about correlation. Are data that I observed from the internet (example: from youtube.com/amazon.com) counted as primary data?
26 views

### Categorical variable as independent variable [closed]

I am using the variable education level as a control variable and this variable consists of 7 education levels (1-7). Now I can't use it as it is converted in the data. My teacher has messaged me that ...
122 views

### Correlation with variables with small differences in sample size

I have a sample of people, around 1140 participants but not all of them answered all questions. I have to do correlation with variables , each with different sample sizes. I have 3 variables and they ...
125 views

### Can you transform the dependent continuous variable in a Logistic Regression so that Y becomes bounded between [0;1]?

I want to use a Logistic regression and my dependent variable is continuous, it is a percentage. However, the percentage is technically not bounded between [0;1]. It can take a value up to 500%. If i'...
312 views

### Do percent variables need to be scaled for machine learning?

I have 101 independent variables in a logistic regression predictive model. 55 variables are continuous and 46 are categorical one-hot encoded. 5 of the 55 continuous variables are expressed as ...
271 views

### Simulating random variables from a discrete distribution II [duplicate]

I have the following discrete probability distribution where $p$, $q$ and $r$ are known constants: $P(X=0)=q$, $0<q<1$ $P(X=1)=1-p-q-r$, $0<p+q+r<1$ $P(X=2)=p$, $0<p<1$ \$P(X=3)=...