Questions tagged [variable]
Very unclear, please avoid and find a more specific tag
120
questions
1
vote
0
answers
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
0
answers
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 ...
0
votes
0
answers
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 ...
2
votes
1
answer
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 ...
3
votes
3
answers
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
0
answers
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 ...
0
votes
0
answers
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 ...
0
votes
0
answers
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
0
answers
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?
3
votes
2
answers
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
0
answers
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 ...
0
votes
1
answer
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 ...
2
votes
1
answer
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 ...
0
votes
0
answers
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
0
answers
50
views
Joint PDF, Independence of Random variables [closed]
I can't understand some steps in this example, my question is about the encircled steps in red.
How to find these values ($x_1, x_2, x_{11}, x_{21}, x_{22} $), and what is its relation with that of $...
1
vote
0
answers
17
views
How can I reduce correlation between two independents variable?
Edvard, the evaluator in sample B, does not know Richard, the target subject in sample A. However, the two, independently, give the same answer/Likert value (1-5) to 30% of the questionnaire items. It ...
0
votes
0
answers
27
views
Appropriate statistical testing
I ran an experiment with 10 participants. Each participant had to complete trials. My analyses include:
1 continuous dependent variable V.
5 categorical independent variables : A (2 categories), B (8 ...
0
votes
0
answers
25
views
Standardizing ordinal independent variables, to compare with numerical independent variables, as to their effect on the ordinal dependent variable
I'm trying to standardize independent variables to determine their individual effect on the dependent variable.
I have about 40 numeric, continuous independent variables, and around 10 ordinal ...
0
votes
1
answer
27
views
Interpreting regression and variable set-up
Im working on a quantile regression model where I look at how imports (impi,t) of intermittent electricity (inti,t) such as wind solar from country i in period t impact day ahead prices in Norway in ...
0
votes
1
answer
42
views
Is it valid to calculate the difference between two odd ratios within the levels of a categorial variable in an ordinal logistic model?
Supose you have an ordinal logistic model, with a dependent variable with 6 categories, being 6 the highest and 1 the reference.
I have one independent categorial variable, that I would like to ...
0
votes
0
answers
16
views
How to compare one continuous variable between two groups when there are gender-specific reference values for the variable?
I want to compare two groups of patients - hospitalized and non-hospitalized - by one laboratory parameter value. There are male and female patients in both groups. But, for this laboratory parameter, ...
0
votes
0
answers
65
views
Outlier dummy variables in differenced or level VECM?
I am working on my master thesis. I want to model a VECM but there appears to be extreme outliers in the data. My question is, should i model the outlier dummy variables on level and use it in the VAR(...
4
votes
3
answers
639
views
How to identify variables of a dataset?
I have a dataset of the annual sales of a bakery and I'm confused about how many variables it has.
Is it the number of products or the number of years? Can someone help me out?
0
votes
2
answers
44
views
Variable selection: Adding a variable to regression model only increases r by 2% - should I leave that variable out?
sorry not the smartest question, tried to google this and search forum, but questions remain.
So x1 correlates with y by r=0.8.
If I now add x2 and x3 to the model, the whole model correlates with r=0....
1
vote
0
answers
17
views
How do I create a dataset for vacation home bookings? [closed]
My family is renting out a vacation home and I would like to create a dataset in R to calculate statistics on the bookings (for some helpful insights and also for me to practice R).
I have a question ...
2
votes
1
answer
49
views
multi variable regression with overlapping category variables in statsmodels
I am working on creating a cost estimate for an order code, which is an order for medical procedures (category variable). I have estimated costs by patient encounter (visit to the doctor).
I am ...
0
votes
0
answers
301
views
Error Correction model and vector error correction model and their error correction terms
(1) What is the difference between these two ina bivariate variable? I know that VECM caters to more than one cointegrating vectors but equation wise what is difference between these two? Both uses ...
3
votes
1
answer
151
views
Generating data in the desired correlation structure from the multivariate normal distribution in R
I want to derive 200 variables from the multivariate normal distribution. I will divide these 200 variables into 3 blocks. The 1st block will consist of 40 variables and will be low-moderately ...
1
vote
2
answers
133
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 ...
0
votes
0
answers
44
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. ...
0
votes
0
answers
43
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
0
answers
38
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 ...
0
votes
2
answers
132
views
log log interpretation with independent count variable [duplicate]
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
1
answer
378
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
1
answer
417
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, ...
2
votes
1
answer
44
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 ...
0
votes
0
answers
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 ...
0
votes
1
answer
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?
0
votes
0
answers
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 ...
0
votes
0
answers
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 ...
3
votes
0
answers
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
1
answer
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
0
answers
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
1
answer
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
0
answers
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 ...
6
votes
2
answers
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),...
0
votes
2
answers
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 ...
5
votes
1
answer
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 ...
0
votes
1
answer
514
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
0
answers
72
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)...