RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post

Recently Published

MB6 simulation
Plot
Analysis and Predictive Modeling
Multinomial Logistik
srag_22_25
Chi-Square Tests in R: Independence and Goodness-of-Fit Analysis
This report presents two applications of the Chi-Square test using R: Chi-Square Test for Independence, applied to the UC Berkeley admissions dataset (UCBAdmissions), to determine whether there is a significant relationship between gender and admission status. Chi-Square Goodness-of-Fit Test, applied to the Hair and Eye Color dataset (HairEyeColor), to evaluate whether the distribution of eye colors follows a uniform distribution. The analysis includes data exploration, computation of Chi-Square statistics, p-values, degrees of freedom, and interpretations of the results to support statistical decision-making.