UK-based online statistics and data analysis support for USA, UK, and international clients. No exams, no impersonation, no fabricated data.
Correlation Tests

Point Biserial Correlation: Formula, Interpretation, SPSS, Python, R and Excel Guide

Binary-continuous correlation, group mean difference, t-test connection and Excel worked result Point Biserial Correlation: Formula, Interpretation, SPSS, Python, R and Excel Guide Point Biserial Correlation measures...

Statistics guide Ethical learning support SPSS/R/Python/Excel friendly
Point Biserial Correlation: Formula, Interpretation, SPSS, Python, R and Excel Guide

Binary-continuous correlation, group mean difference, t-test connection and Excel worked result

Point Biserial Correlation: Formula, Interpretation, SPSS, Python, R and Excel Guide

Point Biserial Correlation measures the association between one true binary variable and one continuous variable. It is mathematically the same as Pearson correlation when the binary variable is coded 0 and 1, but its interpretation focuses on the difference between two group means. This guide explains the formula, assumptions, binary coding, group mean interpretation, Python charts, R validation charts, SPSS output, Excel formulas, p-value, t-test connection, APA reporting, common mistakes and downloadable files.

AdvertisementGoogle AdSense top placement reserved here

Quick Answer: Point Biserial Correlation Result

The main worked example tests the association between sex and G3 final grade. The binary variable is sex, coded as F = 0 and M = 1. The continuous variable is G3. Since sex is a true two-category variable and G3 is a numeric grade score, the correct correlation is Point Biserial Correlation.

The verified Excel result is rpb = -0.129077, with N = 649, t(647) = -3.310938, and p = 0.000982. The result is statistically significant at α = .05, but the effect size is small. The negative sign appears because the group coded 1, which is M, has a lower mean G3 score than the group coded 0, which is F.

Binary variablesex
Continuous variableG3
Valid N649
MethodPoint-biserial

F mean G312.2533
M mean G311.4060
rpb-0.1291
p-value0.000982

Final interpretation: There is a statistically significant small negative point-biserial association between sex coding and G3 final grade. Because M was coded as 1 and had a lower mean G3 score than F, the coefficient is negative. The relationship is statistically detectable, but the practical strength is small.

Important reporting point: Do not report only the p-value. The p-value is significant, but rpb = -0.129 is small and r² = 0.0167, meaning the binary coding explains only about 1.67% of the variance in G3.

Table of Contents

  1. What Is Point Biserial Correlation?
  2. When Should You Use Point Biserial Correlation?
  3. Point Biserial vs Biserial vs Phi Coefficient
  4. Point Biserial Correlation Formula
  5. Null and Alternative Hypotheses
  6. Dataset and Variables Used
  7. Verified Point Biserial Results
  8. Top Pairwise Point Biserial Relationships
  9. Python Chart-by-Chart Interpretation
  10. R Chart-by-Chart Interpretation
  11. SPSS Output Interpretation
  12. Excel Worked File Explanation
  13. Python, R, SPSS and Excel Workflows
  14. Code Blocks and Excel Formulas
  15. Assumptions and Data Checks
  16. How to Report Point Biserial Correlation
  17. Common Mistakes
  18. Downloads and Resources
  19. Related Statistical Guides
  20. FAQs About Point Biserial Correlation

What Is Point Biserial Correlation?

Point Biserial Correlation is a correlation coefficient used when one variable is naturally binary and the other variable is continuous. A binary variable has two categories, such as female/male, yes/no, pass/fail, treatment/control, urban/rural, public/private, or present/absent. A continuous variable has numeric values, such as final grade, test score, income, weight, time, age, or measurement score.

The point-biserial coefficient is written as rpb. It is calculated like Pearson correlation after the binary variable is coded as 0 and 1. Even though the calculation is correlation-based, the interpretation is often easier through group means. A positive rpb means the group coded 1 has a higher mean on the continuous variable. A negative rpb means the group coded 1 has a lower mean.

In this guide, F is coded 0 and M is coded 1. The F group has mean G3 = 12.2533, while the M group has mean G3 = 11.4060. Since the group coded 1 has the lower mean, the point-biserial correlation is negative: rpb = -0.129077.

Point Biserial Correlation connects naturally with Correlation in Python, Correlation in R, Correlation in SPSS, Correlation in Excel, t-Test in Python, t-Test in SPSS, Effect Size, p-value and Confidence Interval.

