I want to compute a new variable from values of other variables
like var1=0 and var2 =1 then newvar=1
var1=1 and var2=1 then newvar=2
var1=1 and var2=2 then newvar=3
how this can be done in spss
thank you
are you asking about addition of two variables?
Yup. Thank u
Dear Mohammad Kamrul Hassan Shabuj , you can do this in the syntax editor of SPSS. See: https://youtu.be/ZyvJ-k5poiI.
Kind regards
Rob
Thank you rob. But I want to combine value of variable .
like variable1 has two value like 0 and 1
variable 2 has two value 0 and 1
variable 3 have two value 0 and 1
now I want to combine value like
((var1=1 & var2 =0 & var3 = 0) = class 1
(( var1=0 var2=1 & var 3 =1) = class2
how can I make class 1 , 2 and 3 by combining values of variable
Dear Mohammad Kamrul Hassan Shabuj ,
if(var1 = 1 & var2 = 0 & var3 = 0) class = 1
if(var1 = 0 & var2 = 1 & var3 = 1) class = 2
…
if(var1 = 1 & var2 = 1 & var3 = 0) class = 3
The third line I made up. I think this will do. KR Rob
I have been using paraffin, but the deposited ZnO still detach from electrode. What is the best binder to modify graphite paste electrode with ZnO nanoparticles?
03 August 2024 4,624 3 View
Here's a serious question: If we were to stop emitting all greenhouse gases right now, would the Earth's temperature start to cool down, or would the existing greenhouse gases continue to warm the...
30 July 2024 5,123 4 View
Dear users, I would like to simulate a zeolite structure in gromacs. I got the .cif file from IZA expanded in one direction in Materials Studio and exported a .pdb file. However, when I want to...
24 July 2024 367 4 View
I am looking to purchase a photography kit for onsite metallurgical investigations, such as capturing photos of worn areas, hot tears, cold tears etc. Could anyone suggest me a good...
22 July 2024 3,490 2 View
What protocol can be used to measure the cellular uptake of a nanoparticle? Is there a way to get more of a non-targeted nanoparticle into the cell? Why a fluorescent nanoparticle does not enter...
18 July 2024 7,153 2 View
Dear Gromacs users, I would like to simulate a zeolite-water system. In different literature, it is suggested to consider a rigid framework of zeolite to decrease the computational cost. I would...
15 July 2024 4,590 1 View
Hello, I have a problem in classification of "Additive Manufacturing" techniques. There are several classification for Additive Manufacturing e.g. Powder, Extrusion, Resin etc. Actually, I am OK...
15 July 2024 139 3 View
A question about scientific methodology
13 July 2024 2,160 8 View
We have conducted a systematic review to investigate the effectiveness of a treatment for a psychological disorder. We aim to report effect sizes and p values of the reviewed studies but one study...
10 July 2024 7,186 4 View
I participated in 2 research projects in which I was responsible for part of data analysis and figures production. Also, I spent hours trying a new statistical approach -for me- to implement in...
10 July 2024 1,226 5 View
Difficulty with permittivitt and Magnetic Permeability Calculations Hello everyone, I have all the parameters related to the calculations of the permittivitty and magnetic permeability...
30 July 2024 5,206 1 View
Our department has recently acquired an HPC (High-Performance Computing) system, and I'm thrilled to take my molecular dynamics calculations to the next level using Desmond. I used to run my...
28 July 2024 6,553 1 View
all math can be traversed by code? all math can be translate to code?
26 July 2024 9,530 0 View
What is human-computer interaction (HCI)?
22 July 2024 10,056 2 View
Hello, I am looking out for Scopus Indexed Journals in Computer Science with short review time and short time to publish after acceptance (with / without APC). Please mention the journals that you...
19 July 2024 4,250 2 View
I have tried sharing, but it only provide a list of persons that does not include me. When I click on the download button, it does not seem to download it to my computer. Thank you
19 July 2024 1,814 3 View
I have conducted virtual screening using Schrödinger on a database of 17,000 molecules. Unfortunately, I cannot use the system with the Schrödinger license at the moment. I am trying to find a way...
18 July 2024 2,881 4 View
Using DFT/B3LYP/6-311++G
17 July 2024 7,720 1 View
There exists a neural network model designed to predict a specific output, detailed in a published article. The model comprises 14 inputs, each normalized with minimum and maximum parameters...
14 July 2024 2,714 3 View
Hi Everyone , I finished my Master's in Computer Science . I have work experince in IT services and learning cloud tech . I am not a good programmer (Can do if needed) . I like scripting...
10 July 2024 267 0 View