<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, <br>
<br>
thank you very much!<br>
Decidedly, Traminer has all the answers! I'm going to see that
now...<br>
<br>
Sincerly,<br>
Elie <br>
<br>
Le 25/09/2012 12:00,
<a class="moz-txt-link-abbreviated" href="mailto:traminer-users-request@lists.r-forge.r-project.org">traminer-users-request@lists.r-forge.r-project.org</a> a écrit :
<blockquote
cite="mid:mailman.7.1348567207.18808.traminer-users@lists.r-forge.r-project.org"
type="cite">
<pre wrap="">Hi Elie,
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.
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.
All the best,
Alexis
Le 21. 09. 12 11:04, Elie Chosson a ?crit :
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">> </span>Hello, dear TraMineR's users!
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>I'm preparing my Ph.D in economy, and I use for it R and the TraMineR
<span class="moz-txt-citetags">> </span>package. It's a powerful, useful and very nice tool!
<span class="moz-txt-citetags">> </span>I work on the trajectories of the recipients of the french "Revenu de
<span class="moz-txt-citetags">> </span>Solidarit? Active". I have almost 2000 trajectories in my data frame,
<span class="moz-txt-citetags">> </span>and my data cover 9 quarter.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>My problem is the next:
<span class="moz-txt-citetags">> </span>I have some missing values, but with a sens which is not all times the
<span class="moz-txt-citetags">> </span>same:
<span class="moz-txt-citetags">> </span>1. first case: when a missing value for a quarter is between two
<span class="moz-txt-citetags">> </span>normal values for the previous and next quarter.
<span class="moz-txt-citetags">> </span>2. second case: a missing value for a quarter is followed by missing
<span class="moz-txt-citetags">> </span>values for all the next quarters.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>example:
<span class="moz-txt-citetags">> </span>_first case:_
<span class="moz-txt-citetags">> </span>Normal-Normal-Normal-<b class="moz-txt-star"><span class="moz-txt-tag">*</span>NA<span class="moz-txt-tag">*</span></b>-Normal-Normal-Normal-Normal-Normal
<span class="moz-txt-citetags">> </span>_second case:_ Normal-Normal-<b class="moz-txt-star"><span class="moz-txt-tag">*</span>NA<span class="moz-txt-tag">*</span></b>-<b class="moz-txt-star"><span class="moz-txt-tag">*</span>NA<span class="moz-txt-tag">*</span></b>-<b class="moz-txt-star"><span class="moz-txt-tag">*</span>NA-NA<span class="moz-txt-tag">*</span></b>-<b class="moz-txt-star"><span class="moz-txt-tag">*</span>NA<span class="moz-txt-tag">*</span></b>-<b class="moz-txt-star"><span class="moz-txt-tag">*</span>NA<span class="moz-txt-tag">*</span></b>-<b class="moz-txt-star"><span class="moz-txt-tag">*</span>NA<span class="moz-txt-tag">*</span></b>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>In the first case I would like to treat the NA state in the same way
<span class="moz-txt-citetags">> </span>than the following state, and in the second case the NA state is
<span class="moz-txt-citetags">> </span>correct, and I can consider it like a outing of the policy than i study.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>In your mind, their is possibilities with TraMineR to do this? In the
<span class="moz-txt-citetags">> </span>seqdef function, can I specify a rule like it? May be in defining the
<span class="moz-txt-citetags">> </span>labels and the codes? Can I change a state in a trajectory with a
<span class="moz-txt-citetags">> </span>logical function?
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>I don't know if I'm clear, and i sorry for my bad English,
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>thanking you in advance,
<span class="moz-txt-citetags">> </span>--
<span class="moz-txt-citetags">> </span>Elie Chosson,
<span class="moz-txt-citetags">> </span>Doctorant contractuel,
<span class="moz-txt-citetags">> </span>Centre de Recherche en ?conomie de Grenoble (CREG)
<span class="moz-txt-citetags">> </span>Bureau 513
<span class="moz-txt-citetags">> </span>BP 47 - 38040 Grenoble Cedex 9
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>tel: 04 76 82 59 89 / 06 43 70 99 29
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>_______________________________________________
<span class="moz-txt-citetags">> </span>Traminer-users mailing list
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Traminer-users@lists.r-forge.r-project.org">Traminer-users@lists.r-forge.r-project.org</a>
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" 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>
<pre wrap="">-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://lists.r-forge.r-project.org/pipermail/traminer-users/attachments/20120924/1f8a7cdc/attachment-0001.html"><http://lists.r-forge.r-project.org/pipermail/traminer-users/attachments/20120924/1f8a7cdc/attachment-0001.html></a>
------------------------------
_______________________________________________
Traminer-users mailing list
<a moz-do-not-send="true" 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 moz-do-not-send="true" 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>
End of Traminer-users Digest, Vol 25, Issue 8
*********************************************
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Elie Chosson,
Doctorant contractuel,
Centre de Recherche en Économie de Grenoble (CREG)
Bureau 529
BP 47 - 38040 Grenoble Cedex 9
tel: 04 76 82 54 50</pre>
</body>
</html>