<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Elie,<br>
<br>
There is a way of handling missing values differently depending on
where they appear in the sequences by using the "left", "right"
and "gaps" options when defining your sequence object with
'seqdef'. And it seems that you can solve your problem by setting
these options.<br>
<br>
Everything is explained in details in the manual page of 'seqdef',
in the user's guide and in our paper published in the Journal of
Statistical Software. All this documentation that we wrote
especially for you the TraMineR users is freely available on our
website or directly from within R.<br>
<br>
All the best,<br>
Alexis<br>
<br>
Le 21. 09. 12 11:04, Elie Chosson a écrit :<br>
</div>
<blockquote cite="mid:505C2DB0.3050902@upmf-grenoble.fr" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hello, dear TraMineR's users!<br>
<br>
I'm preparing my Ph.D in economy, and I use for it R and the
TraMineR package. It's a powerful, useful and very nice tool!<br>
I work on the trajectories of the recipients of the french "Revenu
de Solidarité Active". I have almost 2000 trajectories in my data
frame, and my data cover 9 quarter.<br>
<br>
My problem is the next:<br>
I have some missing values, but with a sens which is not all times
the same:<br>
1. first case: when a missing value for a quarter is between two
normal values for the previous and next quarter.<br>
2. second case: a missing value for a quarter is followed by
missing values for all the next quarters.<br>
<br>
example:<br>
<u>first case:</u> Normal-Normal-Normal-<b>NA</b>-Normal-Normal-Normal-Normal-Normal<br>
<u>second case:</u> Normal-Normal-<b>NA</b>-<b>NA</b>-<b>NA-NA</b>-<b>NA</b>-<b>NA</b>-<b>NA</b><br>
<br>
In the first case I would like to treat the NA state in the same
way than the following state, and in the second case the NA state
is correct, and I can consider it like a outing of the policy than
i study.<br>
<br>
In your mind, their is possibilities with TraMineR to do this? In
the seqdef function, can I specify a rule like it? May be in
defining the labels and the codes? Can I change a state in a
trajectory with a logical function?<br>
<br>
I don't know if I'm clear, and i sorry for my bad English,<br>
<br>
thanking you in advance,<br>
<pre class="moz-signature" cols="72">--
Elie Chosson,
Doctorant contractuel,
Centre de Recherche en Économie de Grenoble (CREG)
Bureau 513
BP 47 - 38040 Grenoble Cedex 9
tel: 04 76 82 59 89 / 06 43 70 99 29</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Traminer-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Traminer-users@lists.r-forge.r-project.org">Traminer-users@lists.r-forge.r-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users</a>
</pre>
</blockquote>
<br>
</body>
</html>