Hi all,
I think I've hit a bit of a limit with my Stata knowledge, and I'm hoping that you may be able to help me (or guide in terms of resources/help guides!).
In short, I have data from a website. This has a timestamp recorded for each user, when they land on a particular page. For some, this is quite simple - they'll go from page 1, to page 2, to page 3, and then to page 4 (as with Andrew in the code below). For others, they may go to a later page before an earlier one (as with James, below, who has gone to Page 2 before Page 1) or they'll just land on a few pages (Manisha and Lizzie).
What I'd like to do is to be able to show how many users took a particular path. This may be through creating dummy variables for each of the timestamps (which I can do with the !missing function). However, the struggle is how to then have them in sequential order - so, being able to show the total users who took a particular route through the site.
I hope the above is somewhat clear. If not, I'm more than happy to clarify! Hopefully this is something that Stata can do, but I'm far from being able to think which function would best work here. Grateful for any help!
I think I've hit a bit of a limit with my Stata knowledge, and I'm hoping that you may be able to help me (or guide in terms of resources/help guides!).
In short, I have data from a website. This has a timestamp recorded for each user, when they land on a particular page. For some, this is quite simple - they'll go from page 1, to page 2, to page 3, and then to page 4 (as with Andrew in the code below). For others, they may go to a later page before an earlier one (as with James, below, who has gone to Page 2 before Page 1) or they'll just land on a few pages (Manisha and Lizzie).
Code:
Name Page 1 Page 2 Page 3 Page 4 Andrew 1200 1300 1400 1500 James 1300 1100 1600 1730 Lizzie 1000 1900 Manisha 830 1000
I hope the above is somewhat clear. If not, I'm more than happy to clarify! Hopefully this is something that Stata can do, but I'm far from being able to think which function would best work here. Grateful for any help!
Comment