Questions in topic: "regression"
https://developer.ibm.com/answers/questions/topics/single/160047.html
The latest questions for the topic "regression"Incorporating interaction term in GENLIN syntax
https://developer.ibm.com/answers/questions/516321/incorporating-interaction-term-in-genlin-syntax.html
Hi. I'm having some trouble using the GENLIN syntax for a set of regressions I'm developing, and could use some help. My desire is to investigate if there is interaction between two specific main exposures (call them exposures A & B, w/ A being a categorical variable & B being a continuous variable). I incorporated the A*B syntax within the /MODEL sub-command of GENLIN for my interaction term, along with the terms A, B, & all the other needed covariates (i.e. age, gender, etc.). However, the output produced seems incorrect; it appears to cause multicollinearity issues, manifesting in a) highly non-significant p-values for the interaction terms & b) highly altered coefficients for A and B (with 95% CIs for each blowing up to nonsensical ranges). Is there a better step-wise way to incorporate an interaction term with my other covariates, that will produce output for A, B, & A*B which makes sense for each regression I run? Any help provided would be appreciated.regressioninteractiongenlinmixedgenerallinearmodelSat, 31 Aug 2019 21:11:23 GMTMarco StilloHow Calculate p-value of nonlinear regression
https://developer.ibm.com/answers/questions/512941/how-calculate-p-value-of-nonlinear-regression.html
I want to calculate the p values for my ANOVA and regression coefficients. I use following syntax on the IBM page but can't seem to get it to work. Can you help me to fix it.
DATASET DECLARE temp.
OMS
/SELECT TABLES
/IF COMMANDS=['Nonlinear Regression Analysis' 'Constrained Nonlinear Regression Analysis'] SUBTYPES=['Parameter Estimates']
/DESTINATION FORMAT=SAV OUTFILE=temp.
MODEL PROGRAM a=1 b=1 c=1.
COMPUTE PRED= a * Time * Time + b * RotationSpeed * RotationSpeed + c * Tool * Tool.
NLR STS.
OMSEND.
DATASET ACTIVATE temp.
COMPUTE p = SIG.F((Estimate/Std.Error)**2,1,df).
FORMATS p (F8.3).
VARIABLE LABELS p 'Sig.'.
EXECUTE.
RENAME VARIABLES (Var1=Parameter).
SUMMARIZE
/TABLES=Parameter Estimate Std.Error p LowerBound UpperBound
/FORMAT=LIST NOCASENUM
/TITLE='Parameter Estimates'
/CELLS=NONEregressionSun, 28 Jul 2019 08:54:48 GMTF.rilaxWhy is the independent variable dropped when running a multiple linear regression? How can I fix that?
https://developer.ibm.com/answers/questions/512438/why-is-the-independent-variable-dropped-when-runni.html
Hello,
I was running a linear multiple regression as well as a logistic multiple regression in SPSS.
After that when looking at the results, I realised that in each regression, one independent variable was automatically excluded by SPSS. Did we do something wrong here or what do we have to do in order to have all independent variables included in the regression?
thanks for your help!spssregressionregressionvariablesMon, 22 Jul 2019 14:24:55 GMTLukas_PehHow to understand order of variables in equation output for categorical variables with more than two categories
https://developer.ibm.com/answers/questions/509495/how-to-understand-order-of-variables-in-equation-o.html
HI,
Thanks for getting back to me but I’m still confused. The Contrast Variables Codings table lists the categorical values for categorical variables with more than 2 categories. Can I confirm that you saying that the order in which the results are presented eg below will correspond with the order listed in the earlier table?
Order of categories as entered into SPSS
Age 0-1
Age 1-2
Age 2-5
Age 6-15 (last one but listed as reference)
Variables in Equation
Age group (if this is age 6-15) - what are the ones below?
Age group (1)
Age group (2) etc
Age group (3)
When I’m selecting the 1st category as the reference category does this reverse the whole output or just change the reference one, with the remainder staying in the original order? I’m unsure if I’ve interpreted results correctly as I’m not sure which OR is attached to which of these categories
Many thanks for your help on thisspssregressionregressionvariablesTue, 25 Jun 2019 02:56:34 GMTHelen BadgeMultinomial logistic regression warnings
https://developer.ibm.com/answers/questions/509163/multinomial-logistic-regression-warnings.html
I am running an analysis to predict Happiness (measured on 4-response ordinal scale) from the following 3 variables: Ethnicity (5 nominal items)
Perceptions of agency (1-10 intensity scale)
Socio-economic status (5 ordinal items)
When running the multinomial logistic regression analysis, SPSS v25 gives a warning about missing cases, with more than 50% of values missing - but when conducting a missing data analysis, none of the variables have more than 3% missing values. What should be done to mitigate this warning? Are there other analyses that should be conducted?
Please advise,
Confused Masters StudentspssstatisticsspssstudentregressionlogisticregressionSun, 23 Jun 2019 10:53:11 GMTPascalRichStudentMultiple regression - how can I test a one tailed hypothesis?
https://developer.ibm.com/answers/questions/508413/multiple-regression-how-can-i-test-a-one-tailed-hy.html
Hello, I am currently using Multiple regression to test a simple theoretical model. I have three hypotheses (all of which are directional due to a vast amount of supporting literature).
I have conducted a multiple regression on my data but I need to know how to do a one-tailed test? Is it just a case of dividing 0.05 by 2 and using this as my new p-value?
For example...
"Trait Anxiety (Beta = .092, t(76)=.466, p=.68) does not predict state anxiety." These results are from a 'normal' multiple regression. How do I change these in order to test a one-tailed hypothesis (e.g Higher levels of trait anxiety predict higher levels of state anxiety). is there another regression I need to do? Do I need to change a setting within the multiple regression I have done? or is it just a case of dividing or multiplying the p value (0.05 currently)?
I would really appreciate some help!! Thanks in advance!regressionTue, 18 Jun 2019 18:50:22 GMTaturner93Is there a handy way to implment the Ramsey RESET test in SPSS?
https://developer.ibm.com/answers/questions/508141/is-there-a-handy-way-to-implment-the-ramsey-reset.html
I am looking for an easy way to execute the Ramsey RESET test in SPSS. Someone got any ideas?regressionMon, 17 Jun 2019 09:28:32 GMTLucas9999Fixing heteroscedasticity on power function
https://developer.ibm.com/answers/questions/507265/fixing-heteroscedasticity-on-power-function.html
I'm trying to fix heteroscedasticity in a power function in SPSS - does anyone know how to do that? I keep seeing resources for fixing it on linear functions.regressionThu, 06 Jun 2019 16:00:26 GMTpgb43Missing results in ordinal regression?
https://developer.ibm.com/answers/questions/505274/missing-results-in-ordinal-regression-1.html
Hello
I am conducting a series of ordinal regression analyses using SPSS Version 25 as I have done many times in the past. I am coming up with an error every time with the same variable and I can't work out what the problem is. If anyone could offer some advice that would be very much appreciated!
I have ran several ordinal logistic regressions with proportional odds with the same independent variables and different dependent variables. All assumptions have been met and there has been no issues when running these... except... in the results there is one variable that doesn't show up properly. This is the case for all regressions I've run with this same problem variable (which is a five point likert scale from very supportive to very unsupportive indicating how supportive people perceive their partners to be). For every regression results table this variable shows up with nothing but a dot (.) in the significance and 95% CI columns and the value 1.000 in the OR column (Exp_B).
This variable is coded as ordinal and is no different to the other variables in the regression models. I have created a new variable in case there is some error and inputted the same values and it still happens. I have used the variable in other analyses (chi square) and it worked fine. I can't work out what the problem is and why this variable won't produce results.
Any guidance would be fantastic!
Thanks so muchregressionMon, 20 May 2019 22:40:17 GMTjuliarMissing Results in Ordinal Regression?
https://developer.ibm.com/answers/questions/505273/missing-results-in-ordinal-regression.html
Hello
I am conducting a series of ordinal regression analyses using SPSS Version 25 as I have done many times in the past. I am coming up with an error every time with the same variable and I can't work out what the problem is. If anyone could offer some advice that would be very much appreciated!
I have ran several ordinal logistic regressions with proportional odds with the same independent variables and different dependent variables. All assumptions have been met and there has been no issues when running these... except... in the results there is one variable that doesn't show up properly. This is the case for all regressions I've run with this same problem variable (which is a five point likert scale from very supportive to very unsupportive indicating how supportive people perceive their partners to be). For every regression results table this variable shows up with nothing but a dot (.) in the significance and 95% CI columns and the value 1.000 in the OR column (Exp_B).
This variable is coded as ordinal and is no different to the other variables in the regression models. I have created a new variable in case there is some error and inputted the same values and it still happens. I have used the variable in other analyses (chi square) and there were no problems. I can't work out what the problem is and why this variable won't produce results.
Any guidance would be fantastic!
Thanks so muchregressionregressionvariablesMon, 20 May 2019 22:36:24 GMTjuliarAutomatic Linear Modeling Best Subsets Dependent Variable
https://developer.ibm.com/answers/questions/503492/automatic-linear-modeling-best-subsets-dependent-v.html
I would like to perform best subsets regression using the automatic linear modeling function in SPSS. My dependent variable is binary, coded as 0 and 1. All of the predictor/independent variables are continuous. Does SPSS latest version support this?spss25regressionregressionvariablesFri, 03 May 2019 18:46:36 GMTEric MRNo output from Tobit regression
https://developer.ibm.com/answers/questions/502227/no-output-from-tobit-regression.html
Hey!
I downloaded the R Plugin Extension, R 3.3.0 and SPSS INC Tobit Regression.
I got the exentensions in my SPSS 25.0 and can conduct a Tobit Regression. I also worked around the AER problems which many other users had, by adding AER via R Gui packages.
However, when conducting my Tobit regression like this (Syntax):
DATASET ACTIVATE DataSet1.
SPSSINC TOBIT REGR DEPENDENT = Shareofturnover_incremental
ENTER = OI CI
LOWERBOUND=0 DISTRIBUTION=GAUSSIAN
/OPTIONS MISSING=LISTWISE
/SAVE COEFSDATASET=tobit PROGRAMFILE="\\Mac\Home\Documents\SPSS CIS\tobit output.spv".
I only get this as an output, without any regressions.
DATASET ACTIVATE DataSet1.
SPSSINC TOBIT REGR DEPENDENT = Shareofturnover_incremental
ENTER = OI CI
LOWERBOUND=0 DISTRIBUTION=GAUSSIAN
/OPTIONS MISSING=LISTWISE
/SAVE COEFSDATASET=tobit PROGRAMFILE="\\Mac\Home\Documents\SPSS CIS\tobit output.spv".
What am I still missing or what am I doing wrong?
Thankful for any help :-)spssstatisticsextensibilityrregressiontobitMon, 22 Apr 2019 19:51:59 GMTelisa15Dummy Variables for Regression Analysis
https://developer.ibm.com/answers/questions/500341/dummy-variables-for-regression-analysis.html
I am using IBM SPSS Modeler Version 1.8.0 and I want to create dummy codes for a regression analysis. How do I go about this please? I can't seem to find materials on it onlineregressionMon, 08 Apr 2019 09:50:28 GMTTakinolaregression diagnostics in time-dependent Cox
https://developer.ibm.com/answers/questions/499567/regression-diagnostics-in-time-dependent-cox.html
Hi
I wanted to know what regression diagnostics can I test for in SPSS when I have a model with a time-dependent covariate, one categorical and two continuous variables. Any suggestions? If you could point me towards where I can find it/the syntax, that would also help. For example, my current syntax for this multivariable model is -
TIME PROGRAM.
COMPUTE T_COV_ = T_>=var1*1.
COXREG outcome_time
/STATUS=outcome(1)
/STRATA=var2
/CONTRAST (var3)=Simple(1)
/METHOD=ENTER T_COV_var3 var4 var5
/PRINT=CI(95) CORR
/CRITERIA=PIN(.05) POUT(.10) ITERATE(20).
Thanks in advance!regressiondiagnosticscoxMon, 01 Apr 2019 18:47:02 GMTdrhkulkarniHow do I use bootstrap option on multiple regression analysis in SPSS?
https://developer.ibm.com/answers/questions/498257/how-do-i-use-bootstrap-option-on-multiple-regressi.html
Hello,
I am trying to use the bootstrap option on my multiple regression analysis. I have unticked all the boxes in the 'Save' option and I haven't used imputation or non-integer weight values. However, I can select the bootstrap option but then there is no output of coefficients.
I am using SPSS v.25.
Any advice?
Thanks,regressionbootstrapFri, 22 Mar 2019 15:27:30 GMTAbigail HitchinsStep wise Regression Method
https://developer.ibm.com/answers/questions/497162/step-wise-regression-method.html
Hi all,
I am doing sensitivity analysis by step-wise regression method in SPSS Modeler. Here I am using 30 independent variables on one dependent variable. Out of 30 parameters, it is selecting 12 parameters but the problem is I am getting R2 value 1..How can R2 can be 1??..regressionThu, 14 Mar 2019 16:29:24 GMTPriya_SelvarajHow will I know if my residuals are normally distribution in linear regressio analysis?
https://developer.ibm.com/answers/questions/496188/how-will-i-know-if-my-residuals-are-normally-distr.html
I have performed a linear regression analysis on two variables. After using the K-S Test on the residuals, the significance suggests that they are not normally distributed. However, using scatter plots and P-P plots for residuals, it suggests that they are normally distributed. Which interpretation is correct? Also, i am finding it difficult to judge whether the graphs show a normal distribution or not. Is there any way to be certain?regressionFri, 08 Mar 2019 09:12:20 GMTTS_23Sample size of multiple regression
https://developer.ibm.com/answers/questions/494457/sample-size-of-multiple-regression.html
Hi,
I'm working on my empirical part of Master thesis.
I'm trying to test my hypotheses regarding effects of increased generation of Renewable energy on Energy import (increased Renewable sources should decrease dependency on energy imported)
Linear regression should be the best choice, but problem occurs at sample size, because I only have appropriate data for 26 years (N=26).
What do you suggest, should I create linear regression anyway or is it better to use other method to test this hypothesis?
I have data on :
- Electricity generation from renewable sources from 1990-2016
- Net energy import from 1990-2016
Thanks for your answers,regressionsampleMon, 25 Feb 2019 11:26:50 GMTVaneBerlotCan anyone help with CATREG categorical regression? I need advice on some aspects of my study
https://developer.ibm.com/answers/questions/493467/can-anyone-help-with-catreg-categorical-regression.html
Hi, I am looking to performing a regression analysis with the CATREG function in SPSS. Some of the guides I have found online use terminology I am unfamiliar with so I was wondering if anyone had advice on some of the practical steps involved. All help is hugely appreciated!
**Task description:** Expert and Amateur drummers performed a series of drumming tasks at five different speeds (80, 160, 240, 320, 400 hits per minute). Motion Capture was used to record arm/hand/stick movements, and forearm muscular activity recorded with EMG. A questionnaire was used to collect information about participants’ practice history.
**Aim:** The aim is to investigate if performance characteristics (variability in timing) can be predicted by physiological variables (EMG, movement patterns) and practice history variables.
**Analysis:** I have 8 predictor variables, and 3 outcome variables (which will be investigated in separate analyses). To my knowledge, CATREG has less emphasis on assumptions (normality, etc.) and is a supported alternative to dummy-coding categorical variables. I believe that makes it a viable choice for our aim.
However, I am still uncertain on some points. Would anyone be able to advise on the following?
Is CATREG only appropriate if your outcome/dependent variable is categorical? In my case the DV is continuous. In regards to scaling/discretization, am I correct that numerical predictors do not require specific scaling, only nominal /ordinal ones? If this is correct, are the following SPSS scaling options for each variable ok?
- For the variable 'expertise' (2 levels: Scaling is Ordinal, Descretization is Grouping Normal 2)?
- For variable 'Tempo' (5 levels, Scaling is nominal, Descretization is Grouping Uniform 5)?
Thanks!statisticsregressionMon, 18 Feb 2019 14:10:38 GMTGBMHFMDDAssociation Rules NOT DISPLAYED
https://developer.ibm.com/answers/questions/493288/association-rules-not-displayed.html
Hi: Bugs reated to display of results in model nuggets were somehow common in 18.0 and now that Im using 18.1 Im still experiencing problems with visualization of association rules node .... apparently some rules are found (it is not a problem of high thresholds for rule selection) but I can only see an empty screen...My question is not about Carma or Apriori but about the most recent Association Rules node... Any help?modelerregressionbugdisplayassociationFri, 15 Feb 2019 16:39:34 GMTRMC_SpainHow to create an overview of R-squared values in SPSS?
https://developer.ibm.com/answers/questions/492355/how-to-create-an-overview-of-r-squared-values-in-s.html
Hi!
I'm trying to save the R-squared values from multiple regressions in a column in SPSS.
I thought it might be possible to create a syntax running hundreds of regressions (in which I will be looking at differences among firms for some variables such as 'founding year' and 'industry'), but I am a bit lost on how to start this.
Is there a way to easily create a syntax for so many regressions, and from that save all of the R-squared values in one overview? Instead of painstakingly copy-pasting the output of all individual regressions into an overview?
Your help would be very helpful and greatly appreciated!
Best regards,
TimspssstatisticssyntaxregressionoutputMon, 11 Feb 2019 11:24:23 GMTTRWiersmaHello, I need some help. Can someone tell me which method can I use if my data is not normally distributed?
https://developer.ibm.com/answers/questions/492008/hello-i-need-some-help-can-someone-tell-me-which-m.html
I need to analyze if given two cognitive functions can be reading skill efficiency predictors, but I think I need non-parametric test, because my data is not normally distributed.
Thank youdataregressionanalysisThu, 07 Feb 2019 20:09:16 GMTNikita_vError in Firth regression (SPSS v24)
https://developer.ibm.com/answers/questions/491373/error-in-firth-regression-spss-v24.html
Hi,
I have been trying to run a firth regression, however I continue to receive this error:
">Error # 1. Command name: STATS
>The first word in the line is not recognized as an SPSS Statistics command.
>Execution of this command stops."
I am using SPSS v24 and was successfully able to run the regression for the past few years. I recently attempted to switch to v25 and was unable to run firth, so I switched back to v24. Presumably, something changed and the function no longer works. Any assistance would be appreciated.spss24rregressionMon, 04 Feb 2019 16:53:19 GMTniksobtiOMS control panel won't open and trying to do logistic regression.
https://developer.ibm.com/answers/questions/486620/oms-control-panel-wont-open-and-trying-to-do-logis.html
I'm trying to do an ordinal regression and convert the output to OR/95% CI. In order to do that I need to save the PLUM file but I click utilities and try to open the OMS control panel, nothing happens? Can you help please?regressionomscontrol-panelWed, 02 Jan 2019 16:26:05 GMTDearbhlaRegression analysis in SPSS
https://developer.ibm.com/answers/questions/486235/regression-analysis-in-spss.html
Hi guys, I have a question about a formula for the SPSS program. It's about my thesis for determining the Halloween and January Effects.
Yt = A + β · Dt + Et
The Yt of this formula illustrates the variable of the regression model to be explained. This variable is represented by the constant alpha and the regression coefficient beta. Both alpha and beta (β) are determined using regression analysis. Eta (Et) functions in this context as a disturbance term variable, which can lead to a possible degradation within the regression model. Delta (Dt) has its function as a dummy variable for the Halloween effect in the above formula. The dummy variable indicates a value of 1 for the period from November to April and a value of 0 for the months from May to October.
Many many thanks in advance!regressionanalysisformulafinanceThu, 27 Dec 2018 20:19:28 GMTTimo1994Binary logistic regression with Akaike Information Criterion (AIC)
https://developer.ibm.com/answers/questions/486215/binary-logistic-regression-with-akaike-information-1.html
I'am trying to carry out a binary logic regression with the backward Wald method. Althouth I can't get the Akaike Information Criterion (AIC) to analyse how model get better as each step.syntaxregressionlogisticregressionbinarybackwardThu, 27 Dec 2018 17:08:37 GMTEdwardGonza