Simple definition: Point Biserial Correlation measures the relationship between a true 0/1 binary variable and a continuous variable. It is Pearson correlation with one variable coded 0 and 1.

When Should You Use Point Biserial Correlation?

Use Point Biserial Correlation when the research question asks whether a two-category group variable is associated with a numeric outcome. The binary variable should be a real two-category variable, not an artificial split made from a continuous variable. The continuous variable should have meaningful numeric distances.

SituationUse Point Biserial?ReasonExample
One true binary variable and one continuous variableYesThis is the standard use case.sex coded 0/1 with G3 final grade.
Binary group is naturally two categoriesYesPoint-biserial is for true dichotomies.school GP/MS with G1 score.
Binary variable is yes/no and outcome is a scoreYes0/1 coding can be correlated with the score.higher education yes/no with G3 score.
Both variables are binaryNoUse Phi Coefficient or chi-square for a 2×2 table.sex by pass/fail status.
Binary variable is an artificial split of a continuous variableUsually not the best nameBiserial correlation may be discussed if the split represents an underlying continuous trait.G1 converted to low/high by cutoff.
Both variables are continuousNoUse Pearson, Spearman, Kendall Tau-b, or another continuous/rank method.G1 and G3 as numeric grades.

For the main worked example, the conditions are satisfied. Sex is binary, G3 is continuous/numeric, and the analysis asks whether the binary group coding is associated with final grade. The result is statistically significant, but the group mean difference is modest and the effect size is small.

Point Biserial vs Biserial vs Phi Coefficient

Students often mix up Point Biserial Correlation, Biserial Correlation, and Phi Coefficient because all three involve binary variables. The key difference is the scale of the second variable and whether the binary variable is a true binary variable or an artificial split.

MeasureUse It WhenExampleMain Interpretation
Point Biserial CorrelationOne variable is truly binary and the other is continuous.sex coded F=0, M=1 with G3 score.Observed correlation between binary coding and continuous score.
Biserial CorrelationThe binary variable is an artificial split from an underlying continuous trait.G1 split into low/high using a cutoff.Estimated association before the artificial split.
Phi CoefficientBoth variables are binary.sex by pass/fail status.Association in a 2×2 contingency table.
Independent Samples t-TestOne binary group variable and one continuous outcome.Compare mean G3 for F and M.Tests whether the two group means differ.

Reporting rule: If your binary variable is real and your outcome is continuous, report Point Biserial Correlation. If both variables are binary, report Phi Coefficient. If the binary variable is created by splitting a continuous trait, discuss Biserial Correlation carefully.

Point Biserial Correlation Formula

Point Biserial Correlation can be calculated using Pearson correlation after coding the binary variable as 0 and 1. It can also be calculated from group means, sample standard deviation, and group sizes.

rpb = (M1 − M0) / SDY × √[n0n1 / n(n − 1)]

In this formula, M1 is the mean of the continuous variable for the group coded 1, M0 is the mean for the group coded 0, SDY is the sample standard deviation of the continuous variable, n1 and n0 are the group sizes, and n is the total sample size.

Formula ElementMeaningVerified Value
M0Mean G3 for F coded 012.2532637076
M1Mean G3 for M coded 111.4060150376
M1 − M0Mean difference for code 1 minus code 0-0.8472486700
SDYSample standard deviation of G33.2306562428
n0F group size383
n1M group size266
nTotal valid observations649
rpbPoint Biserial Correlation-0.1290774866

The sign is negative because the group coded 1 has a lower mean. If the coding were reversed, the sign would change, but the absolute strength would remain the same.

Significance Test Formula

The point-biserial significance test can be written using the same t-test logic used for Pearson correlation:

t = rpb × √[(n − 2) / (1 − rpb2)]

For the main example, this gives t = -3.310938, with df = 647 and p = 0.000982. The r-squared value is 0.016661, so the binary coding accounts for about 1.67% of the variance in G3.

Null and Alternative Hypotheses

The point-biserial test asks whether the population association between the binary variable and the continuous variable is zero.

StatementHypothesisMeaning
Null hypothesisH0: ρpb = 0There is no association between sex coding and G3 final grade in the population.
Alternative hypothesisH1: ρpb ≠ 0There is an association between sex coding and G3 final grade.
Observed directionrpb < 0The group coded 1 has a lower mean G3 score than the group coded 0.
Decision ruleReject H0 if p < .05The association is statistically significant at the 5% level.

