Publications by finnstats
Calculate Geometric Mean in R
Calculate Geometric Mean in R, Geometric mean is the nth root of the product of n values of a set of observations. Geometric can be expressed as GM=(x1, x2, x3, ……, xn)1/n The advantage of the geometric mean is It is least affected by extreme valuesIt is based on all observations of the setIt is suitable for further algebraic treatment. The d...
1938 sym R (459 sym/6 pcs)
How to Remove Duplicates in R with Example
How to Remove Duplicates in R, when we are dealing with data frames one of the common tasks is the removal of duplicate rows in R. This can handle while using different functions in R like distinct, unique, duplicated, etc… This tutorial describes how to remove duplicated rows from a data frame in R while using distinct, duplicated, and unique ...
1630 sym R (1334 sym/7 pcs)
How to Perform Dunnett’s Test in R
Dunnett’s test in R, After the ANOVA test has been completed the next step is to determine which group means are significantly different from one another. Different types of post hoc tests are available and most often used once are Tukey HSD multiple comparison test and Dunnet test. If our treatment groups contain a control group, and the exper...
2655 sym R (1171 sym/6 pcs) 2 img
How to Perform Tukey HSD Test in R
Tukey HSD Test in R, When there are three or more independent groups, we apply a one-way ANOVA to see if there is a significant difference. The p-value for one-way ANOVA is less than 0.05 indicate that at least one of the treatment groups differs from the others. One way ANOVA tells us whether the means of the groups are significantly different ...
2194 sym R (801 sym/4 pcs) 2 img
Weibull Distribution in R
Weibull Distribution in R, Weibull Distribution was discovered by Swedish physicist Wallodi Weibull in 1939. A continuous random variable X is said to follow Weibull distribution if its probability density function fx(x; α, β)= α/βα [x α-1e(-x/ β)^α] For x>0, α, β>0. There are two parameters in this distribution and It can be used in re...
1915 sym Python (741 sym/5 pcs) 8 img
Grouped Data Mean and Standard Deviation Calculator
We want to determine the mean and standard deviation of ungrouped data in practically all circumstances. However, how can you do that with grouped data? Grouped Data Mean and Standard Deviation Let’s look at an example of how to compute mean and SD. How to Calculate Root Mean Square Error (RMSE) in R » RangeFrequency1-20421-40841-60661-80281-1...
1503 sym R (161 sym/4 pcs) 3 tbl
Adding text labels to ggplot2 Bar Chart
Adding text labels to ggplot2, Is it possible to add text labels to a bar chart in a simple way? Yes, In this article, you’ll learn how to add a frequency count to each bar in a bar chart. First, let’s make a data frame. Animated Graph GIF with gganimate & ggplot » Adding text labels to ggplot2 set.seed(123) data <- data.frame(x = sample(LE...
1522 sym R (617 sym/5 pcs) 4 img
Binomial Distribution in R-Quick Guide
Binomial Distribution in R, Binomial distribution was invented by James Bernoulli which was posthumously published in 1713. Let n ( finite) Bernoulli trials be conducted with probability “p” of success and “q” of a failure. The probability of x success out of n Bernoulli trials is given by f(x)=(ncx)pxqn-x where x=0, 1 , 2, …..,n. 0<=...
2042 sym R (1772 sym/3 pcs) 4 img
Ogive curve in R
Ogive curve in R, It is a graph plotted for the variate values and their corresponding cumulative frequencies of a frequency distribution. The sum of all preceding frequencies up to this point is referred to as cumulative frequency. Its shape is just like elongated S. An ogive curve is prepared either for more than type or less than type distribu...
1868 sym R (257 sym/2 pcs) 2 img
How to Identify Outliers-Grubbs’ Test in R
How to Identify Outliers, The Grubbs’ Technique is a statistical test that may be used to detect outliers in a dataset. A dataset should be generally normally distributed and have at least 7 observations to use this test. This article shows how to use R to run Grubbs’ Test to find outliers in a dataset. How to Identify Outliers -Grubbs’ Tes...
3759 sym R (942 sym/13 pcs)