<?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: Joint probability distribution of three variable in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/450111#M23534</link>
    <description>Thanks for your reply sir .. am using Sas on demand of academics ....can i use the syntax suggested by you ?</description>
    <pubDate>Sat, 31 Mar 2018 08:04:52 GMT</pubDate>
    <dc:creator>sreenu</dc:creator>
    <dc:date>2018-03-31T08:04:52Z</dc:date>
    <item>
      <title>Joint probability distribution of three variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/449909#M23509</link>
      <description>I have used this for program for copula simulation&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;data returns;&lt;BR /&gt;input ret_x ret_y ret_z;&lt;BR /&gt;cards;&lt;BR /&gt;0.004182 0.003503 0.584&lt;BR /&gt;-0.027960 -0.000582 0.54&lt;BR /&gt;0.006732 0.025611 0.14&lt;BR /&gt;-0.033435 -0.002838 -0.24&lt;BR /&gt;0.029560 0.010814 -0.4&lt;BR /&gt;-0.003054 -0.001689 0.8&lt;BR /&gt;-0.012255 -0.012408 0.9&lt;BR /&gt;0.013958 0.003427 0.14&lt;BR /&gt;-0.011318 -0.017075 0.14&lt;BR /&gt;-0.022587 0.002316 0.28&lt;BR /&gt;;&lt;BR /&gt;/* Copula estimation */&lt;BR /&gt;proc copula data = returns;&lt;BR /&gt;var ret_x ret_y ret_z;&lt;BR /&gt;fit normal / outcopula=estimates;&lt;BR /&gt;/* keep only correlation estimates */&lt;BR /&gt;data estimates;&lt;BR /&gt;set estimates;&lt;BR /&gt;keep ret_x ret_y ret_z;&lt;BR /&gt;/* Copula simulation */&lt;BR /&gt;proc copula;&lt;BR /&gt;var ret_x ret_y ret_z;&lt;BR /&gt;define cop normal (cor = estimates);&lt;BR /&gt;simulate cop / ndraws = 500&lt;BR /&gt;outuniform = simulated_uniforms&lt;BR /&gt;plots=(data=uniform scatter);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Got this log :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;70&lt;BR /&gt;71 data returns;&lt;BR /&gt;72 input ret_x ret_y ret_z;&lt;BR /&gt;73 cards;&lt;BR /&gt;&lt;BR /&gt;NOTE: The data set WORK.RETURNS has 10 observations and 3 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 521.87k&lt;BR /&gt;OS Memory 28840.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 50 Switch Count 2&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 131&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 10&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 272&lt;BR /&gt;&lt;BR /&gt;84 ;&lt;BR /&gt;&lt;BR /&gt;85 /* Copula estimation */&lt;BR /&gt;86 proc copula data = returns;&lt;BR /&gt;87 var ret_x ret_y ret_z;&lt;BR /&gt;88 fit normal / outcopula=estimates;&lt;BR /&gt;89 /* keep only correlation estimates */&lt;BR /&gt;&lt;BR /&gt;NOTE: The data set WORK.ESTIMATES has 3 observations and 9 variables.&lt;BR /&gt;NOTE: PROCEDURE COPULA used (Total process time):&lt;BR /&gt;real time 0.04 seconds&lt;BR /&gt;user cpu time 0.04 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 2572.53k&lt;BR /&gt;OS Memory 30124.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 51 Switch Count 2&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 517&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 9&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 272&lt;BR /&gt;&lt;BR /&gt;90 data estimates;&lt;BR /&gt;&lt;BR /&gt;91 set estimates;&lt;BR /&gt;92 keep ret_x ret_y ret_z;&lt;BR /&gt;93 /* Copula simulation */&lt;BR /&gt;&lt;BR /&gt;NOTE: There were 3 observations read from the data set WORK.ESTIMATES.&lt;BR /&gt;NOTE: The data set WORK.ESTIMATES has 3 observations and 3 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 801.06k&lt;BR /&gt;OS Memory 30124.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 52 Switch Count 2&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 143&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 9&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 264&lt;BR /&gt;&lt;BR /&gt;94 proc copula;&lt;BR /&gt;&lt;BR /&gt;95 var ret_x ret_y ret_z;&lt;BR /&gt;96 define cop normal (cor = estimates);&lt;BR /&gt;___&lt;BR /&gt;1&lt;BR /&gt;WARNING 1-322: Assuming the symbol CORR was misspelled as cor.&lt;BR /&gt;97 simulate cop / ndraws = 500&lt;BR /&gt;98 outuniform = simulated_uniforms&lt;BR /&gt;99 plots=(data=uniform scatter);&lt;BR /&gt;____&lt;BR /&gt;22&lt;BR /&gt;202&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: ), DATATYPE, DISTRIBUTION, NONE.&lt;BR /&gt;ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;BR /&gt;100 run;&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set WORK.SIMULATED_UNIFORMS may be incomplete. When this step was stopped there were 0 observations and 0&lt;BR /&gt;variables.&lt;BR /&gt;WARNING: Data set WORK.SIMULATED_UNIFORMS was not replaced because this step was stopped.&lt;BR /&gt;NOTE: PROCEDURE COPULA used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 339.25k&lt;BR /&gt;OS Memory 29864.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 53 Switch Count 0&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 52&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 0&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 16&lt;BR /&gt;&lt;BR /&gt;101&lt;BR /&gt;102&lt;BR /&gt;103 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;115&lt;BR /&gt;Please help me to solve this and help me to add same data using excel sheet.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Mar 2018 13:01:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/449909#M23509</guid>
      <dc:creator>sreenu</dc:creator>
      <dc:date>2018-03-30T13:01:14Z</dc:date>
    </item>
    <item>
      <title>Joint probability distribution estimation of three variables using copulas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/449901#M23512</link>
      <description>I have used this for program for copula simulation&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;data returns;&lt;BR /&gt;input ret_x ret_y ret_z;&lt;BR /&gt;cards;&lt;BR /&gt;0.004182 0.003503 0.584&lt;BR /&gt;-0.027960 -0.000582 0.54&lt;BR /&gt;0.006732 0.025611 0.14&lt;BR /&gt;-0.033435 -0.002838 -0.24&lt;BR /&gt;0.029560 0.010814 -0.4&lt;BR /&gt;-0.003054 -0.001689 0.8&lt;BR /&gt;-0.012255 -0.012408 0.9&lt;BR /&gt;0.013958 0.003427 0.14&lt;BR /&gt;-0.011318 -0.017075 0.14&lt;BR /&gt;-0.022587 0.002316 0.28&lt;BR /&gt;;&lt;BR /&gt;/* Copula estimation */&lt;BR /&gt;proc copula data = returns;&lt;BR /&gt;var ret_x ret_y ret_z;&lt;BR /&gt;fit normal / outcopula=estimates;&lt;BR /&gt;/* keep only correlation estimates */&lt;BR /&gt;data estimates;&lt;BR /&gt;set estimates;&lt;BR /&gt;keep ret_x ret_y ret_z;&lt;BR /&gt;/* Copula simulation */&lt;BR /&gt;proc copula;&lt;BR /&gt;var ret_x ret_y ret_z;&lt;BR /&gt;define cop normal (cor = estimates);&lt;BR /&gt;simulate cop / ndraws = 500&lt;BR /&gt;outuniform = simulated_uniforms&lt;BR /&gt;plots=(data=uniform scatter);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Got this log :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;70&lt;BR /&gt;71 data returns;&lt;BR /&gt;72 input ret_x ret_y ret_z;&lt;BR /&gt;73 cards;&lt;BR /&gt;&lt;BR /&gt;NOTE: The data set WORK.RETURNS has 10 observations and 3 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 521.87k&lt;BR /&gt;OS Memory 28840.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 50 Switch Count 2&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 131&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 10&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 272&lt;BR /&gt;&lt;BR /&gt;84 ;&lt;BR /&gt;&lt;BR /&gt;85 /* Copula estimation */&lt;BR /&gt;86 proc copula data = returns;&lt;BR /&gt;87 var ret_x ret_y ret_z;&lt;BR /&gt;88 fit normal / outcopula=estimates;&lt;BR /&gt;89 /* keep only correlation estimates */&lt;BR /&gt;&lt;BR /&gt;NOTE: The data set WORK.ESTIMATES has 3 observations and 9 variables.&lt;BR /&gt;NOTE: PROCEDURE COPULA used (Total process time):&lt;BR /&gt;real time 0.04 seconds&lt;BR /&gt;user cpu time 0.04 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 2572.53k&lt;BR /&gt;OS Memory 30124.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 51 Switch Count 2&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 517&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 9&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 272&lt;BR /&gt;&lt;BR /&gt;90 data estimates;&lt;BR /&gt;&lt;BR /&gt;91 set estimates;&lt;BR /&gt;92 keep ret_x ret_y ret_z;&lt;BR /&gt;93 /* Copula simulation */&lt;BR /&gt;&lt;BR /&gt;NOTE: There were 3 observations read from the data set WORK.ESTIMATES.&lt;BR /&gt;NOTE: The data set WORK.ESTIMATES has 3 observations and 3 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 801.06k&lt;BR /&gt;OS Memory 30124.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 52 Switch Count 2&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 143&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 9&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 264&lt;BR /&gt;&lt;BR /&gt;94 proc copula;&lt;BR /&gt;&lt;BR /&gt;95 var ret_x ret_y ret_z;&lt;BR /&gt;96 define cop normal (cor = estimates);&lt;BR /&gt;___&lt;BR /&gt;1&lt;BR /&gt;WARNING 1-322: Assuming the symbol CORR was misspelled as cor.&lt;BR /&gt;97 simulate cop / ndraws = 500&lt;BR /&gt;98 outuniform = simulated_uniforms&lt;BR /&gt;99 plots=(data=uniform scatter);&lt;BR /&gt;____&lt;BR /&gt;22&lt;BR /&gt;202&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: ), DATATYPE, DISTRIBUTION, NONE.&lt;BR /&gt;ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;BR /&gt;100 run;&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set WORK.SIMULATED_UNIFORMS may be incomplete. When this step was stopped there were 0 observations and 0&lt;BR /&gt;variables.&lt;BR /&gt;WARNING: Data set WORK.SIMULATED_UNIFORMS was not replaced because this step was stopped.&lt;BR /&gt;NOTE: PROCEDURE COPULA used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 339.25k&lt;BR /&gt;OS Memory 29864.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 53 Switch Count 0&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 52&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 0&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 16&lt;BR /&gt;&lt;BR /&gt;101&lt;BR /&gt;102&lt;BR /&gt;103 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;115&lt;BR /&gt;Please help me to solve this and help me to add same data using excel sheet.</description>
      <pubDate>Fri, 30 Mar 2018 12:38:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/449901#M23512</guid>
      <dc:creator>sreenu</dc:creator>
      <dc:date>2018-03-30T12:38:36Z</dc:date>
    </item>
    <item>
      <title>Joint probably distribution of three variable using copula</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/449911#M23513</link>
      <description>I have used this for program for copula simulation&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;data returns;&lt;BR /&gt;input ret_x ret_y ret_z;&lt;BR /&gt;cards;&lt;BR /&gt;0.004182 0.003503 0.584&lt;BR /&gt;-0.027960 -0.000582 0.54&lt;BR /&gt;0.006732 0.025611 0.14&lt;BR /&gt;-0.033435 -0.002838 -0.24&lt;BR /&gt;0.029560 0.010814 -0.4&lt;BR /&gt;-0.003054 -0.001689 0.8&lt;BR /&gt;-0.012255 -0.012408 0.9&lt;BR /&gt;0.013958 0.003427 0.14&lt;BR /&gt;-0.011318 -0.017075 0.14&lt;BR /&gt;-0.022587 0.002316 0.28&lt;BR /&gt;;&lt;BR /&gt;/* Copula estimation */&lt;BR /&gt;proc copula data = returns;&lt;BR /&gt;var ret_x ret_y ret_z;&lt;BR /&gt;fit normal / outcopula=estimates;&lt;BR /&gt;/* keep only correlation estimates */&lt;BR /&gt;data estimates;&lt;BR /&gt;set estimates;&lt;BR /&gt;keep ret_x ret_y ret_z;&lt;BR /&gt;/* Copula simulation */&lt;BR /&gt;proc copula;&lt;BR /&gt;var ret_x ret_y ret_z;&lt;BR /&gt;define cop normal (cor = estimates);&lt;BR /&gt;simulate cop / ndraws = 500&lt;BR /&gt;outuniform = simulated_uniforms&lt;BR /&gt;plots=(data=uniform scatter);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Got this log :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;70&lt;BR /&gt;71 data returns;&lt;BR /&gt;72 input ret_x ret_y ret_z;&lt;BR /&gt;73 cards;&lt;BR /&gt;&lt;BR /&gt;NOTE: The data set WORK.RETURNS has 10 observations and 3 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 521.87k&lt;BR /&gt;OS Memory 28840.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 50 Switch Count 2&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 131&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 10&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 272&lt;BR /&gt;&lt;BR /&gt;84 ;&lt;BR /&gt;&lt;BR /&gt;85 /* Copula estimation */&lt;BR /&gt;86 proc copula data = returns;&lt;BR /&gt;87 var ret_x ret_y ret_z;&lt;BR /&gt;88 fit normal / outcopula=estimates;&lt;BR /&gt;89 /* keep only correlation estimates */&lt;BR /&gt;&lt;BR /&gt;NOTE: The data set WORK.ESTIMATES has 3 observations and 9 variables.&lt;BR /&gt;NOTE: PROCEDURE COPULA used (Total process time):&lt;BR /&gt;real time 0.04 seconds&lt;BR /&gt;user cpu time 0.04 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 2572.53k&lt;BR /&gt;OS Memory 30124.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 51 Switch Count 2&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 517&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 9&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 272&lt;BR /&gt;&lt;BR /&gt;90 data estimates;&lt;BR /&gt;&lt;BR /&gt;91 set estimates;&lt;BR /&gt;92 keep ret_x ret_y ret_z;&lt;BR /&gt;93 /* Copula simulation */&lt;BR /&gt;&lt;BR /&gt;NOTE: There were 3 observations read from the data set WORK.ESTIMATES.&lt;BR /&gt;NOTE: The data set WORK.ESTIMATES has 3 observations and 3 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 801.06k&lt;BR /&gt;OS Memory 30124.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 52 Switch Count 2&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 143&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 9&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 264&lt;BR /&gt;&lt;BR /&gt;94 proc copula;&lt;BR /&gt;&lt;BR /&gt;95 var ret_x ret_y ret_z;&lt;BR /&gt;96 define cop normal (cor = estimates);&lt;BR /&gt;___&lt;BR /&gt;1&lt;BR /&gt;WARNING 1-322: Assuming the symbol CORR was misspelled as cor.&lt;BR /&gt;97 simulate cop / ndraws = 500&lt;BR /&gt;98 outuniform = simulated_uniforms&lt;BR /&gt;99 plots=(data=uniform scatter);&lt;BR /&gt;____&lt;BR /&gt;22&lt;BR /&gt;202&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: ), DATATYPE, DISTRIBUTION, NONE.&lt;BR /&gt;ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;BR /&gt;100 run;&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set WORK.SIMULATED_UNIFORMS may be incomplete. When this step was stopped there were 0 observations and 0&lt;BR /&gt;variables.&lt;BR /&gt;WARNING: Data set WORK.SIMULATED_UNIFORMS was not replaced because this step was stopped.&lt;BR /&gt;NOTE: PROCEDURE COPULA used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 339.25k&lt;BR /&gt;OS Memory 29864.00k&lt;BR /&gt;Timestamp 03/30/2018 10:48:35 AM&lt;BR /&gt;Step Count 53 Switch Count 0&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 52&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 0&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 16&lt;BR /&gt;&lt;BR /&gt;101&lt;BR /&gt;102&lt;BR /&gt;103 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;115&lt;BR /&gt;Please help me to solve this and help me to add same data using excel sheet.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Mar 2018 13:03:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/449911#M23513</guid>
      <dc:creator>sreenu</dc:creator>
      <dc:date>2018-03-30T13:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Joint probability distribution of three variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/449938#M23514</link>
      <description>&lt;P&gt;Multiple identical posts merged to a single topic.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 14:25:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/449938#M23514</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-03-30T14:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Joint probability distribution of three variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/449964#M23519</link>
      <description>&lt;P&gt;Sorry for the mistake Sir ...thanks a lot for replying ....expecting good answers from the people like you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 15:56:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/449964#M23519</guid>
      <dc:creator>sreenu</dc:creator>
      <dc:date>2018-03-30T15:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Joint probability distribution of three variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/450055#M23528</link>
      <description>&lt;P&gt;You didn't mention what version of SAS you are running, but &lt;A href="http://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_copula_toc.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;here is a link to the most recent doc.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;1. The correct syntax for the&amp;nbsp;DEFINE statement is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;define cop normal (corr = estimates);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. The correct syntax for the PLOTS option is&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;plots=(datatype=uniform);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you are using an older version of SAS that might have different syntax, &lt;A href="https://support.sas.com/documentation/productaz/index.html" target="_self"&gt;consult the documentation for your version.&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 20:16:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/450055#M23528</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-03-30T20:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Joint probability distribution of three variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/450111#M23534</link>
      <description>Thanks for your reply sir .. am using Sas on demand of academics ....can i use the syntax suggested by you ?</description>
      <pubDate>Sat, 31 Mar 2018 08:04:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/450111#M23534</guid>
      <dc:creator>sreenu</dc:creator>
      <dc:date>2018-03-31T08:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Joint probability distribution of three variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/450143#M23537</link>
      <description>data returns;&lt;BR /&gt;input ret_x ret_y ret_z;&lt;BR /&gt;cards;&lt;BR /&gt;0.004182 0.003503 0.584&lt;BR /&gt;-0.027960 -0.000582 0.54&lt;BR /&gt;0.006732 0.025611 0.14&lt;BR /&gt;-0.033435 -0.002838 -0.24&lt;BR /&gt;0.029560 0.010814 -0.4&lt;BR /&gt;-0.003054 -0.001689 0.8&lt;BR /&gt;-0.012255 -0.012408 0.9&lt;BR /&gt;0.013958 0.003427 0.14&lt;BR /&gt;-0.011318 -0.017075 0.14&lt;BR /&gt;-0.022587 0.002316 0.28&lt;BR /&gt;;&lt;BR /&gt;/* Copula estimation and simulation of returns */&lt;BR /&gt;proc copula data = returns;&lt;BR /&gt;var ret_x ret_y ret_z;&lt;BR /&gt;* fit T-copula to stock returns;&lt;BR /&gt;fit T /&lt;BR /&gt;marginals = empirical&lt;BR /&gt;method = MLE&lt;BR /&gt;plots = (datatype = both);&lt;BR /&gt;* simulate 10000 observations;&lt;BR /&gt;* independent in time, dependent in cross-section;&lt;BR /&gt;simulate /&lt;BR /&gt;ndraws = 10000&lt;BR /&gt;seed = 1234&lt;BR /&gt;out = simulated_returns&lt;BR /&gt;plots(unpack) = (datatype = original);&lt;BR /&gt;&lt;BR /&gt;/* compute equally weighted portfolio return */&lt;BR /&gt;data port_ret (drop = i ret);&lt;BR /&gt;set simulated_returns;&lt;BR /&gt;array returns{3} ret_x ret_y ret_z;&lt;BR /&gt;ret =0;&lt;BR /&gt;do i =1 to 3;&lt;BR /&gt;ret = ret+ 0.2*exp(returns[i]);&lt;BR /&gt;end;&lt;BR /&gt;port_ret = ret-1;&lt;BR /&gt;/* compute descriptive statistics */&lt;BR /&gt;/* quantile table will give Value-at-Risk estimates for the portfolio */&lt;BR /&gt;proc univariate data = port_ret;&lt;BR /&gt;var port_ret;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;I have used this code in SAS o demand of academics. its working and got results...Stil I am having one problem..I didnt get a combined JPDF..what i have to do for that</description>
      <pubDate>Sat, 31 Mar 2018 15:07:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/450143#M23537</guid>
      <dc:creator>sreenu</dc:creator>
      <dc:date>2018-03-31T15:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Joint probability distribution of three variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/450144#M23538</link>
      <description>&lt;P&gt;Dear sir,&amp;nbsp; I have got the following results, but i am expecting a JPDF table, How to get that jpdf&lt;/P&gt;</description>
      <pubDate>Sat, 31 Mar 2018 15:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Joint-probability-distribution-of-three-variable/m-p/450144#M23538</guid>
      <dc:creator>sreenu</dc:creator>
      <dc:date>2018-03-31T15:11:46Z</dc:date>
    </item>
  </channel>
</rss>

