<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: # between two vectors in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9418#M16</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
My dimensions are correct according to the article:&lt;BR /&gt;
lambda is a vector with 4304 rows&lt;BR /&gt;
delta is a vector with 4 rows&lt;BR /&gt;
&lt;BR /&gt;
I need to understand what the result of this operation is, to compute it on R.&lt;BR /&gt;
&lt;BR /&gt;
What I have done today, but I think it's not correct because my final result are negative and they don't have to be it's:&lt;BR /&gt;
&lt;BR /&gt;
lambda # delta = matrix with 4304 rows and 4 columns where&lt;BR /&gt;
column i is lambda*delta(i) &lt;BR /&gt;
&lt;BR /&gt;
Do you think I am right ?&lt;BR /&gt;
&lt;BR /&gt;
The blog don't talk about operation between two vectors, and it's my problem.

Message was edited by: Adeline34000</description>
    <pubDate>Thu, 09 Jun 2011 16:21:35 GMT</pubDate>
    <dc:creator>Adeline34000</dc:creator>
    <dc:date>2011-06-09T16:21:35Z</dc:date>
    <item>
      <title># between two vectors</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9413#M11</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I am a french student and i am studying an article where there is a SAS/IML code.&lt;BR /&gt;
&lt;BR /&gt;
In this code, DES is a matrix of parameters, DELTA and EST are vectors. Delta={0,0,0,0} and EST is the vector of parameter estimates.&lt;BR /&gt;
&lt;BR /&gt;
We calculate lambda=exp(DES*(-EST)) so lambda is a vector.&lt;BR /&gt;
&lt;BR /&gt;
Then, to calculate the exposure at different time intervals (4 intervals) until time t=0 :&lt;BR /&gt;
&lt;BR /&gt;
lambda_delta_t1=lambda # DELTA&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
In my application, # don't work because lambda and delta are vectors. I don't know how to do and I don't understand.&lt;BR /&gt;
&lt;BR /&gt;
Thank you</description>
      <pubDate>Wed, 08 Jun 2011 15:37:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9413#M11</guid>
      <dc:creator>Adeline34000</dc:creator>
      <dc:date>2011-06-08T15:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: # between two vectors</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9414#M12</link>
      <description>The # operator is element-wise multiplication, so it should work with two vectors provided the dimensions match up correctly. Both operands should be the same type (m x 1 or 1 x m) vector and have the same number of elements. It would be helpful to look at the article to better understand the author's intentions.</description>
      <pubDate>Wed, 08 Jun 2011 15:55:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9414#M12</guid>
      <dc:creator>Hutch_sas</dc:creator>
      <dc:date>2011-06-08T15:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: # between two vectors</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9415#M13</link>
      <description>&lt;A href="http://aje.oxfordjournals.org/content/171/7/837.full" target="_blank"&gt;http://aje.oxfordjournals.org/content/171/7/837.full&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
You can see the code in appendix 3.&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much</description>
      <pubDate>Wed, 08 Jun 2011 16:12:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9415#M13</guid>
      <dc:creator>Adeline34000</dc:creator>
      <dc:date>2011-06-08T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: # between two vectors</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9416#M14</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
Can you at least explain to me what # should do between 2 vectors.&lt;BR /&gt;
For example:&lt;BR /&gt;
&lt;BR /&gt;
A={1,2,3,4};&lt;BR /&gt;
B={5,6};&lt;BR /&gt;
&lt;BR /&gt;
Is A#B={ 1*5 2*5 3*5 4*5,&lt;BR /&gt;
              1*6 2*6 3*6 4*6}&lt;BR /&gt;
&lt;BR /&gt;
or A#B={1*5 1*6,&lt;BR /&gt;
             2*5  2*6,&lt;BR /&gt;
             3*5  3*6,&lt;BR /&gt;
             4*5  4*6}&lt;BR /&gt;
?</description>
      <pubDate>Thu, 09 Jun 2011 10:54:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9416#M14</guid>
      <dc:creator>Adeline34000</dc:creator>
      <dc:date>2011-06-09T10:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: # between two vectors</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9417#M15</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
The code you posted just results in an error as the dimensions of both vectors don't match.&lt;BR /&gt;
&lt;BR /&gt;
You can find the answer to your question in the following blog post.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://blogs.sas.com/iml/index.php?/archives/48-Shorthand-Notation-for-Row-and-Column-Operations.html" target="_blank"&gt;http://blogs.sas.com/iml/index.php?/archives/48-Shorthand-Notation-for-Row-and-Column-Operations.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Nicolas</description>
      <pubDate>Thu, 09 Jun 2011 15:21:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9417#M15</guid>
      <dc:creator>nicolas_</dc:creator>
      <dc:date>2011-06-09T15:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: # between two vectors</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9418#M16</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
My dimensions are correct according to the article:&lt;BR /&gt;
lambda is a vector with 4304 rows&lt;BR /&gt;
delta is a vector with 4 rows&lt;BR /&gt;
&lt;BR /&gt;
I need to understand what the result of this operation is, to compute it on R.&lt;BR /&gt;
&lt;BR /&gt;
What I have done today, but I think it's not correct because my final result are negative and they don't have to be it's:&lt;BR /&gt;
&lt;BR /&gt;
lambda # delta = matrix with 4304 rows and 4 columns where&lt;BR /&gt;
column i is lambda*delta(i) &lt;BR /&gt;
&lt;BR /&gt;
Do you think I am right ?&lt;BR /&gt;
&lt;BR /&gt;
The blog don't talk about operation between two vectors, and it's my problem.

Message was edited by: Adeline34000</description>
      <pubDate>Thu, 09 Jun 2011 16:21:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9418#M16</guid>
      <dc:creator>Adeline34000</dc:creator>
      <dc:date>2011-06-09T16:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: # between two vectors</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9419#M17</link>
      <description>PLease, nobody can tell me what result # should give between two vectors??</description>
      <pubDate>Fri, 10 Jun 2011 07:13:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9419#M17</guid>
      <dc:creator>Adeline34000</dc:creator>
      <dc:date>2011-06-10T07:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: # between two vectors</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9420#M18</link>
      <description>It doesn't do anything as the dimensions don't match up. If you execute the code as you say you get errors.</description>
      <pubDate>Fri, 10 Jun 2011 13:16:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/between-two-vectors/m-p/9420#M18</guid>
      <dc:creator>nicolas_</dc:creator>
      <dc:date>2011-06-10T13:16:51Z</dc:date>
    </item>
  </channel>
</rss>

