For my bachelor's thesis I've collected data of 23 persons who's been sleeping 5 consecutive weekdays with their phone outside of bedroom and 5 consecutive weekdays with the phone by their bed (in reach) and daily filling in a sleep diary (the consensus sleep diary). The participants were randomized to start with either setting (phone outside or inside bedroom). The data I'm analyzing consists of self-reported sleep quality (1-5 likerts), sleep latency, hours of sleep, time in bed spent not sleeping, number of wake-ups during night and time awake during these wake-ups. I'm using SPSS to analyze the data.
I'm unsure if I should treat every night as a case and do independent t-test with outside/by the the bed as the grouping variable? This would give me 209 nights of data after removing outliers etc. Other option is to do a paired samples t-test with every participants mean on their data points - it has to be a mean since it's an uneven distribution between the two settings after removing outliers, missed nights etc.
I'm unsure if I should treat every night as a case and do independent t-test with outside/by the the bed as the grouping variable? This would give me 209 nights of data after removing outliers etc. Other option is to do a paired samples t-test with every participants mean on their data points - it has to be a mean since it's an uneven distribution between the two settings after removing outliers, missed nights etc.