As of May 31, 2023, we have updated our Code of Conduct.

# Tag Info

## Hot answers tagged spss

Accepted

### Wildly different answers replicating a GEE model from SPSS

They're less wildly different once you correct for the different contrasts the two programs use. SPSS has 1 as the reference level of the two variables and ...
• 30.6k

### Question about Spearman's correlation

As @Harvey Motulsky said, software will handle the ranking. But you will probably get the same results even if you rank the variables yourself first. Here is an example using ...
• 2,011
Accepted

### Multilevel model with many groups, and half the sample = individuals (groups of 1)

I can't speak for SPSS specifically, but in general this should work. While classical multilevel ANOVA is not good at handling unbalanced designs, modern multilevel models fitted by maximum likelihood ...
• 38.8k
Accepted

### Can I conduct a Kruskal Wallis test on 4 groups with very different sample sizes?

This is related to a disturbing but very common misunderstanding. Tests for one-way type comparisons (one-sample location tests) are designed for different sample sizes. There's no harm in the sample ...
• 272k
Accepted

### Why does the survey package in R and SPSS complex samples add-on give different standard errors?

The R syntax is correct: ~cl1+houseid specifies that cl1 values identify sampling units at stage 1 (PSUs) and ...
• 30.6k

### Why does the same data get different $R^2$ using three methods (r2_score & fit trendline in Excel & linear regression in SPSS)?

These methods are not even calculating $R^2$ of the same object. Python is calculating the $R^2$ of your exact entries; Excel (when you don’t specify an intercept) and SPSS calculate the $R^2$ of a ...
• 51.2k
Accepted

### Statistical significance btw two medians

No, the Mann-Whitney is not a test for differences in median. It's possible for two samples to have exactly the same median and for the Mann-Whitney test to be significant. It's quite common, however, ...
• 30.6k
Accepted

### What is the difference between Partial Eta Squared and Partial R Squared in factorial repeated ANOVA?

Partial $\eta^2$ can be derived directly from the sums of squares table from a single fitted model: Partial $\eta^2 = \frac{SS_{\textrm{effect}}}{SS_{\textrm{effect}} + SS_{\textrm{error}}}$ For ...
• 1,956
Accepted

### What hypothesis can be drawn from a dataset that looks like this?

You've got this backwards. You don't (typically) look at the data and come up with a hypothesis based on this. This is a recipe for p-hacking and unreliable inferences. Instead, you make your ...
• 15.9k

### ANOVAs from SPSS and R report different degrees of freedom. Which are correct?

You have different degrees of freedom for the residuals 123 vs 82. This indicates that you probably are working with different data (the original paper does not have 126 observations) or you are ...
• 65.1k

### Within-subject Mediation analysis

Yes, you can. It is more complicated than a between-subject mediation analysis. This paper explains how to do it and provides an R package. I don't think there is any way to do this in SPSS or JASP.

### Multiple imputed data set from SPSS to import into MPLUS

I have found this video, which was very helpful: https://www.youtube.com/watch?v=zftIxv532hE
• 21
Accepted

### Question about Spearman's correlation

Any program that purports to run the Spearman test will (presumably) do the ranking itself as a first step. The way to be sure with your program, is to run an example from a text.
• 18.4k

### What statistical analysis to run for continuous variables and count variables in SPSS?

Since you are treating Defender Behavior at time point 1 as an independent variable and since you have only two time points you don't really have a panel but cross-...
• 10.1k
Accepted

### Which test should I use? paired t-tests or ANOVA?

If both are applicable they give the same p-values as the F test used in anova is equivalent to the t-test -- see this, this or this for mathematical proof -- a commenter mentioned that this equality ...
• 1,710
1 vote
Accepted

### Redundant parameters, interpretation of Estimates of fixed effects in SPSS

This is not an error SPSS will always take one of the dummy variables as the starting point, this is always the highest number of your dummy variable. In this case the staring point is Random1 = 1. ...
• 38
1 vote

### Which analysis to use for correlating EEG data to symptomatology?

It sounds like you are probably working with a mentor at University? The best step is always to talk to them about what confuses you. In your case, you will want to run a linear regression between ...
• 1,059
1 vote

### Multiple linear regression with one binary variable

Explanation I'm not sure where you got information about a dummy code only being used for 3 categories...that isn't true. You can dummy code any number of categorical predictors. The core point behind ...
• 4,209
1 vote
Accepted

### How to compare two non-dichotomous categorical variables?

This kind of data is usually represented in two-way contingency tables, and your hypothesis - that rates of the different illness categories vary by age group - can be tested using a chi-square test.
• 7,587
1 vote

### Transformation of variables in Regression one doubt

You have a big risk of overfitting your data. That would be developing a model that fits your current data perfectly, but in a way that depends on details of the specific data sample. Such a model ...
• 81.7k
1 vote

### Linear Mixed Model with two repeated measure levels (SPSS)

I have only used SPSS to analyse multilevel data with crossed random effects, so take this with a grain of salt, but to the best of my understanding the syntax would go like this (SPSS is VERY ...
• 616
1 vote

### what does it means for p value = 8.780e-13

8.780e-13 is a shorthand for $8.780 \times 10^{-13}$, which is thus smaller than $0.05$, see https://en.wikipedia.org/wiki/Scientific_notation.
• 1,810
1 vote
Accepted

### Comparing weights in SPSS regression and R lm

I found out SPSS uses weighted means and weighted standard deviations to standardize data whereas the QuantPsyc::lm.beta() function does not. ...
• 513
1 vote

### Computing power (1-beta) for GLMM in SPSS

In your situation, power depends on the link function, the distribution family, the model forms of both the fixed and the random effects, the distribution of predictors, the relationship between the ...
• 111k
1 vote

### Multiple Linear Regression - Can independent variables with a very weak relationship to the DV be used in a model?

Yes. Selecting DVs for your model depends on what question you are trying to answer and what behavior you expect from the variables based on subject matter knowledge. For example, you might be ...
• 81
1 vote

### Odd ratio become different direction after adding other variables in logistic regression model

This looks like a case of Omitted Variable Bias. In the first model, you are including only self-centeredness as the independent variable. This means that you are excluding/omitting some important ...
1 vote

### Categorical Variables Cox Proportional Hazards Model SPSS

This is an issue in all regressions, not just Cox. With a multi-level categorical predictor, you can't ask whether an individual level is a "significant" predictor on its own. You can ...
• 81.7k
1 vote

### Friedman's test in SPSS gives different results from R and python

it is all about ties! R and SPSS are using the correction factor for dealing with ties M. Hollander and D.A. Wolfe (1973). Nonparametric Statistical Methods, John Wiley & Sons, Inc.
1 vote

### What is the best method to statistically test two areas?

I would start with a Poisson rate regression, it is generallt better to model counts than the rates directly. Assuming you have counts on ward level, the response is count of obese children and the ...
• 71.6k
1 vote

### Interpreting discrepancies between R and SPSS with exploratory factor analysis

I know this is an old post but I ran into the same issue. It seems this is a known issue where SPSS and R implement Promax differently. https://link.springer.com/content/pdf/10.3758/s13428-021-01581-x....
• 111

Only top scored, non community-wiki answers of a minimum length are eligible