Decision: Since p = 0.000982 is below .05, the null hypothesis is rejected. There is a statistically significant association between sex coding and G3. The effect size is small because rpb = -0.129077.

Dataset and Variables Used

The analysis uses the student performance dataset with 649 valid observations. The main worked example uses sex as the true binary variable and G3 as the continuous outcome variable.

VariableRoleCoding / ScalePurpose in This Test
sexBinary predictorF = 0, M = 1Defines the two groups compared by point-biserial correlation.
G3Continuous outcomeFinal grade score, observed 0 to 19Numeric variable being compared across the two binary groups.
G1 and G2Additional continuous outcomesFirst and second period gradesUsed in pairwise point-biserial screening with binary variables.
higherAdditional binary predictorno = 0, yes = 1Strongest pairwise point-biserial relationship with G1 in the workbook.
school, address, internetAdditional binary predictorsTwo-category variablesUsed for broader binary-continuous association screening.

Before reporting the coefficient, it is useful to review Descriptive Statistics Explained, Standard Deviation, Standard Error, Confidence Interval, Effect Size, p-value and Null and Alternative Hypothesis.

Verified Point Biserial Results

The table below summarizes the verified main worked example from the Excel workbook. The values match the report-card logic used in the Python and R charts.

StatisticVerified ValueInterpretation
Continuous variableG3Final grade score.
Binary variablesexTrue binary grouping variable.
CodingF = 0, M = 1The sign depends on this coding.
N649Complete valid observations.
n code 0383F group size.
n code 1266M group size.
Proportion code 00.590139F group proportion.
Proportion code 10.409861M group proportion.
Mean G3 for code 012.253264F group mean.
Mean G3 for code 111.406015M group mean.
Mean difference 1 − 0-0.847249M mean is lower than F mean.
Sample SD of G33.230656Standard deviation used in the formula.
Point-biserial r-0.129077Small negative association.
r squared0.016661About 1.67% of variance explained.
t statistic-3.310938Test statistic for significance.
df647N − 2.
Two-tailed p-value0.000982Statistically significant at α = .05.
DecisionSignificant at alpha = 0.05Reject H0.
StrengthsmallStatistically significant but limited practical strength.

The result should be reported as significant and small. A large sample can make a small effect statistically significant, so interpretation must include both p-value and coefficient size.

Top Pairwise Point Biserial Relationships

The workbook also screens binary variables against continuous variables and ranks the strongest point-biserial relationships. This broader table helps show that the main sex by G3 example is not the strongest point-biserial relationship in the dataset.

RankBinary vs Continuous Pairrpbp-valueStrengthInterpretation
1higher (yes=1) vs G10.3490304.985546e-20moderateStudents wanting higher education had higher G1 scores on average.
2address (U=1) vs traveltime-0.3449021.446628e-19moderateUrban address was associated with lower travel time.
3higher (yes=1) vs G30.3321723.499660e-18moderateHigher-education intention was associated with higher final grade.
4higher (yes=1) vs G20.3319533.691722e-18moderateHigher-education intention was associated with higher G2 score.
5sex (M=1) vs Walc0.3207855.345887e-17moderateThe M-coded group had higher weekend alcohol-use scores.
6higher (yes=1) vs failures-0.3094007.284000e-16moderateHigher-education intention was associated with fewer failures.
7school (MS=1) vs G1-0.2926262.793394e-14smallThe MS-coded school group had lower G1 scores on average.
8school (MS=1) vs G3-0.2842941.566199e-13smallThe MS-coded school group had lower final grades on average.
9sex (M=1) vs Dalc0.2826962.165920e-13smallThe M-coded group had higher weekday alcohol-use scores.
10school (MS=1) vs G2-0.2697762.760387e-12smallThe MS-coded school group had lower G2 scores on average.

The pairwise screening shows an important lesson: the largest point-biserial associations in this dataset are not always the most obvious pair. Higher-education intention has moderate positive associations with grades, while sex by G3 is statistically significant but small.

AdvertisementGoogle AdSense middle placement reserved here

Python Chart-by-Chart Interpretation

The Python report includes five charts: distribution by binary group, group means with 95% confidence intervals, point-biserial report card, histogram overlay by binary group, and binary scatter with fitted line. Together, these visuals explain why the result is statistically significant but small.

Python Chart 1: Distribution by Binary Group Boxplot

Python boxplot for Point Biserial Correlation showing G3 distribution by sex binary group
Python boxplot comparing G3 final grade distributions between the binary groups F and M.

The boxplot shows the distribution of G3 separately for the F-coded group and the M-coded group. The F group has a slightly higher center than the M group. This matches the verified means: F has mean G3 = 12.2533, while M has mean G3 = 11.4060.

The most important feature of the chart is overlap. The boxes and whiskers are not widely separated. Many students in both groups have similar final grades. This visual pattern explains why the coefficient is small even though the p-value is significant. A strong point-biserial relationship would show much clearer separation between the two groups.

The chart also helps prevent overstatement. The result does not mean one group always scores higher than the other. It only means that, on average, the group coded 1 has a lower G3 score in this dataset.

Python Chart 2: Group Means with 95% Confidence Intervals

Python Point Biserial Correlation group means with 95 percent confidence intervals
Python chart showing mean G3 for each binary group with 95% confidence intervals.

The group means chart makes the direction of the result easy to see. The F-coded group has a higher mean G3 score, and the M-coded group has a lower mean G3 score. The mean difference is -0.847249 when calculated as M minus F.

This is the chart that most directly explains the negative sign. Since M is coded 1 and M has the lower mean, the coefficient is negative. If the coding were reversed, the line or bars would represent the same group difference but the sign of the correlation would reverse.

The confidence intervals help readers understand sampling uncertainty. Because N is large, the group means are estimated fairly precisely. Still, the actual mean gap is less than one grade point, so the practical effect remains small.

Python Chart 3: Point Biserial Report Card

Python point biserial correlation report card showing N, group means, r, t statistic and p value
Python report card summarizing the point-biserial coefficient, t statistic, p-value and decision.

The report card gives the final result in one place: binary variable sex, continuous variable G3, N = 649, F coded 0, M coded 1, rpb = -0.129077, t(647) = -3.310938, p = 0.000982, and a significant decision at α = .05.

This is the best chart to use when writing the final results paragraph because it contains the coefficient and the test statistic. However, the report card should still be interpreted with the distribution and mean charts. The p-value tells us the association is statistically detectable, while the coefficient tells us the effect is small.

Python Chart 4: Histogram Overlay by Binary Group

Python histogram overlay for Point Biserial Correlation by binary group
Python histogram overlay comparing the G3 distribution for F and M groups.

The histogram overlay shows how the full G3 distribution differs across the two binary groups. The two distributions overlap heavily, which confirms that the association is not large. The F-coded distribution is slightly shifted toward higher final grades, while the M-coded distribution has relatively more lower-grade observations.

This chart is helpful because a boxplot summarizes distribution shape, but a histogram shows the frequency pattern across grade values. The overlap demonstrates why the practical effect should not be exaggerated. A statistically significant point-biserial correlation can still be small when group distributions largely overlap.

Python Chart 5: Binary Scatter with Fitted Line

Python binary scatterplot with fitted line for Point Biserial Correlation
Python scatterplot showing G3 scores by 0/1 binary coding with a fitted line.

The binary scatterplot places the coded binary variable on the x-axis and G3 on the y-axis. Because the x-axis has only two possible values, points stack at 0 and 1. Jittering or transparency helps show the density of observations.

The fitted line slopes downward because the group coded 1 has a lower mean G3 score. The slope is not steep, which visually matches the small value of rpb. This chart is useful for connecting point-biserial correlation with ordinary Pearson correlation and simple linear regression. With a 0/1 predictor, the fitted-line difference corresponds to the group mean difference.

R Chart-by-Chart Interpretation

The R charts validate the Python results using a separate workflow and colorful chart versions. The same five visuals are repeated: boxplot, group means with confidence intervals, report card, histogram overlay, and binary scatter with fitted line.

R Chart 1: Colorful Distribution by Binary Group Boxplot

R colorful point biserial boxplot showing G3 distribution by binary group
R validation boxplot comparing G3 distributions between F and M groups.

The R boxplot confirms the same distribution pattern as Python. The F group has a slightly higher central tendency than the M group, but the distributions overlap strongly. This independent software validation supports the same interpretation.

R Chart 2: Colorful Group Means with 95% Confidence Intervals

R colorful group means chart for Point Biserial Correlation
R validation chart showing mean G3 by binary group with 95% confidence intervals.

The R group means chart validates the same mean difference: the F group has a higher mean G3 score than the M group. The sign of rpb is negative because M is coded 1 and the M group mean is lower.

R Chart 3: Colorful Point Biserial Report Card

R colorful point biserial report card
R report card summarizing the point-biserial result and significance test.

The R report card confirms the same final statistics: N = 649, rpb ≈ -0.129, t ≈ -3.311, p ≈ .001, and a significant decision. The chart is useful because it confirms that the result does not depend on one software environment.

R Chart 4: Colorful Histogram Overlay by Binary Group

R colorful histogram overlay by binary group for Point Biserial Correlation
R histogram overlay comparing G3 score distributions by binary group.

The R histogram overlay again shows heavy overlap between the two G3 distributions. This supports the small-effect conclusion. The chart is especially useful for students who might otherwise interpret statistical significance as a large practical difference.

R Chart 5: Colorful Binary Scatter with Fitted Line

R colorful binary scatterplot with fitted line for Point Biserial Correlation
R binary scatterplot showing the fitted downward relationship between sex coding and G3.

The R fitted-line chart confirms the negative direction. The line decreases from code 0 to code 1 because the M-coded group has the lower mean. The decline is visible but not steep, which matches the small magnitude of the point-biserial coefficient.

SPSS Output Interpretation

The SPSS output is included for formal reporting. In SPSS, Point Biserial Correlation can be obtained by recoding the binary variable into 0 and 1 and then running a Pearson correlation between the binary code and the continuous variable. It can also be interpreted alongside an independent-samples t-test because both methods describe the same two-group mean difference from different perspectives.

Open the SPSS Point Biserial Correlation Output PDF

SPSS Output ItemExpected Value / MeaningHow to Interpret It
Binary codingF = 0, M = 1The sign of r depends on this coding.
Continuous variableG3Final grade score.
Valid N649Complete cases used in the analysis.
Pearson correlation with binary coder = -0.129This is the point-biserial coefficient.
Sig. two-tailedp ≈ .001The association is statistically significant.
Independent-samples t-test contextt(647) ≈ -3.311Matches the correlation significance logic.
Group meansF mean higher than M meanExplains the negative sign when M is coded 1.

SPSS users should avoid reporting only the correlation table. A clear report should also mention the group means. Without the means and coding direction, readers may misunderstand why the coefficient is negative.

Excel Worked File Explanation

The Excel workbook gives a fully worked Point Biserial Correlation example. It includes raw data, encoded variables, the main worked example, pairwise point-biserial screening, Excel method notes and a dashboard. The workbook is useful for students because it shows both the direct Excel correlation method and the manual formula using group means.

Download the Point Biserial Correlation Fully Worked Excel File

Excel SheetPurposeWhat It Teaches
Read_MeExplains the workbook setup.Shows project folder, dataset size, main variables and method note.
Raw_DataStores the full dataset.Allows users to verify the original student performance variables.
Encoded_WorkedCreates the binary code and continuous variable columns.Shows sex coded F=0 and M=1 with G3 as the outcome.
Main_Worked_ExampleShows the main formula calculation.Calculates N, group sizes, group means, SD, r, r², t, df and p-value.
Pairwise_ResultsRanks binary-continuous relationships.Shows top point-biserial relationships across multiple variables.
Excel_MethodExplains formula steps.Documents CORREL, mean-difference formula and T.DIST.2T p-value method.
DashboardSummarizes the main result.Shows key metrics, group means and top-ranked pairwise results.

Excel Main Worked Example

The workbook uses G3 as the continuous variable and sex as the binary variable. The coding rule is F = 0 and M = 1. The direct Excel method is:

=CORREL(continuous_range, binary_code_range)

The formula-driven Excel result is -0.1290774866. The manual group-means formula gives the same value, confirming the calculation. The t statistic is -3.3109376930, df is 647, and the two-tailed p-value is 0.0009815287.

Excel Interpretation Rule

Excel makes the coding direction very clear. Since the binary code is F=0 and M=1, a negative coefficient means the M group has a lower mean. It does not mean the variable is “bad,” and it does not automatically imply a large effect. It only describes the direction of the mean difference under the chosen coding.

