Does Gauss Love Me More in the Kitchen?
The Idea
First things first, Gauss is our dog.
Since I am able to work from home, my dog Gauss and I spend a lot of time together. As a result, I like to think I know why he does what he does. But of course I will never really know - though, it’s nice to think that I do. Both of us being a creatures of habit, we have fallen into a nice routine during the day - one where he sleeps the day away and comes to get me around 4pm for some outdoor training/playing. I have noticed that whenever I do anything interesting or out of the norm, he is right there, waiting to see if he can benefit from the activity. Most remarkably, it feels like whenever we are in the kitchen, he sits down right in the middle of everything waiting for scraps and food that drops on the floor.I know Gauss loves me, but I wonder if I am more valuable to him in certain rooms? Does he “love” me more in the kitchen?
The Objective
Primary Objective: To determine if Gauss follows me more often and/or more quickly into the kitchen.
Secondary Objective: To determine what Gauss’ day looks like.
Data Collection
Data was collected over 11 days. I filled out a 7 question survey on my phone, every 30 minutes (while awake), and every time he or I changed rooms or started/stopped an activity. In addition every survey entry was time stamped.
Here were the survey questions:
- Which room is Gauss in?
- Which room is Rachel in?
- What is Gauss’ Activity? Mutually exclusive activities - Gauss cannot be both “Alert focusing on human” AND doing another activity. If he is “Alert focusing on human”, he is literally sitting and only watching me.
- What is Rachel’s Activity?
- It is a joint activity? - Meaning is Gauss required to take part in the activity? (E.g. Training is a joint activity since Gauss does not have the option to opt-out)
- Is Gauss with Rachel?
- Entry Type: 30 minute or phase change
Justin was out of town at the time so I was the only human living in the house for all 11 days. We did have a second dog for 4 days during the 11 day period. Other than the presence of the extra dog, these 11 days were a typical 11 days for Gauss (i.e. typical work week for me, typical afternoon activities for him, typical exercise, etc.). We felt that the additional dog should not bias the results, as Gauss’ preference to be with me in certain rooms would be maintained, or the extra dog would capture Gauss’ attention independently of my location. There was a total of 591 completed surveys with no partial responses.
Exploratory Data Analysis
First, let’s examine what Gauss’ days look like. Here is the breakdown of the 11 days in terms of the proportion of time spent in each activity. Each pie chart represents a 24 hour period.
We see that each day is a little different for Gauss. However, it is clear that Gauss spends a prominent proportion of his days asleep. We also see the impact of the second dog, with us from day 2 through day 5 since the time spent “Playing with Dog” is increased over time period. Additionally, we see that on day 6, the day after his playmate left, Gauss slept more than any other day in the 11 day study period.
Below shows Gauss’ average day (over the course of the study):
Activity | Total Duration over 11 Days (minutes) | Average % Time Spent in Activity | Average Hours Spent in Activity |
---|---|---|---|
Alert focusing on human | 940 | 0.06 | 1.42 |
Alert looking out the window | 612 | 0.04 | 0.93 |
Eating/Drinking | 109 | 0.01 | 0.17 |
Playing with dog | 700 | 0.04 | 1.06 |
Playing with human | 259 | 0.02 | 0.39 |
Sleeping | 10046 | 0.63 | 15.22 |
Sniffing | 970 | 0.06 | 1.47 |
Training | 536 | 0.03 | 0.81 |
Unknown | 1437 | 0.09 | 2.18 |
Walking/Exercising | 327 | 0.02 | 0.50 |
So Gauss spent, on average, ~15 hours of his days sleeping. ~2 hours of his days was spent doing an “unknown” activity - this only happens when I leave the house and he is in the crate. In the crate, I believe he is most likely sleeping (since when I come home he sometimes is still asleep).
If we assume that he is sleeping in the crate, which I believe to be a reasonable assumption, then those 15 hours of sleep a day turns into ~17 hours of sleep per day. He spent on average 1.5 hours per day exploring and sniffing and 1.4 hours focused on me. He spent about an hour per day doing each of the following: looking out the window (squirrel watching), playing with a dog (also in this category is playing by himself with a toy), and training. Eating/drinking, walking/exercising, and playing with a human constitute ~1 hour per day total.
This next plot tracks my location and Gauss’ location through time over the 11 days. Most notably, the red and blue lines (representing me and Gauss respectively) track together for almost the entirety of the 11 days. It’s tough to see what is really happening on the day-to-day level with this plot, but it gives a nice overview of our “togetherness.”
Let’s examine day 8 day (which was June 1, 2017) to get a feel for what is happening on a daily scale.
PLAY - BY - PLAY: We woke up at 9am, we took a walk together (this is “Yard” time), he ate his breakfast in the family room, I went into the kitchen to make breakfast and he followed, then we spent the rest of the morning in the family room together, apart from one bathroom break. For lunch he followed me into the kitchen and I put him outside for some yard time while I ate, we then went over to the neighbors for a quick play-date and then back to the kitchen. Gauss took a break to check out the family room for a quick second and then came back to me in the kitchen. We spent another couple hours in the family room before we got into the car and went for a hike. When we came back, I showered and Gauss stayed in the family room before going into the crate. I left to visit a friend. When I came back, we went outside for a brief minute, then bathroom, then playtime in the family room (the “Other” is him playing by himself with a toy), and finally, I cleaned up the kitchen and he was right there with me. End of day 8.
As we can see here, Gauss is my shadow. It amazes me that before doing this study, I had no idea how much time we actually spent together.
Back to the Primary Objective
If Gauss “loves”" me more in the kitchen then I would expect that the time it takes for him to follow me to the kitchen is shorter than the time it takes him to follow me to other locations.
First, let’s take a look at the frequencies of Gauss’ decisions. Here, we are only looking at the “phase changes” not the “30 minute” responses, meaning that either he or I decided to move or change activities. We are applying this restriction because we do not want to artificially inflate some of his decisions to stay in a certain state simply because he is asleep, or not faced with a decision. During a “phase change” Gauss is making a decision about where he wants to be and what he wants to do. As a result, examining these frequencies gives some insight into his initial preferences.
Rachel’s Location | Gauss’ Location | Frequency | Pr(Gauss Location|Rachel Location) |
---|---|---|---|
Bathroom | Back Yard | 2 | 0.12 |
Bathroom | 3 | 0.18 | |
Bedroom | 5 | 0.29 | |
Family Room | 6 | 0.35 | |
Landing | 1 | 0.06 | |
Bedroom | Back Yard | 2 | 0.07 |
Bedroom | 19 | 0.70 | |
Crate | 3 | 0.11 | |
Family Room | 2 | 0.07 | |
Kitchen | 1 | 0.04 | |
Family Room | Back Yard | 6 | 0.05 |
Bedroom | 1 | 0.01 | |
Family Room | 107 | 0.84 | |
Gym | 6 | 0.05 | |
Kitchen | 6 | 0.05 | |
Landing | 1 | 0.01 | |
Kitchen | Back Yard | 4 | 0.08 |
Family Room | 15 | 0.28 | |
Gym | 1 | 0.02 | |
Kitchen | 25 | 0.47 | |
Landing | 8 | 0.15 |
Looking at this table, we see that he chooses to be with me 18% of the time when I am in the bathroom (it is kind of surprising he would want to be in the bathroom at all), 70% of the time when I am in the bedroom, 84% of the time when I am in the family room, and 47% of the time when I am in the kitchen. So it would seem that my being in the kitchen is not terribly compelling to him. Now, remember those time series plots? He typically does follow me, but this table is mostly capturing those brief moments before he follows (but also when he doesn’t follow me OR when he chooses to get up and do something else).
What will be more telling is the lag time. Let’s take a look at how long Gauss would wait before we were in the same room.
Rachel’s Location | Average Lag Time in Minutes | Total Lag Occurrances |
---|---|---|
Bathroom | 18.90 | 10 |
Bedroom | 18.67 | 6 |
Family Room | 7.12 | 16 |
Front Yard | 18.00 | 1 |
Kitchen | 10.70 | 23 |
First, I want to point out how few occurrences there are where he is not with me. That said, it appears that if Gauss does not follow me to the kitchen immediately, he will wait an average of ~11 minutes before joining me. But this doesn’t tell the whole story either. Sometimes, I came back to the room where Gauss was when my activity in the kitchen is finished. When this happens, Gauss’ decision gets “Censored” at that time - he is no longer able to join me in the kitchen simply because I am no longer there. I want to clarify here, this doesn’t not mean that I missed him so much that I came back to him (Justin’s initial reaction…), it simply means that my activity was over and my natural path in the house took me to same location he was in. For example, I am watching TV, get up to grab a snack in the kitchen, and then return to the family room to watch TV. All the while, Gauss is in the family room.
Perhaps a more accurate representation of the data is:
Censored | Rachel’s Location | Average Lag Time in Minutes | Total Lag Occurrances |
---|---|---|---|
0 | Bathroom | 9.00 | 1 |
0 | Bedroom | 13.75 | 4 |
0 | Family Room | 5.77 | 13 |
0 | Kitchen | 7.33 | 9 |
1 | Bathroom | 20.00 | 9 |
1 | Bedroom | 28.50 | 2 |
1 | Family Room | 13.00 | 3 |
1 | Front Yard | 18.00 | 1 |
1 | Kitchen | 12.86 | 14 |
Here we have a “Censored” variable, 0 = Not Censored (Gauss joined me), 1 = Censored (Gauss didn’t have enough time to join me). This is starting to look like “survival-ish” data with some occurrences being censored and “time to event” measurements. Here, the “event”" would be joining me in a room.
We do not have the typical survival data since we have a lot of occurrences from the same individual, so… non-independent measurements. This rules out any formal survival testing techniques, which is okay because I believe we have already achieved the answer to our question. However, I believe Kaplan-Meier curves will be able to tell the story of Gauss’ lag times pretty nicely.
Each colored line represents my location in either the Bathroom, Bedroom, Family Room, or Kitchen. Here’s how to read this plot: Let’s examine the purple line (Kitchen). There are 65 occurrences when I was in the Kitchen and Gauss had a choice to come and join me - therefore at time 0, there are 65 occurrences where I was in the kitchen “at risk” of being ignored. At 10 minutes, there were only 8 occurrences of my being in the kitchen still “at risk” of or continuing to be ignored. This means that for 57 out of the 65 of the times that I was in the kitchen, Gauss joined me there or didn’t have the chance to join me because I returned to him by 10 minutes. These calculations are computed at every time point, not just in 10 minute intervals.
As indicated by the straight vertical line at time 0, Gauss pretty much follows me immediately, regardless of which room I’m in. In the table below the curves we see that at time 0, there were 265 potential times when Gauss could have ignored my being in the family room and 94% of the time he joined me within 1 minute (Green Line).
When I am in the bathroom (Red Line), he joins me immediately 33% of the time. If he doesn’t join immediately, then there is a decent chance that he won’t join me. This makes sense too, as most bathroom breaks are quick and when they are longer, like when showering, he can hear what is happening without coming to investigate.
When I am in the bedroom (Blue Line), 86% of the time he follows me immediately. Also likely is that he can wait up to 20 minutes before coming and joining me. This typically happens around bedtime, while I am getting ready for bed - he will hang out on the carpet in the hall until I get into my bed and then comes into the room.
Now, the kitchen (Purple Line).
He is a little less binary when it comes to the kitchen - this is very different than what I expected. He mostly, 65% of the time, comes immediately. However, he is willing give me a few minutes before accompanying me. By 10 minutes, the probability that he joins me is 77%, by 20 minutes, the probability that he joins me is only 80%. It is definitely not a given that he wants to be with me when I am in the kitchen.
In fact, you could make the case that he wants to be with me more in the family room than in the kitchen.
Conclusion
Does this mean that he doesn’t love me more in the kitchen? Well, technically I didn’t do any testing , but I feel pretty confident that he will likely follow me anywhere, and on the rare occasion he chooses not to, it might be because I’m in the bathroom.
I guess that’s love though.
summary(my.fit2)
## Call: survfit(formula = Surv(sf2$Cumulative_Lag, sf2$Censored == 0) ~
## sf2$Rachel_Location)
##
## sf2$Rachel_Location=Bathroom
## time n.risk n.event survival std.err lower 95% CI upper 95% CI
## 0 15 5 0.667 0.122 0.466 0.953
## 9 9 1 0.593 0.129 0.387 0.907
##
## sf2$Rachel_Location=Bedroom
## time n.risk n.event survival std.err lower 95% CI upper 95% CI
## 0 42 36 0.1429 0.0540 0.06810 0.300
## 1 6 1 0.1190 0.0500 0.05229 0.271
## 3 5 1 0.0952 0.0453 0.03750 0.242
## 22 4 1 0.0714 0.0397 0.02401 0.213
## 29 2 1 0.0357 0.0321 0.00612 0.208
##
## sf2$Rachel_Location=Family Room
## time n.risk n.event survival std.err lower 95% CI upper 95% CI
## 0 265 249 0.0604 0.01463 0.03755 0.0971
## 1 16 3 0.0491 0.01327 0.02887 0.0834
## 2 13 2 0.0415 0.01225 0.02327 0.0740
## 3 11 2 0.0340 0.01113 0.01787 0.0645
## 4 9 2 0.0264 0.00985 0.01272 0.0549
## 6 7 1 0.0226 0.00914 0.01027 0.0499
## 7 6 2 0.0151 0.00749 0.00571 0.0399
## 34 1 1 0.0000 NaN NA NA
##
## sf2$Rachel_Location=Kitchen
## time n.risk n.event survival std.err lower 95% CI upper 95% CI
## 0 65 42 0.354 0.0593 0.2548 0.491
## 1 23 1 0.338 0.0587 0.2409 0.475
## 2 22 2 0.308 0.0572 0.2137 0.443
## 3 20 1 0.292 0.0564 0.2002 0.427
## 5 18 1 0.276 0.0556 0.1861 0.410
## 7 12 1 0.253 0.0555 0.1647 0.389
## 8 11 1 0.230 0.0550 0.1440 0.368
## 14 6 1 0.192 0.0577 0.1063 0.346
## 24 3 1 0.128 0.0648 0.0473 0.345
Limitations
Obviously, this study was only 11 days in length and so, if these 11 days were atypical and were not a random sample of Gauss’ days, all inference will be biased. We do not believe that this happened but it should be mentioned. Additionally, for practical reasons activities or movements that took less than 2 minutes to complete did not get documented. For example, a short trip to the bedroom to grab a book and come back to the family room would not have been documented. This did not happen very often, and we do not feel that this greatly impacted the study.