i have 1052 data set i want to divide the data for validation into two groups 30% and 70 % in SPSS i asked the question before twice and you told me that to copy the 70 % then the remaining is 30 % i still can not do this because i have the 70 % from filter but i cant extract the remaining 30% ,what is the clear steps to divide into tow groups of data (the fast way to do this i want steps of what to choose for example select (data) and (select cases) and choose random 70% after that what should i do to extract the 70 % so that 30 % will remain without the need to remove the 70 % from matrix please i want exact steps for doing this and tell me the steps if there are an easy way to do this (please i want fast answer for my problem with my thanks for speed answer)
go to data
select cases
click random sample of cases
write approximetely 70 %
click continue
click ok
now you see a new column filter comprised of 1 and 0
1 means that row is selected
0 means not selected(it is also crossed out)
now create a new variable say "sample"
give value 0 and label 30 % sample
give value 1 and label 70 % sample
click ok
now copy value of filter variable to "sample variable"
now remove the filter variable
now again go to select cases
then if condition is satisfied
click if
on left select sample
write sample = 1 (we are making sure that 70% of sample is selected
now you run your model through 70% data
if you want to run through all data, go to data ,select cases,all cases,click ok
now you are good
Get Answers For Free
Most questions answered within 1 hours.