I am using R version of 2.15.3 in R studio environment. I used a function "skew" but got an error message that the name function cannot be found.
You know how skew and kurtosis are calculated (or look it up, e.g. in Wikipedia). So you can write your functions.
Note that different formulas for computing skewness and kurtosis can be used. See, for example, the options "type" of the function kurtosis() shown by using ?kurtosis() after loading the package e1071 by using library(e1071).
You can use package 'moments'. Check following link to get pdf of this package
http://cran.r-project.org/web/packages/moments/moments.pdf
Good luck!
You can also use the library "propagate". Install it in R, load it and use the functions kurtosis() and skewness() as follows:
> library (propagate)
> X skewness(X)
> kurtosis(X)
The psych package has a function describe(), which gives quite a few descriptives including skewness and kurtosis.
I believe it uses the methods similar to e1071, but you might want to confirm that.
Here is a good example;
#Simulation
n.sample
This link can help you
https://alstatr.blogspot.com/2013/06/measures-of-skewness-and-kurtosis.html
A linear mixed model was fitted using lmer function of lme4 package in R. Does anyone have idea of how to extract studentized conditional residual for individual data point?
31 December 2019 2,168 3 View
Dear All, I am using ASREML-R to fit unstructured (UN) and factor analytic (FA) model to explore complex structure of genotype by environment interaction in multienvironment yield data. There are...
10 November 2019 815 4 View
I need to filter a vcf file for genotype quality and depth. How do I choose my filter parameter value? vcftools --gzvcf snps.txt.gz --quality ?? --depth ?? --recode --recode-INFO-all --out...
10 November 2018 3,263 0 View
A genotype data for Genome Wide Association Analysis (GWAS) is provided as 0, 1, and 2 format where individuals along the row and each column is a SNP. The minor allele frequency (MAF) is...
03 April 2018 9,672 3 View
These statistics measures association between ordinal variables: gamma, Kendall’s tau-, Stuart’s tau-, and Somers’. If I am to report correlation between ordinal and nominal variables, what is...
04 May 2016 3,058 2 View
Assuming 12 varieties are evaluated in 4 replicates in Randomized Complete Block Design (RCBD) where 20 variables are measured, is it appropriate to run correlation and principal component...
04 May 2016 2,686 3 View
A GSTAT library of R was used to generate a grid size of (i) 10 x 10 m and (ii) 10 x 5 m running from an Easting of 299677 m to 301297 m and a Northing of 5737278 m to 5738128 m. This resulted in...
10 November 2014 452 6 View
The four variogram models below are fitted to the same dataset. I got a warning message while cross validating a fitted linear variogram model as Warning message: In sqrt(ret[[var.name]]) : NaNs...
03 April 2014 5,713 2 View
A number of variogram models were fitted where estimates like nugget, range, and sill were obtained from gstat of R. Could anyone guide me on how to obtain standard error for each of these...
03 April 2014 7,178 2 View
I used gstat to fit a Matern variogram model to my crop yield by setting the kappa = 0.5. To my surprise, its parameter estimates are exactly the same with that of exponential. Does it mean that...
03 April 2014 7,486 3 View
I would like to learn more about SPSS and Its application especially in regards to data analysis. Please suggest me how I can learn more about it. Thank you so much.
11 August 2024 9,101 4 View
I have reverse sequences (AB1 format), can I base on reverse DNA sequences to perform nucleotide alignment, convert nucleotides to amino acids and deposit the sequence in GenBank database?
11 August 2024 5,138 1 View
Hello, Why do i see this baseline drift when i compare my blank (black) to the sample (blue)? Any suggestions as to why this happened? Thank you!
11 August 2024 3,770 4 View
Willett, Shenoy et al. (2021) have developed a brain computer interface (BCI) that used neural signal collected from the hand area of the motor cortex (area M1) of a paralyzed patient. The...
10 August 2024 7,180 0 View
I am developing a predictive model for a water supply network that involves 20 influencing points. However, I only have historical data for 10 out of these 20 points. I would like to know how to...
10 August 2024 4,005 2 View
I'm currently exploring the application of Python in textile engineering, specifically in areas like data analysis, process automation, and the development of smart textiles. I'm interested in...
10 August 2024 7,429 2 View
How can I use the cif data obtained from rietveld refinement extracted via gsas2, for microstructural analysis using ETEX software?
09 August 2024 7,718 0 View
Let's say we have a standard, regular hexagonal honeycomb with a 3-arm primitive unit cell (something like the figure attached; the figure is only representative and not drawn to scale). The...
07 August 2024 1,937 1 View
A fungal strain was treated with nanoparticles. We want to do an environmental SEM analysis. So could anyone share your views on preparing the sample? Thank you.
07 August 2024 5,307 1 View
Hi, I have a question about normalizing the MTT OD values for doing the statistical analysis. So, if we have 3 different plates and we call them 3 different replicates, so, first we would...
07 August 2024 8,106 4 View