On doing permuspliner test between groups, I got a p value of 0.034,
#code
result <- permuspliner(data = data2, xvar = 'Time_point', yvar = 'y', cases = 'Subject_ID', category = 'Residence', groups = c('0','1'))
Groups detected: 0 and 1.
Now testing between variables 0 and 1 for a difference in the response labeled y
Scalpel please: performing permusplinectomy with 999 permutations...
Area between groups successfully calculated, now spinning up permutations...
...permutations completed...
p-value = 0.033_
On doing the slidingspliner, I got the plot showing not significant at any time point. I was expecting the difference at 4 week, but the pvalue showed no significance. How do I explain that,?
#code
slide_result <- sliding_spliner(data = data2,
xvar = 'Time_point', yvar = 'y',
category = 'Residence', groups =c('0','1'), cases = 'Subject_ID', cut_low = 3,
ints = 3)
E1 = sliding_spliner.plot.pvals(data = slide_result, xvar = 'Time_point')+
scale_x_continuous(breaks = c(0.2,1,1.8), labels = c("1 week", "4 weeks", "24 weeks"))
Looking forward to your guidance
Thanks
Sanuja