Re: [R] Generating series of distributions with the same skewness and different kurtosis or with same kurtosis and different skewness?

From: zhijie zhang <epistat_at_gmail.com>
Date: Wed, 24 Sep 2008 08:21:36 +0800

Yihui,

   Could you please show me an example?
  What u have refered is clear for me, but i think the thing that i donot know how to handle with is to link the relationships between skewness/kurtosis and the distributions?   Thanks.

On Tue, Sep 23, 2008 at 11:48 PM, Yihui Xie <xieyihui_at_gmail.com> wrote:

> Hi,
>
> Certainly it's possible. Use any distribution function as long as you
> can change its skewness and kurtosis, e.g. the Chi-square
> distribution. The corresponding R functions are p*, q*, d*, and r* - I
> think you know these functions already (e.g. rchisq()).
>
> The only thing that you should be clear about is the relationship
> between the arguments of distribution functions in R and those in a
> certain theoretical distribution. Refer to
> http://en.wikipedia.org/wiki/Probability_distribution if you don't
> remember those formulae for skewness and kurtosis.
>
> Regards,
> Yihui
> --
> Yihui Xie <xieyihui_at_gmail.com>
> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
> Mobile: +86-15810805877
> Homepage: http://www.yihui.name
> School of Statistics, Room 1037, Mingde Main Building,
> Renmin University of China, Beijing, 100872, China
>
>
>
> On Tue, Sep 23, 2008 at 10:59 PM, zhijie zhang <epistat_at_gmail.com> wrote:
> > Dear R users,
> > I hope to explain the concepts of skewness and kurtosis by generating
> > series of distributions with same skewness and different kurtosis or
> with
> > same kurtosis and different skewness, but it seems that i cannot find the
> > right functions.
> > I have searched the mailing list, but no answers were found.
> > Is it possible to do that in R? Which function could be used?
> > Thanks a lot.
> >
> > --
> > With Kind Regards,
> >
> > oooO:::::::::
> > (..):::::::::
> > :\.(:::Oooo::
> > ::\_)::(..)::
> > :::::::)./:::
> > ::::::(_/::::
> > :::::::::::::
> > [***********************************************************************]
> > Zhi Jie,Zhang ,PHD
> > Tel:+86-21-54237149
> > Dept. of Epidemiology,School of Public Health,Fudan University
> > Address:No. 138 Yi Xue Yuan Road,Shanghai,China
> > Postcode:200032
> > Email:epistat_at_gmail.com <Email%3Aepistat_at_gmail.com> <
> Email%3Aepistat_at_gmail.com <Email%253Aepistat_at_gmail.com>>
> > Website: www.statABC.com <http://www.statabc.com/>
> > [***********************************************************************]
> > oooO:::::::::
> > (..):::::::::
> > :\.(:::Oooo::
> > ::\_)::(..)::
> > :::::::)./:::
> > ::::::(_/::::
> > :::::::::::::
> >
>

-- 
With Kind Regards,

oooO:::::::::
(..):::::::::
:\.(:::Oooo::
::\_)::(..)::
:::::::)./:::
::::::(_/::::
:::::::::::::
[***********************************************************************]
Zhi Jie,Zhang ,PHD
Tel:+86-21-54237149
Dept. of Epidemiology,School of Public Health,Fudan University
Address:No. 138 Yi Xue Yuan Road,Shanghai,China
Postcode:200032
Email:epistat_at_gmail.com <Email%3Aepistat_at_gmail.com>
Website: www.statABC.com
[***********************************************************************]
oooO:::::::::
(..):::::::::
:\.(:::Oooo::
::\_)::(..)::
:::::::)./:::
::::::(_/::::
:::::::::::::

	[[alternative HTML version deleted]]

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 24 Sep 2008 - 01:34:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 24 Sep 2008 - 06:30:09 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive