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

Easy web publishing from R

Write R Markdown documents in RStudio.
Share them here on RPubs. (It’s free, and couldn’t be simpler!)

Get Started

Recently Published

Tugas 6 REGNON
Forecasting Daily TransJakarta Ridership with an ARDL Model
Time series forecasting of daily TransJakarta passenger counts (Jan 2023 - Jun 2024) using an Autoregressive Distributed Lag (ARDL) model with route adjustment as an external variable. Covers optimal lag selection (AIC), diagnostic tests, train/test evaluation with MAPE, and multistep forecasting.
One-Way ANOVA in Matrix Form: Chlorophyll Content of Three Leaf Types
One-way ANOVA for a completely randomized design in R, comparing chlorophyll content in cassava, spinach, and lettuce leaves. Builds the linear model in matrix form (X’X, X’y, reparameterization), computes the ANOVA table manually and checks it against aov(), then tests normality and homogeneity of variance.
Factorial ANOVA in a Randomized Block Design: Effect of Variety and Fertilizer on Plant Height
Analysis of a two-factor experiment in a randomized block design using R. Tests the main effects of variety and fertilizer, their interaction, and the block effect with ANOVA, and visualizes the interaction with an interaction plot.
Multiple Linear Regression: Factors Affecting the Democracy Index across Indonesian Provinces
Multiple linear regression on provincial data (34 provinces) to identify factors affecting the democracy index, such as press freedom, number of CSOs, HDI, and public information openness. Covers multicollinearity check (VIF), outlier, leverage and influence diagnostics, classical assumption tests, and model selection (forward, backward, stepwise, best subsets).
Outlier Detection for Skewed Data: Earthquake Depth with Adjusted Boxplot
Exploratory data analysis of earthquake depth in R. Compares the standard boxplot with the adjusted boxplot (medcouple-based) for skewed data, and checks the distribution with a histogram, density curve, and Shapiro-Wilk test.
3337260092_Muhammad Gian Pratama_D26_Statistika
Tugas Statistika 5