Excel teaching value: The workbook is not only a result file. It shows the full chain from binary coding to group means, direct CORREL calculation, manual formula, t statistic, p-value, decision and pairwise screening.

AdvertisementGoogle AdSense in-content placement reserved here

Python, R, SPSS and Excel Workflows

The same Point Biserial Correlation analysis can be reproduced in Python, R, SPSS and Excel. The steps are similar in every tool: code the binary variable, choose the continuous variable, compute the correlation, check group means, run the significance test and interpret the effect size.

SoftwareMain WorkflowBest Use
PythonUse pandas for binary coding, scipy for Pearson/point-biserial correlation and matplotlib for boxplots, means, histograms and scatterplots.Automated reporting, charts and reproducible analysis.
RUse cor.test() after coding the binary variable as 0/1, t.test() for mean-difference context and charting functions for validation.Statistical validation and colorful publication visuals.
SPSSRecode binary variable to 0/1, run Pearson correlation with G3 and add independent-samples t-test for group means.Formal output PDF and academic reporting.
ExcelUse CORREL, AVERAGEIF, STDEV.S, COUNTIF, T.DIST.2T and formula-driven summary tables.Transparent formula teaching and workbook-based learning.

Code Blocks and Excel Formulas

Python Code for Point Biserial Correlation

import pandas as pd
import numpy as np
from scipy import stats

# Load data
df = pd.read_csv("dataset.csv")

# Main worked example
continuous_var = "G3"
binary_var = "sex"

work = df[[binary_var, continuous_var]].dropna().copy()
work[continuous_var] = pd.to_numeric(work[continuous_var], errors="coerce")

# Code F = 0 and M = 1
work["binary_code"] = work[binary_var].map({"F": 0, "M": 1})
work = work.dropna()

x = work["binary_code"].to_numpy()
y = work[continuous_var].to_numpy()
n = len(work)

# Point-biserial correlation is Pearson correlation with a 0/1 variable
r_pb, p_value = stats.pearsonr(x, y)

# Group means
n0 = int((x == 0).sum())
n1 = int((x == 1).sum())
mean0 = y[x == 0].mean()
mean1 = y[x == 1].mean()
sd_y = y.std(ddof=1)

# Manual formula
r_manual = ((mean1 - mean0) / sd_y) * np.sqrt((n0 * n1) / (n * (n - 1)))

# t statistic and r squared
t_value = r_pb * np.sqrt((n - 2) / (1 - r_pb**2))
df_t = n - 2
r_squared = r_pb**2

print("N:", n)
print("n0:", n0, "n1:", n1)
print("Mean code 0:", mean0)
print("Mean code 1:", mean1)
print("Mean difference 1-0:", mean1 - mean0)
print("Point-biserial r:", r_pb)
print("Manual r:", r_manual)
print("r squared:", r_squared)
print("t:", t_value, "df:", df_t, "p:", p_value)

R Code for Point Biserial Correlation

# Load data
df <- read.csv("dataset.csv", stringsAsFactors = FALSE)

# Main worked example
work <- na.omit(df[, c("sex", "G3")])
work$G3 <- as.numeric(work$G3)

# Code F = 0 and M = 1
work$sex_code <- ifelse(work$sex == "M", 1, 0)

# Point-biserial correlation is Pearson correlation with a 0/1 variable
cor_result <- cor.test(work$sex_code, work$G3, method = "pearson")
print(cor_result)

# Group summaries
n <- nrow(work)
n0 <- sum(work$sex_code == 0)
n1 <- sum(work$sex_code == 1)
mean0 <- mean(work$G3[work$sex_code == 0])
mean1 <- mean(work$G3[work$sex_code == 1])
sd_y <- sd(work$G3)

r_manual <- ((mean1 - mean0) / sd_y) * sqrt((n0 * n1) / (n * (n - 1)))
t_value <- unname(cor_result$estimate) * sqrt((n - 2) / (1 - unname(cor_result$estimate)^2))
r_squared <- unname(cor_result$estimate)^2

cat("N =", n, "\n")
cat("n0 =", n0, "n1 =", n1, "\n")
cat("Mean code 0 =", mean0, "\n")
cat("Mean code 1 =", mean1, "\n")
cat("Manual point-biserial r =", r_manual, "\n")
cat("t =", t_value, "\n")
cat("r squared =", r_squared, "\n")

