Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3957440
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:29:29+00:00 2026-05-20T02:29:29+00:00

let a = c(1:9,1) , in library(timeDate) (which is imported in library(fBasics) too), skewness(a)

  • 0

let a = c(1:9,1), in library(timeDate) (which is imported in library(fBasics) too), skewness(a) = 0.10901 and kurtosis(a) = -1.634, .

in library(moments), skewness(a) = 0.1277 and kurtosis(a) - 3 = -1.313, which match the results from Matlab.

is this a bug in one of these packages?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T02:29:30+00:00Added an answer on May 20, 2026 at 2:29 am

    There are a number of ways to estimate the population moments. You can compare these different methods using the skewness and kurtosis functions in the e1071 package

    > library(e1071)
    > skewness(a,,1)
    [1] 0.1277249
    > skewness(a,,2)
    [1] 0.1514631
    > skewness(a,,3)
    [1] 0.1090534
    > kurtosis(a,,1)
    [1] -1.313042
    > kurtosis(a,,2)
    [1] -1.356985
    > kurtosis(a,,3)
    [1] -1.633564
    

    All of these measures are valid, and unbiased (at least in the case of normality). according to D. N. Joanes and C. A. Gill (1998) (Comparing measures of sample skewness and kurtosis. The Statistician, 47, 183–189.), type 3 performs better in non-normal populations, whereas type 2 performs best in normal looking populations. Type 1 is an older definition.

    In large samples the difference between these estimators becomes negligible. see ?skewness for the formulas used.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let us say that I am accessing a third-party library, for which the documentation
I have a C++ library (let's call it mylib ) which compiles to libmylib.so
Let's say there is a library function called get_pack() which returns a Pack object:
Let's say I want to profile usage of a single library which is used
Let's say I have a python script which loads a shared library (SL) through
Let's say I have a library Lib.dll, which uses Castle.Windsor to initialize its services.
I have a static library (let's call it S) that uses a category (NSData+Base64
Let's say that I'm writing a library in C# and I don't know who
Let's say I have a project that is a class library. I have a
Let me rephrase my last question, what PHP library or framework can I use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.