Test For Randomness in R, How to check dataset randomness? Assume that a and b are symbols indicating the kind of items or numbers that make up a sequence and the test hypothesis is...
Plot Differences in Measurements, the discrepancies in measurements between two different instruments or measurement methodologies are visualized using a Bland-Altman plot. It can be used to compare the accuracy of two instruments or approaches...
Log Rank Test in R, the most frequent technique to compare survival curves between two groups is to use a log-rank test. Test hypotheses: Ho: In terms of survivability, there is no difference between...
Goodness of fit test, The Jarque-Bera test is a goodness-of-fit test that measures if sample data has skewness and kurtosis that are similar to a normal distribution. The Jarque-Bera test statistic is always positive,...
Plot Categorical Data in R, Categorical variables are data types that can be separated into categories. Race, sex, age group, and educational level are examples of categorical variables. This tutorial describes three approaches to...
To make overlay Plots in R, we can make use of lines() and points() functions. Let’s create a scatter plot first and overly another line plot. Approach:- #Step1:-create scatterplot plot(x1, y1) #Step 2:-overlay line...
3D Plot in R, one of the quickest ways to create a 3D plot is to use the persp() function. 3D plot the data points on three axes to highlight the link between three...
In multivariate space, the Mahalanobis distance is the distance between two points. It’s frequently used to locate outliers in statistical investigations involving several variables. This tutorial describes how to execute the Mahalanobis distance in...
How to Calculate Cross-Correlation in R, The degree of resemblance between a time series and a lagged version of another time series is measured using cross-correlation. In another way, it can tell us whether...
How to Calculate Cosine Similarity in R, The measure of similarity between two vectors in an inner product space is cosine similarity. The formula for two vectors, like A and B and the Cosine...