2
$\begingroup$

I would like to analyse the trajectories of patients hospitalized for CVA (cerebrovascular accident) with the package TraMineR. I have a large dataset with around 25,000 trajectories observed during 365 days. There are 5 states in my data. When I try to use the seqdist function which computes the distances between sequences, I have problems with computer's memory. Some people suggested to aggregate identical sequences, compute the distance and cluster the sequences using weights. But this solution is not sufficient since I have 20000 unique sequences in my data. An other solution proposed in the web is to analyze a sample of the data. So, I have analyzed a sample of 5000 trajectories in my data. Is there another solution by using all the trajectories ? Thank you in advance for your answer.

Christelle FERREIRA

$\endgroup$
1
  • $\begingroup$ Hello, Christelle, and welcome to the site! I have to say, though, that your question, being about trouble with a specific R package rather than about a statistics problem as such, would probably get a faster answer over on stackoverflow, where I notice quite a few questions with the 'traminer' tag. $\endgroup$
    – jbowman
    Nov 20, 2013 at 14:50

1 Answer 1

2
$\begingroup$

You can do the following, but none of the options is perfect.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.