[R] Plotting skewed normal distribution with a bar plot

2011-11-04 Thread R. Michael Weylandt
You might want to check again: I'm running fGarch on 2.13.2, Mac OSX 10.5.8. Michael On Fri, Nov 4, 2011 at 9:36 AM, Steve Friedman wrote: > Hi Michael, > > Thanks for pointing me fGarch.  I actually started there, but it is not yet > available for 2.13.2 so I went directly to the (sn-package).

Re: [R] Plotting skewed normal distribution with a bar plot

2011-11-04 Thread boylangc
uot;R. Michael Weylandt" >Sent: Nov 3, 2011 10:39 PM >To: steve_fried...@nps.gov >Cc: r-help@r-project.org >Subject: Re: [R] Plotting skewed normal distribution with a bar plot > >It seems like you'll need to apply some sort of MLE to estimate the >parameters directl

Re: [R] Plotting skewed normal distribution with a bar plot

2011-11-04 Thread Steve Friedman
Hi Michael, Thanks for pointing me fGarch. I actually started there, but it is not yet available for 2.13.2 so I went directly to the (sn-package). I've briefly explored your suggestion and think it will work. Thanks Steve On Nov 3, 2011 10:41 PM, "R. Michael Weylandt" wrote: > It seems like

Re: [R] Plotting skewed normal distribution with a bar plot

2011-11-03 Thread R. Michael Weylandt
It seems like you'll need to apply some sort of MLE to estimate the parameters directly from the data before using dsn() to get the density. This might help with some of it: http://help.rmetrics.org/fGarch/html/snorm.html Michael On Thu, Nov 3, 2011 at 2:54 PM, wrote: > > Hi, > > I need to crea

[R] Plotting skewed normal distribution with a bar plot

2011-11-03 Thread Steve_Friedman
Hi, I need to create a plot (type = "h") and then overlay a skewed-normal curve on this distribution, but I'm not finding a procedure to accomplish this. I want to use the plot function here in order to control the bin distributions. I have explored the sn library and found the dsn function. d