# Questions tagged [variable]

Very unclear, please avoid and find a more specific tag

120 questions
Filter by
Sorted by
Tagged with
1 vote
40 views

### Suggest a reasonable approach to combine the following variables into a single vector

I have 9 variables, namely BMI, waist-to-hip ratio (WHR), healthy-diet (HD: a score of 0 to 4, close to 4 indicates healthy), waist circumference (WC), neuroticism score (NS), body fat percentage (BF),...
1 vote
8 views

### Managing Daily Quotas with Complex Equation for Resource Allocation

I have a complex resource allocation problem where I need to manage specific quantities while adhering to a daily quota of 3000 tonnes. The allocation is based on various variables, and I'm looking ...
16 views

### Creating Correlation Matrix Tables with multiple variables within one measurement

trying my luck here since no one in my surroundings has worked with SPSS before and I am also clearly a newbie to SPSS and statistics. For my master degree I am researching possible correlations/a ...
24 views

### Is it possible to use a variable that is a dependent variable in one model as an independent variable in another model at the same time?

Let's say you have a dataset with variables A,B,C,D,E, and you want to build two model to predict D,E. In this case, can we use A,B,C in one model to predict D and A,B,D as dependent variables in ...
372 views

### An independent variable that is correlated with another variable in a regression model

I'm doing a regression analysis to understand the relationship between disease severity (Severity) and viral load (VL). The <...
1 vote
37 views

### If X is positively correlated with Y and Y is positively correlated with Z, it is still possible for Z to be negatively correlated with X? [duplicate]

This is not assuming a perfect correlation between variables. I believe that the answer is yes as long as r<1.0. (r = Pearson product-moment correlation coefficient.) Bonus: if the question is ...
13 views

### Manually calculating partial dependence plots rpartscore tree

I am trying to generate partial dependence plots for my rpartscore model but I am not succeeding so far. I have previously tried to use the package dpd but cant make it run with the probability ...
28 views

### Should you assign „0“ to a count variable that is not applicable?

I am designing a retrospective study in the field of oral and mandibular reconstruction. I am struggling with the interdependence of the following two variables and would greatly appreciate any input ...
1 vote
21 views

### parameters of a distribution are constant but not a variable? Why [duplicate]

For example, the standard deviation of a normal distribution is a constant? Why is that?
1k views

### Comparing characteristics of individuals

The data table for my company's salesmen/women commission for FY23 follows. Below, I compare the commission of each age group to know which age group is performing well (which I don't think matters), ...
1 vote
29 views

### How one would define dependent and independent variable in a survey? [duplicate]

Following are the definitions of independent variable and dependent variable I found on the internet: <1> In statistical modelling, the dependent variable is studied to see if and how much it ...
504 views

### Independent Variable vs. Dependent Variable in Statistics

Following are the definitions of independent variable and dependent variable I found on the internet: <1> In statistical modelling, the dependent variable is studied to see if and how much it ...
786 views

### One-way Table vs Two-way Table. What’s the difference?

The following is the definition representative of the definitions if you google the difference between the one-way and two-way table: Sometimes we talk about data tables in terms of independent and ...
10 views

### Comparing two interval independent variables with two sample t test

I want to compare two interval independent variable’s with t test how can I compare them?
1 vote
50 views

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 ...
548 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?
15 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 ...
42 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 ...
665 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
50 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
13 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
212 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
72 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 ...
2k 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),...
119 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 ...
356 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 ...