I am quite new in writing codes in GAUSS. So, I was wondering if one could help me with the following question:
I have two matrices in which both of them are 1000*100 [1000 rows and 100 cols] called xfrepF and kenelestimateF. I would like to draw a density plot like a line but I am not able to do it. If I run the following code, I will get a barplot
xy(xfrepF,kernelestimateF)
The x-axis in my current plot is from 0 till 1 [because of the xfrepF of course], but I would like to have it from 0 till 0.15 in the final plot. Any comments or help?
3 Answers
0
accepted
I have understood how this could work. We need to choose a density with the largest pick out-of 1000 sets each with 100 numbers. Thanks.
0
Hello,
Thank you for your questions. I am happy to help but I need some clarification about your question.
GAUSS includes an empirical density plotting procedure, plotCDFEmpirical
which allows you to plot the cumulative distribution function (cdf) of the empirical distribution. More information about plotCDFEmpirical
can be found here.
For example, it can be used to generate a plot like this:
I am happy to provide more detail about how to use plotCDFEmpirical
but I want to make sure I am correctly understanding your question. Is the plot from plotCDFEmpirical
similar to what you would like to draw?
Your Answer
3 Answers
I have understood how this could work. We need to choose a density with the largest pick out-of 1000 sets each with 100 numbers. Thanks.
Hello,
Thank you for your questions. I am happy to help but I need some clarification about your question.
GAUSS includes an empirical density plotting procedure, plotCDFEmpirical
which allows you to plot the cumulative distribution function (cdf) of the empirical distribution. More information about plotCDFEmpirical
can be found here.
For example, it can be used to generate a plot like this:
I am happy to provide more detail about how to use plotCDFEmpirical
but I want to make sure I am correctly understanding your question. Is the plot from plotCDFEmpirical
similar to what you would like to draw?