KELI
Home › Archive › Case studies › Statistical Algorithms
Archive · Case studies

Statistical Algorithms

Data Tech Major, School of Data Science, Hallym University · Jaehwa Lee · 2026.04.15

Summary
  • 26 second-year School of Data Science students, fall 2025 — a lecture-material-based "Hallym University AI Tutor" integrated into a class that teaches the mathematical principles of algorithms such as numerical integration, linear regression and eigenvalues and implements them in R
  • Theory lectures and basic practice in the first half, algorithm implementation with the AI tutor's guidance in the second half — summarizing questions and answers in their own words on the discussion board and submitting a PBL reflection report
  • Answers centered on lecture materials meant fewer hallucination worries and more topics could be covered — lack of conversational continuity and gaps in prerequisite math knowledge remain to be improved
Course
Statistical Algorithms (theory/practice · major elective, 3 credits, 2nd year)
Professor
Prof. Jaehwa Lee (School of Data Science, Data Tech Major)
University
Hallym University
Semester
Fall semester 2025 · 26 students
AI tools used
Hallym University AI Tutor

This course teaches the mathematical principles of various algorithms and has students write and practice algorithms themselves in R.
Students first learn background knowledge on a few selected topics and then write algorithms themselves in R.
Using the AI tutor, students grasp the core idea of an algorithm in a short time and get good guidance when actually implementing it.

Course goals

  • This course covers the principles of various algorithms.
  • It aims to build the foundational knowledge to choose appropriate algorithms when analyzing real data after graduation.
  • Using the AI tutor builds the ability to use AI appropriately for learning.

