Questions tagged [variable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

How to get rid of Variable API in PyTorch.autograd? [on hold]

I am forwarding, and backpropping tensor data X through two simple nn.Module PyTorch models instances, model1 and ...
0
votes
0answers
16 views

Regression of a discrete variable on two others, one discrete the other categorical

I have a study which pairs up two people and has them go through a sequence of processes. They are then measured according to three variables: similarity, competitive status, and trust. Similarity ...
0
votes
1answer
17 views

Instrumental variables analysis with exclusion restriction violation

I am working with data from a randomized experimental study in which the random assignment of units is used as an instrument. However, there are four endogenous variables (treatments) which are ...
1
vote
0answers
17 views

Combining categories by Weight of Evidence

When calculating Information Value and Weight of Evidence, it's possible to draw a chart of WoE for each variable to study its effect on the state of the target variable. Now, I know it's possible to ...
1
vote
3answers
31 views

Do I have numerical data or ordinal data?

I have collected data and I am analyzing data from a game with 20 contestants over 20 games. I am running a regression to try to model the final position of a player in the game. The position of a ...
0
votes
0answers
9 views

Preference test with two continuous variables

I have two continuous variables, the height of a woman and the height of her male partner. With this data I would like to test preferences, e.g. whether there is a preference for shorter women to be ...
1
vote
1answer
59 views

Is there a way to cluster data using a dependent variable? [closed]

We are conducting research on neighborhood mail response behavior, i.e. what percentage of people in a neighborhood reply to a piece of mail. Based on regression analysis, we know which factors (% ...
0
votes
0answers
14 views

Extract covariate adjusted dependent variable from linear regression model?

I want to adjust a continuous (dependent) variable for two independent variables (1 categorical, 1 continuous) and then use the residuals + intercept for plotting by another categorical variable. Is ...
2
votes
1answer
23 views

How to treat block (IV) in glm?

I have a word learning experiment in which I am measuring accuracy on a 2AFC task. So, my DV is binary (1=correct, 0=incorrect). As IVs I have ...
0
votes
1answer
15 views

Can I create a composite variable for my two dependent variables?

I am working with two dependent variables that are both measuring a country's level of nuclear security. The first variable is a country's nuclear security index rating (range 1-100). The second ...
5
votes
1answer
72 views

How to deal with variables that are only relevant for some people? [duplicate]

I am reviewing an article. I can't be specific, but it involves validating a test for a health condition. Their goal is to come up with a score for risk of the condition. One variable is pregnancy. ...
0
votes
0answers
8 views

Adding probabilistic suffix trees

In the context of Variable Length Markov Chains, I am interested in fitting VLMCs to longitudinal measurements of a set of patients without pruning and then add the trees together. Then, I could prune ...
0
votes
0answers
52 views

How does k-fold cross validation select variables?

I am trying to create a model and then validate it. I have 130 observations, with 10 variables. I am sure many of the variables are not needed. When i do a stepwise lm in r (AIC), it ends up ...
0
votes
0answers
13 views

Regression/ classifcation model with Ordinal Outcome types and uses

Can somebody explain me the different types of models for the train function from the caret package in R under the heading "ordinal outcomes"? Specifically, "Adjacent Categories Probability Model for ...
0
votes
1answer
26 views

Estimation of model with non linear dependent variable

I am trying to verify whether two variables are linked by a relation of the type: |y|=ax or y^2=ax. What could be the right statistical procedure to verify whether the above relations are correct and ...
1
vote
1answer
25 views

In the summary of output of the regression analysis in R, is there a way to display categorical variable with just one coefficient [closed]

I am doing a linear regression analysis in R with logarithmic dependent variable. One of the control variables is categorical and describes an industry. There are 6 industries and thereby R ...
0
votes
0answers
11 views

Difference of Rates in ECM

I am setting up a model to predict something using Error Correction Model (see pic. to get a general view about the model itself). Some of my $X$ variables are the interest spread between the A and B ...
1
vote
1answer
37 views

Create composite variables using items with different scales- dealing with multicollinearity

I have IV's that are highly correlated with one another. The first set of correlated IV's, I combined them by adding the score and dividing by 2 to create a composite score. This was simple because ...
0
votes
0answers
15 views

What is a variable selection and especially a “model-free” variable selection

First, I just want to make sure that I understand model selection properly: Model selection is a procedure on which, given a collection of models (=hypotheses), we select one which is "best" (by some ...
1
vote
0answers
27 views

Calculating value of a variable from correlated variables [closed]

I have 4 different variables (3 known and 1 unknown) correlated among each other. Y,Z,W are the known variables and X is the unknown variable. I have calculated the correlation coefficients of ...
0
votes
0answers
90 views

Interpreting units for random forest variable importance

I've trained a random forest for classification in R's caret package using the ranger method and impurity for measuring variable ...
0
votes
0answers
5 views

What model should I use if I want to describe the relationship between the % and binary outcome

I want to model a relationship between the % of students who received a flu vaccine at a certain school and whether their school had a flu outbreak or not. Thanks
0
votes
0answers
32 views

Statistical Test According to Independent Variables

I wish to test a statistical significance between means of data groups. The groups are determined by a continuous variable, however this continuous variable is applied to different test subjects (...
0
votes
0answers
40 views

What type of variable is this?

The dependent variable takes values [0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10] Strongly disagree is coded as 0 Strongly agree is coded as 10 This is like some kind of adapted Likert scale? SPSS lists this ...
0
votes
1answer
42 views

Dummy Variable, Reference Group

My job is to create a dummy variable so that those who voted for the Labour Party are compared to a single reference group that includes all other voters. 1 = Conservative, 2 = Labour, 3 = Liberal ...
1
vote
0answers
12 views

how to quantify the patterns of multivariate distribution (e.g. clustered in the center vs. spread out all over the place)?

I am wondering if there exists a well-established way to quantify such patterns (please see the graph)? I guess there should be multiple ways to quantify it or multiple aspects that can be quantified. ...
0
votes
0answers
7 views

SPSS Syntax - Computing variable if a certain number of variables meet a given criteria

I have a question regarding syntax for recoding multiple variables into a new variable in SPSS. The set-up: I have 7 dichotomized variables (VAR1X, VAR2, VAR3, VAR4, VAR5, VAR6, VAR7) and want to ...
1
vote
0answers
38 views

Which test to use?

I'm trying to figure out which test I would run for a study. Our research question is does the degree of disc extrusion increase with various body positions compared to a supine (lie on their back) ...
1
vote
1answer
92 views

Regression: very basic questions [closed]

I am about to implement the regression. Since I am analyzing on my own, and have almost zero practical know-how of statistics, I doubt myself a lot (plus the results I have obtained so far look 'weird'...
0
votes
1answer
43 views

Mixed ANOVA, all Sigs = .000?

I made sure everything was done correctly, why would Mixed Anova results in a P value = .000 in all tables, please?
0
votes
0answers
37 views

Mixed-Design ANOVA Confusion: Do I separate my treatment Column?

In this particular study, I had 40 experimental subjects which were randomly allocated to 2 treatment groups. After the initial treatment, each where randomised to receive 2 other treatments. So the ...
0
votes
1answer
138 views

Would “percentage of correct answers” be considered interval or ratio data?

I'm currently working on a research assignment an I'm trying to determine whether a dependent variable like "percentage of correct answers" would be considered interval or ratio data. I was originally ...
2
votes
0answers
29 views

Ordinal or Interval Level of Measurement?

If we have a score of number of students in a kindergarden, which goes "one, two, three, four, five, six and more", is this variable interval or ordinal? The differences between them are exact, yet ...
1
vote
1answer
71 views

What would cause Random Forest to not predict the values on the tails?

In the scatterplot below you can seen that my Random Forest prediction does not predict values at the extremes(i.e above 200) on my test data. My training data has values in that range, just not that ...
0
votes
1answer
44 views

Computing new variable of nominal and scale z scores variables

I'm analyzing a set of data where participants' reaction time and number of errors made during the task were measured. As there were two trials (where same data was measured) I was thinking I could ...
0
votes
1answer
516 views

Difference between conditioned and conditioning variable?

Is there any technical difference between a conditioned and conditioning variable? E.g. see below picture Can I call both X ...
1
vote
2answers
952 views

What type of data are dates?

According to Yale: Categorical variables represent types of data which may be divided into groups (Lacey M, 1997) To me, dates do not fit this definition. They are ordinal, as one date is ...
1
vote
0answers
21 views

1 IV with two categories and 5 DV, which statistical test to choose? [duplicate]

I'm wondering which statistical test to chose to find out which of my five DV is the difference between Country X and Country Y not statistically significant? My Variables are: 1 Independent ...
1
vote
0answers
9 views

Multi Variable datasets

I've a dataset that contains several attributes and a KPI column. I would like to understand through statistics which of the attributes are more important or key attributes in influencing this KPI ...
1
vote
3answers
158 views

Are the variable types here considered correct?

If we want to determine the variable types, will it be as follows for the below variables? Age ---> quantitative, discrete (we ...