# Mean difference context
t.test(G3 ~ sex_code, data = work, var.equal = TRUE)

SPSS Syntax for Point Biserial Correlation

* Point Biserial Correlation in SPSS.
* Binary variable: sex coded F=0 and M=1.
* Continuous variable: G3.

OUTPUT CLOSE ALL.
OUTPUT NEW NAME=Point_Biserial_Output.

RECODE sex ('F'=0) ('M'=1) INTO sex_code.
VARIABLE LABELS sex_code 'Sex coded for point-biserial correlation: F=0, M=1'.
VALUE LABELS sex_code 0 'F' 1 'M'.
EXECUTE.

FREQUENCIES VARIABLES=sex sex_code.
DESCRIPTIVES VARIABLES=G3 sex_code
  /STATISTICS=MEAN STDDEV MIN MAX.

CORRELATIONS
  /VARIABLES=sex_code G3
  /PRINT=TWOTAIL
  /MISSING=PAIRWISE.

T-TEST GROUPS=sex_code(0 1)
  /VARIABLES=G3
  /CRITERIA=CI(.95).

EXAMINE VARIABLES=G3 BY sex_code
  /PLOT BOXPLOT HISTOGRAM NPPLOT
  /STATISTICS DESCRIPTIVES
  /CINTERVAL 95
  /MISSING LISTWISE.

OUTPUT EXPORT
  /CONTENTS EXPORT=VISIBLE
  /PDF DOCUMENTFILE='Point-Biserial-Correlation-SPSS-Output.pdf'.

Excel Formulas for Point Biserial Correlation

Assume:
continuous_range = G3 values
binary_range = 0/1 coding for sex

N:
=COUNT(continuous_range)

n0:
=COUNTIF(binary_range,0)

n1:
=COUNTIF(binary_range,1)

Mean for code 0:
=AVERAGEIF(binary_range,0,continuous_range)

Mean for code 1:
=AVERAGEIF(binary_range,1,continuous_range)

Sample SD of continuous variable:
=STDEV.S(continuous_range)

Direct point-biserial correlation:
=CORREL(continuous_range,binary_range)

Manual point-biserial formula:
=((Mean1-Mean0)/SD_Y)*SQRT((n0*n1)/(N*(N-1)))

r squared:
=r_pb^2

t statistic:
=r_pb*SQRT((N-2)/(1-r_pb^2))

Degrees of freedom:
=N-2

Two-tailed p-value:
=T.DIST.2T(ABS(t),df)

Decision:
=IF(p_value<0.05,"Significant at alpha = 0.05","Not significant at alpha = 0.05")

Assumptions and Data Checks

Point Biserial Correlation is closely related to Pearson correlation and the independent-samples t-test. It does not require both variables to be continuous, but it does require one true binary variable and one continuous outcome. The observations should be independent, and the continuous outcome should be interpreted sensibly within each group.

CheckWhy It MattersStatus in This Example
One variable is true binaryPoint-biserial requires a real two-category variable.sex has two groups: F and M.
One variable is continuousThe outcome should be numeric and meaningful.G3 is a numeric final grade score.
Binary coding is clearThe sign depends on which group is coded 1.F=0 and M=1 are explicitly stated.
Independent observationsEach row should represent a separate student/case.The dataset treats each student as one observation.
Group distribution checkedOutliers or very uneven distributions can affect interpretation.Boxplots and histograms are included.
Effect size reportedp-value alone does not show practical strength.rpb and r² are reported.
No causal claimCorrelation does not prove cause and effect.The result is reported as association only.

The main caution is effect-size interpretation. Since rpb is only -0.129, the result is small even though it is statistically significant. This is a common situation in large datasets.

How to Report Point Biserial Correlation

A complete report should include the binary coding, continuous variable, group means, sample size, coefficient, t statistic, degrees of freedom, p-value, effect-size strength and interpretation of direction.

APA-Style Full Report

A point-biserial correlation was computed to examine the association between sex coding and G3 final grade. Sex was coded as F = 0 and M = 1. The analysis included 649 students, with 383 students in the F group and 266 students in the M group. The F group had a higher mean G3 score (M = 12.253) than the M group (M = 11.406). The point-biserial correlation was statistically significant and small, rpb = -.129, r² = .017, t(647) = -3.311, p = .001. Because the M group was coded as 1 and had the lower mean, the coefficient was negative.

