TidyStat
  • SPSS
  • Analytics
  • Excel
  • Python
  • R
  • Statistics
  • Tools
  • Statistics Calculators

Author: Will

Calculate Sample Size for Chi-square Test

This tutorial shows how you can calcuate sample size for one variable chi-square test here. The example in this tutorial is that a marketing agency tests two versions of packaging (A version vs. B Version). The null hypothesis is that...
Read Full Article about Calculate Sample Size for Chi-square Test →

Fisher’s LSD (Least Significant Different) in R

This tutorial shows how to do the post hoc test using Fisher’s LSD (Least Significant Different) in R. When to use Fisher’s LSD  Typically, it is when you are doing one-way ANOVA with more than 2 groups (e.g., 3 groups). Further,...
Read Full Article about Fisher’s LSD (Least Significant Different) in R →

Calculate p-value in Linear Regression

This tutorial shows how you can calculate p-value for linear regression. It includes formulas and data examples in Python. Formulas for p-value in Linear Regression We can estimate the regression coefficient B using the following formula. Where, Such calculation only...
Read Full Article about Calculate p-value in Linear Regression →

Linear Mixed Models in SPSS

This tutorial includes the explanation of what a linear mixed model is, how to structure its statistical model, data example, as well as steps for linear mixed models in SPSS. Definition of Linear Mixed Models Linear mixed models (LMMs) are...
Read Full Article about Linear Mixed Models in SPSS →

Linear Regression and Orthogonal Projection

This tutorial explains why and how linear regression can be viewed as an orthogonal projection on 2 and 3-dimensional spaces. Projection with 2 Dimensions Suppose that both X0 and Y have 2 dimensions (e.g., 2 observations from 2 participants). It...
Read Full Article about Linear Regression and Orthogonal Projection →

Interaction in Linear Regression

This tutorial focuses on interaction between a categorial variable and a continuous variable in linear regression. Note that, in this tutorial, we limit the the categorical variable to be 2 levels. (For a categrocial variable with 3 levels, please refer...
Read Full Article about Interaction in Linear Regression →

Dummy and Contrast Codings in Linear Regression (IV has 3 levels)

This tutorial explains the differences between dummy coding and contrast coding in linear regression using R code examples. It is worth pointing out that, this tutorial focuses on the categorical independent variable has 3 levels. Short Note Note that, in...
Read Full Article about Dummy and Contrast Codings in Linear Regression (IV has 3 levels) →

Sample Variance Formula and Calculation by Hand

Sample variance is the measure of the variability in a given sample. A sample is a set of observations that are a subset of a population. Sample Variance Formula The following is the formula for sample variance. where, Data Example...
Read Full Article about Sample Variance Formula and Calculation by Hand →

Calculate Standard Deviation in Excel

STDEV(), STDEV.S(), and STDEV.P() can be used to calculate standard deviation in Excel. It depends on if you are calculating sample or population standard deviation. Sample Standard Deviation: Use either STDEV() or STDEV.S(). Population Standard Deviation: Use STDEV.P(). Example 1 The following...
Read Full Article about Calculate Standard Deviation in Excel →

Conduct Paired Samples t-test in Excel

This tutorial shows detailed steps of how to do paired-sample t-test in Excel with a data example. Data Example The data table shown below has 3 columns, name, math, and English. We are going to compare if Math and English...
Read Full Article about Conduct Paired Samples t-test in Excel →

Posts pagination

Previous 1 2 3 4 … 6 Next
© 2026 TidyStat
  • Disclaimer
  • About