![]() ![]() Since the Wilcoxon signed rank test does not require multivariate normality or homoscedasticity it is more robust than the dependent samples t test. These are in principle some of the techniques used in processing large datasets. SPSS offers the option to use an exact test to calculate the test of significance of Wilcoxon’s W. You could take this a step further where you list in the code each DO IF statement in descending frequency of Day_of_Interest. You may have to write more lines of code as above but you need to balance writing compact/parsimonious code vs. On large datasets this could have big implications on processing time. If, however, you use DO IF/END IF then you can achieve the same result with only looping through all the cases just once. The solution(s) provided by eli-k shall more than suffice however if you have a large dataset then you are evaluating the IF condition 7 x number cases in your dataset and no less, something to be conscious of. IF (Day of Interest = 3) Temperature on Day of Interest = $Tuesday.ĭoes anyone happen to know how to properly reference the value in various variables in this manner? I hope this is clear, I'll be able to answer any questions! Here is what I have written: IF (Day of Interest = 2) Temperature on Day of Interest = $Monday. use the bottom row, or equal variances not assumed. My thoughts are that I can use an If statement, but I'm not sure on exactly how the syntax would be in SPSS. To do this test, you need two variables from one population and sample. So the outcome of the syntax should make the data file read: Monday Tuesday Wednesday Day of Interest Temperature on Day of interest The second day of the week is a Monday, so we want to temperature on Monday in the new variable column). The goal is to create a new variable, in the example it's Temperature on Day of Interest, that has the same value as the day it corresponds to (e.g. Here we have three variables and then the temperature for each of those days. Essentially, the intended functionality in SPSS is working with the following data file: Monday Tuesday Wednesday Day of Interest Temperature on Day of interest
0 Comments
Leave a Reply. |