Short APA-Style Version

A small but statistically significant point-biserial association was found between sex coding and G3 final grade, rpb = -.129, t(647) = -3.311, p = .001. The negative sign reflects the coding direction because M was coded as 1 and had a lower mean G3 score than F.

Plain-Language Version

Students in the F-coded group had a slightly higher average G3 final grade than students in the M-coded group. The difference was statistically significant, but the relationship was small, so it should not be described as a strong group difference.

Common Mistakes in Point Biserial Correlation Interpretation

MistakeWhy It Is a ProblemBetter Practice
Calling it biserial correlation without checking the binary variablePoint-biserial is for true binary variables; biserial is for artificial dichotomies.Use point-biserial when the binary variable is naturally two categories.
Ignoring coding directionThe sign changes when 0 and 1 are reversed.Always state which group is coded 1.
Reporting only the p-valueThe p-value does not show strength.Report rpb, r² and group means.
Calling a small significant result strongLarge samples can make small effects statistically significant.Use small/moderate/large effect-size wording.
Using point-biserial for two binary variablesThat situation is a 2x2 contingency table.Use Phi Coefficient or chi-square.
Using it when the continuous variable is actually ordinal with few levelsThe numeric distances may not be meaningful.Consider rank or ordinal methods if the outcome is ordinal.
Claiming causationCorrelation does not prove cause and effect.Use association wording unless the study design supports causal inference.

Downloads and Resources

External References

For additional learning, review documentation and references on Pearson correlation, point-biserial correlation, independent-samples t-test, binary coding, effect size interpretation and confidence intervals. These topics are commonly taught together because point-biserial correlation is the correlation form of a two-group mean comparison.

FAQs About Point Biserial Correlation

What is Point Biserial Correlation in simple words?

Point Biserial Correlation measures the relationship between a true two-category variable and a continuous variable. It is Pearson correlation when the binary variable is coded 0 and 1.

What was the main result in this guide?

The main result was sex coded F=0 and M=1 correlated with G3 final grade. The result was rpb = -0.129077, t(647) = -3.310938, p = 0.000982, N = 649. The effect was statistically significant but small.

Why is the coefficient negative?

The coefficient is negative because M was coded as 1 and the M group had a lower mean G3 score than the F group. Reversing the coding would reverse the sign.

Is Point Biserial Correlation the same as Pearson correlation?

Yes, mathematically it is Pearson correlation when one variable is coded 0 and 1. The special name is used because one variable is binary and the interpretation focuses on group mean differences.

What is the difference between point-biserial and biserial correlation?

Point-biserial correlation is used for true binary variables. Biserial correlation is used when the binary variable is an artificial split from an underlying continuous or latent variable.

How do I calculate Point Biserial Correlation in Excel?

Code the binary variable as 0 and 1, then use CORREL(continuous_range, binary_code_range). You can also use the group-means formula with group means, standard deviation and group sizes.

How do I run Point Biserial Correlation in SPSS?

Recode the binary variable to 0 and 1, then run Pearson correlation between the binary code and the continuous variable. Add an independent-samples t-test to show the group mean difference.

What does r squared mean for Point Biserial Correlation?

r squared shows the proportion of variance in the continuous variable associated with the binary coding. In this guide, r² = 0.016661, meaning about 1.67% of G3 variance is associated with sex coding.

Can I use Point Biserial Correlation when both variables are binary?

No. If both variables are binary, use Phi Coefficient or a chi-square test for a 2x2 table.

Does a significant Point Biserial Correlation prove causation?

No. Point Biserial Correlation shows association, not cause and effect. The result should be interpreted as a small association between sex coding and G3, not as a causal claim.

How should I report the result in one sentence?

You can write: “A small but statistically significant point-biserial association was found between sex coding and G3 final grade, rpb = -.129, t(647) = -3.311, p = .001.”

AdvertisementGoogle AdSense bottom placement reserved here

Need help applying this to your own data?

Salar Cafe can help interpret output, clean datasets, review assumptions, build dashboards and explain statistical results ethically.

Need help interpreting your data analysis results?

Contact Salar Cafe
Engr. Muhammad Yar Saqib author profile photo

Engr. Muhammad Yar Saqib

WhatsApp Get Data Analysis Help