How to apply

  1. Learner pre-assessment — Individual/group characteristics: learners who understand or have experience with data analysis, mainly through hands-on work in Python or R.
    Prior knowledge: good computer skills in Python, R, etc., but lacking theoretical and mathematical knowledge.
    AI skills and awareness: has experience using generative AI such as ChatGPT.
    (AI use: introduction to the AI tutor and examples of its use.
    Trying out questions and answers on key terms.
    Trying various operations such as generating quizzes.
    Output: sharing AI use results on the board.)
  2. How AI is used — Students implement algorithms themselves to solve the given practice examples (with the AI tutor's guidance).
    Summarizing in their own words what they understood from learning questions and the AI tutor's answers and uploading it to the board.
    (AI use: Q&A on mathematical background knowledge.
    Step-by-step guides for implementing algorithms in R.
    Outputs: comparison of algorithm implementation results, uploaded to the board.)
  3. Learning support & feedback — Monitoring students, solving code, and giving feedback on questions.
    Encouraging students to summarize and share what they understood in their own words on the discussion board.
    Analyzing student reports to reinforce what was lacking in course operation.
    (AI use: review activities provided by AI.
    Output: reflected in the report.)
  4. Post-assessment & reflection — Classes on algorithms of appropriate difficulty need to be designed with students' diverse backgrounds in mind.
    The AI tutor needs an update reflecting the improvements.
    (AI use: summarizing report answers.
    Drawing implications for course operation from the reports.
    Output: collection of student reports.)

Key weeks

  • Week 1 — Orientation: introduction to how the course runs and to the AI-tutor-integrated class; getting used to the AI tutor.
    Students get used to the AI tutor environment by asking it about the course's key terms.
    Output: writing a self-introduction and expectations for the course and uploading it to the board.
  • Week 4 — Numerical integration: definite integrals, Riemann sums, numerical integration, the trapezoidal rule, Simpson's rule.
    Implementing algorithms with the AI tutor's guidance after related theory lectures and basic practice.
    Summarizing in their own words what they understood from learning questions and the AI tutor's answers and uploading it to the board.
    Output: participating in review activities suggested by the AI tutor.
  • Week 11 — Linear regression: linear regression problems, orthogonal projection, linear models, normal equations.
    Related theory lectures and basic practice, implementing algorithms with the AI tutor's guidance, uploading to the board, and joining review activities.
  • Week 13 — Eigenvalues of matrices: eigenvalues, eigenvectors, the Power Method, the Inverse Power Method.
    Related theory lectures and basic practice, implementing algorithms with the AI tutor's guidance, uploading to the board, and joining review activities.
    Midterm in week 8, final in week 15.

Result

ItemDescription
AI TutorLecture-material-based, course-specialized tutor (tutor.k-university.ai)
Required activitiesEach week, students summarize questions and answers in their own words and share them on the SmartLEAD discussion board
Learning recordsSubmitting a PBL report consisting of a personal reflection note, participation section and final reflections
AI ethics policyStudents write down questions and AI answers, review them critically, and submit their implementation code with their own comments
  • Examples of excellent assignments — In the linear regression and least squares unit, a student asked the AI tutor and Gemini "Is a polynomial curve fit by least squares nonlinear regression?", received different answers (AI tutor: nonlinear regression / Gemini: within linear regression) and asked the instructor, who clarified the key point: "What makes it linear is not the shape of the variable x but whether the coefficients (parameters) are a linear combination"
  • Representative learner reactions — "We asked and discussed how formulas are converted into R code.
    "We focused on 'Why use this algorithm?', writing code ourselves and comparing it with built-in function results in 'verification-centered' learning." / "It eased the pressure of having to understand everything perfectly from the start, and when errors occurred, I got used to examining what part went wrong rather than being afraid."

Educational effects

  • After integrating AI, the number of algorithm topics covered within a semester's weeks could be increased, and because students implemented algorithms with guidance from the AI tutor, they could experience a range of difficulty from simple to advanced topics.
    With the AI tutor's guidance, students could implement algorithms even with limited knowledge of R.
  • Because the AI tutor basically answers from the lecture materials, concerns about hallucination were reduced, and using AI to prepare lecture materials eased the instructor's workload.
    All of each student's learning progress (assignments, Q&A, review, etc.) could be gathered in the report format and evaluated as a whole.
  • Learner reflection: learning with the AI tutor was not simple searching but a tool to learn alongside.
    By asking about things they had wondered about and hearing the answers, students could correct what they had misunderstood.
  • Learning effect of the immediate feedback feature: used as a tool to resolve concepts students got stuck on and R code errors in real time during class, minimizing interruptions to the flow of learning.
    Weekly review assignments with the AI tutor contributed to long-term retention, and even students with low motivation to review did so semi-compulsorily thanks to the assignment format.
    The Q&A board functioned not merely as a place for questions but as a peer learning platform.

Difficulties

  • Given the nature of a math course, the desired kinds of quizzes (e.g. math problems similar to the examples) were not generated, and only conceptual questions were repeated, so the originally planned AI tutor quizzes could not be used and were replaced with "Review."
  • Lack of conversational continuity is the biggest area for improvement: with consecutive questions, context from previous answers is lost and explanations must be repeated.
    Reported limitations include answers that missed the intent of the question, repetitive textbook-style answers and overly complex R code.
    When the AI tutor's answers were copied into SmartLEAD, formulas did not display properly or were not converted into functions usable directly in R, which was inconvenient.
  • Students lacking mathematical background (calculus, linear algebra) faced the risk of dropping out early.
    Before the class, learners enrolled without a background in calculus or linear algebra; university-level math itself was unfamiliar to non-majors in particular, and they had used R only as a "statistics tool," never to implement algorithms.

Improvements

  • Bridge content or separate supplementary materials to fill gaps in prerequisite math knowledge should be provided early in the course.
    The design should be supplemented with comparison tables of each algorithm's convergence conditions, computational cost and conditions of application.
  • An adaptive response feature that automatically detects learners' level of understanding and adjusts difficulty needs to be developed.
    Fine-tuning on lecture materials should be considered so that answers match the code style actually used in class.
  • University expansion: a course-specialized AI tutor linked to a specific course's lecture materials could spread as a university adoption model differentiated from general-purpose AI (such as ChatGPT).
    AI handles students' individual questions first, so the instructor can focus on advanced concepts and correcting misconceptions.
    AI tutor usage history (question topics, error types, repeated question patterns, etc.) can be used as feedback data for instructors to improve their classes.
"Because the AI tutor basically answers from the lecture materials, it eased concerns about hallucinations that can arise when students use AI.
Within the limited lecture time of one semester, we could select and cover a wider range of learning topics than before."— Prof. Jaehwa Lee

Keywords

Hallym University AI TutorImplementing algorithms in RNumerical analysis and linear algebra algorithmsReviewSharing on the discussion boardPBL reflection report

Contents

  1. AI-integrated course plan
  2. AI-integrated course weekly plan
  3. AI-integrated course report
※ The full casebook (PDF) is available via "View PDF" above or "Files" below.
· Citation: Jaehwa Lee (2026), AI class case — Statistical Algorithms, Hallym University · KELI Secretariat
· Contact: KELI Secretariat +82 033-248-3246, 3242, 3044 / contact@keliedu.org

On a phone, only the first page may show.
If so, please use Download.