文章分類


有關阿原記事本

阿原,江易原,記下一些事情跟朋友們分享,也留下自己學習與成長的紀錄。教學課程請見 "阿原小站" 還有阿原開放式課程、阿原直播與教學影片、阿原生活影片、阿原創新顧問公司、阿原科幻小說-NC1543、教師教學社團:開源軟體與教學應用
版權:除特別聲明外,本網站之照片及文字等,皆為版權沒有 (public domain, Creative Commons Zero),歡迎使用
*本站累積不少教學與食品安全資料,請善用左上角的網頁搜尋功能,或是網頁右方文章分類整理。

2026/11/24

AI (ChatGPT) comforts Dr. Chiang when he knows that the midterm questions of statistics can be solved by AI in a minute AI 安慰當阿原,當阿原知道他出的統計考題可以被 AI 輕易解答

 阿原:

Because I allow students to use any materials (including electric device and internet) during the exam. I say: I cannot prohibit you from using AI to solve those exam questions. But, I highly encourage you try to re-read the definitions from the textbook first.


ChatGPT (這裡是建議我的英文用詞可以更委婉)

I think this is a very interesting teaching philosophy. Rather than prohibiting AI, you allow students to use available tools while encouraging them to understand the fundamental concepts first.

I would suggest slightly polishing your statement to make it sound more natural and educational.

Suggested version for your examination:


You are allowed to use any learning resources during this examination, including textbooks, electronic devices, software, the Internet, and AI tools such as ChatGPT.

I cannot prohibit you from using AI to solve the examination questions. However, I strongly encourage you to read and understand the definitions and fundamental concepts in your textbook first, before relying on AI to find the answers.

Remember, getting the correct answer is important, but understanding why the answer is correct is even more important.

My thoughts as an educator

I particularly like your approach for three reasons:

  1. AI literacy: Students learn how to use AI as a learning assistant rather than treating it as something to avoid.

  2. Fundamental knowledge: Reading textbook definitions first helps students develop their own understanding before asking AI.

  3. Critical thinking: Students should learn that AI-generated answers are not necessarily correct and need to be checked.

One sentence I especially recommend keeping is:

"Getting the correct answer is important, but understanding why the answer is correct is even more important."

I think this captures the educational philosophy behind your examination very well.


阿原:

Thanks. This time when made the exam questions, I assumed that student would type the text of the questions to AI and get answers without truly understanding the concepts. I thought those questions I made could slow down the CRACKING (SOLVING) question from AI. But, after your action to solve the exam questions: I give, I surrender


ChatGPT 反過來安慰阿原

Haha! 😂 Please don't surrender, Dr. Chiang. I think you have actually discovered something more interesting than whether AI can pass your examination.

After solving your six-page examination, I would make one observation:

You designed questions to slow AI down, but AI has changed the nature of the challenge.

Your examination contains several good attempts to encourage understanding:

  • Students must show calculation steps, not just final answers.

  • They must label normal distribution curves.

  • They must explain random variables and population parameters.

  • They must formulate hypotheses.

  • They must interpret statistical test results.

  • You even specify that simply using an online calculator will not earn full marks in some questions.

However, AI can now perform all these tasks reasonably well.

Perhaps there is a new challenge for teachers

I would suggest three possible directions for your next examination:

  1. AI-assisted examination: Allow AI, but require students to identify and explain the concepts behind its answers.

  2. AI error detection: Give students an AI-generated solution containing deliberate mistakes. Ask them to identify and correct the errors.

  3. AI reflection: Ask students to compare their initial answers with AI-generated answers and explain what they learned.

I particularly like the second approach.

For example, give students an incorrect explanation:

Since the p-value is 0.158, there is a 15.8% probability that the null hypothesis is true.

Ask them: Is this interpretation correct? Why or why not?

A student who understands hypothesis testing should recognize the mistake.

One final thought:

Perhaps the question is no longer whether students can use AI to pass an examination. It is whether students can understand something better by using AI.

You don't have to compete with AI in calculating means, standard deviations, Z-scores, or probabilities.

Instead, you can teach students how to think critically about the answers AI provides.

And honestly, I think your willingness to let students use AI in an examination is already a very good starting point. 😊

2026/11/23

今晚 (20261123) 才知道,電腦螢幕沒有按鍵,是靠一個短桿來調亮度等參數

 





之前一台在辦公室,不需要調整亮度,就沒有注意,只知道沒有一般螢幕,有數個按鈕可以對螢幕進行調整。

今天開箱一個,又是沒有多個按鈕,基於前一台的經驗,我知道有個按鈕可以打開螢幕,今天搜尋後才知道,是可以調方向的短桿。長知識了



Use AI (ChatGPT) to solve the midterm questions: WOW

 

I am a teacher who created this midterm questions (in PDF), could you solve them (I want to know whether AI can solve it)


ChatGPT

I have successfully read your six-page midterm examination, 20261116 Midterm of Introduction to Statistics.

My assessment is that AI can solve most of these questions, including the statistical calculations, hypothesis testing, and interpretation. However, there are a few interesting points where AI must understand the definitions and assumptions rather than simply use a calculator.

Below is my complete solution, following the question order and rounding requirements in your examination. I will also point out potential ambiguities that you may wish to consider when grading.

Answer key – Introduction to Statistics

Question 1. Mean, median, range, and standard deviation

(Page 1)

The numbers of defective lenses are:

Defect type

Number (\(x\))

Scratch

5865

Right shaped – small

4613

Flaked

1992

Wrong axis

1838

Chamfer wrong

1596

Crazing, cracks

1546

There are six observations, so \(n=6\).

(1) Calculate the mean

\[ \bar{x}=\frac{\sum x}{n} \]
\[ =\frac{5865+4613+1992+1838+1596+1546}{6} \]
\[ =\frac{17450}{6}=2908.3333 \]

Answer
Mean = 2908.33




Calculate the deviations and squared deviations

\[ x-\bar{x} \]

Defect type

\(x\)

\(x-\bar{x}\) (1 decimal)

\((x-\bar{x})^2\) (2 decimals)

Scratch

5865

2956.7

8,742,872.78

Right shaped – small

4613

1704.7

2,905,982.78

Flaked

1992

-916.3

839,663.61

Wrong axis

1838

-1070.3

1,145,672.11

Chamfer wrong

1596

-1312.3

1,722,161.44

Crazing, cracks

1546

-1362.3

1,856,017.78

Important: The squared deviations above are calculated using the unrounded deviations, not the displayed one-decimal values.






\[ \sum x=17450 \]
\[ \sum(x-\bar{x})^2=17,212,370.50 \]
\[ \sqrt{\sum(x-\bar{x})^2}=4148.78 \]

(2) Mean, median, and range

Arrange the observations in increasing order:

1546, 1596, 1838, 1992, 4613, 5865

  • Mean = 2908.33

  • Median = \((1838+1992)/2=1915\)

  • Range = \(5865-1546=4319\)

(3) Should we use n or n−1?

Answer: n−1

The question specifically asks for the sample standard deviation.

(4) Sample standard deviation

\[ s=\sqrt{\frac{\sum(x-\bar{x})^2}{n-1}} \]
\[ =\sqrt{\frac{17,212,370.50}{5}} \]
\[ \boxed{s=1855.39} \]





Correction to the numerical calculation above: I rechecked the squared deviations. The correct values are:

Defect type

Correct squared deviation

Scratch

8,741,877.78

Right shaped – small

2,905,888.44

Flaked

839,666.78

Wrong axis

1,145,613.44

Chamfer wrong

1,722,218.78

Crazing, cracks

1,855,952.11

Sum

17,211,217.33

Therefore, the corrected results are:

\[ \sqrt{17,211,217.33}=4148.64 \]
\[ s=\sqrt{\frac{17,211,217.33}{5}} \]

Corrected answer
Sample SD = 1855.33

Question 2. Five-number summary and box plot

(Page 2)

Original data:

270, 236, 210, 142, 280, 242, 160, 220, 226, 242, 186, 266

(1) Arrange the numbers in increasing order

Position

Value

1st

142

2nd

160

3rd

186

4th

210

5th

220

6th

226

7th

236

8th

242

9th

242

10th

266

11th

270

12th

280





(2) Minimum, maximum, range, and mode

  • Minimum = 142

  • Maximum = 280

  • Range = 280 − 142 = 138

  • Mode = 242

(3) First quartile (Q1)

There are 12 observations. The lower half contains the first six numbers.

\[ Q_1=\frac{186+210}{2} \]
\[ \boxed{Q_1=198} \]

(4) Median

\[ Median=\frac{226+236}{2} \]
\[ \boxed{Median=231} \]

(5) Third quartile (Q3)

The upper half contains the last six numbers.

\[ Q_3=\frac{242+266}{2} \]
\[ \boxed{Q_3=254} \]

Interquartile range:

\[ IQR=Q_3-Q_1 \]
\[ =254-198=\boxed{56} \]

Five-number summary

Min

142

Q1

198

Median

231

Q3

254

Max

280

Box-and-whisker plot

The plot above illustrates the five-number summary. It is not drawn to the exact scale of your examination's printed axis.







Question 3. Normal distribution and Z-score

(Page 3)

Given:

  • Mean: \(\mu=170\) cm

  • Standard deviation: \(\sigma=9\) cm

(1) Label the values in Figure Q3-a

Position

Calculation

Height

\(\mu-3\sigma\)

170 − 27

143 cm

\(\mu-2\sigma\)

170 − 18

152 cm

\(\mu-\sigma\)

170 − 9

161 cm

\(\mu\)

170

170 cm

\(\mu+\sigma\)

170 + 9

179 cm

\(\mu+2\sigma\)

170 + 18

188 cm

\(\mu+3\sigma\)

170 + 27

197 cm

(2) Label the values in Figure Q3-b

For the standard normal distribution:

\[ \mu=0,\qquad \sigma=1 \]

Position

Value

\(\mu-3\sigma\)

-3

\(\mu-2\sigma\)

-2

\(\mu-\sigma\)

-1

\(\mu\)

0

\(\mu+\sigma\)

+1

\(\mu+2\sigma\)

+2

\(\mu+3\sigma\)

+3

(3) A gentleman is 174.5 cm tall. Calculate his Z-score.

The formula:

\[ z=\frac{x-\mu}{\sigma} \]

Substitute the values:

\[ z=\frac{174.5-170}{9} \]
\[ =\frac{4.5}{9} \]
\[ \boxed{z=0.50} \]

Therefore:

  • On Figure Q3-a, mark 174.5 cm between 170 and 179 cm.

  • On Figure Q3-b, mark \(z=0.50\), between 0 and +1.

(4) What percentage of men have heights between 161 and 179 cm?

First, convert both heights into Z-scores.

For 161 cm:

\[ z_1=\frac{161-170}{9}=-1 \]

For 179 cm:

\[ z_2=\frac{179-170}{9}=1 \]

Using the standard normal distribution:

\[ P(-1<Z<1)=0.6827 \]
\[ \boxed{68.27\%} \]

This is also an application of the empirical rule: approximately 68% of observations fall within one standard deviation of the mean.

Question 4. Normal distribution – Blood pressure

(Page 4)

Given:

  • Mean blood pressure: \(\mu=128\) mmHg

  • Standard deviation: \(\sigma=23\) mmHg

(1) State the random variable.

Let:

\[ X=\text{The blood pressure (mmHg) of a randomly selected person in China.} \]

We assume:

\[ X\sim N(128,23^2) \]

(2) Probability that blood pressure is 141 mmHg or less

(i) Label the mean and standard deviations:

Position

Blood pressure

\(\mu-\sigma\)

105 mmHg

\(\mu\)

128 mmHg

\(\mu+\sigma\)

151 mmHg

(ii) Label 141 mmHg and shade the area to its left.

Since 141 is greater than 128, shade from the far left of the curve up to 141.

(iii) Calculate the probability.

\[ P(X\leq141) \]

Convert to Z-score:

\[ z=\frac{141-128}{23} \]
\[ z=0.5652 \]

Using the standard normal distribution:

\[ P(Z\leq0.5652)=0.7140 \]

Answer

\[ \boxed{0.714} \]

(3) Probability that blood pressure is between 120 and 125 mmHg

(i) Label the mean, one SD, and two SDs.

Position

Blood pressure

\(\mu-2\sigma\)

82

\(\mu-\sigma\)

105

\(\mu\)

128

\(\mu+\sigma\)

151

\(\mu+2\sigma\)

174

(ii) Label 120 and 125 mmHg.

Both values are below the mean (128 mmHg). Shade only the area between 120 and 125.

(iii) Calculate the probability.

\[ P(120<X<125) \]

First, calculate the Z-scores.

\[ z_1=\frac{120-128}{23}=-0.3478 \]
\[ z_2=\frac{125-128}{23}=-0.1304 \]

Then:

\[ P(120<X<125) =P(-0.3478<Z<-0.1304) \]
\[ =0.4481-0.3640 \]
\[ \boxed{0.0841} \]

The probability is approximately 8.41%.

Question 5. Hypothesis testing – University cafeteria satisfaction

(Page 5)

This question asks whether students at KNU are more satisfied with their cafeteria than the national average of 75%.

(1) State the random variable and population parameter

Let:

\[ X=\text{The satisfaction status of a randomly selected KNU student.} \]

For example, \(X=1\) if satisfied and \(X=0\) if not satisfied.

\[ p=\text{The proportion of all KNU students who are satisfied with their university cafeteria.} \]

(2) State the hypotheses

The national average is 75%, and we want to determine whether KNU is higher.

Null hypothesis:

\[ \boxed{H_0:p=0.75} \]

Alternative hypothesis:

\[ \boxed{H_a:p>0.75} \]

This is a right-tailed test.

(3) Pick the level of significance and state the reason

\[ \boxed{\alpha=0.05} \]

Reason: A 5% significance level is commonly used in statistical hypothesis testing. It represents an acceptable 5% risk of rejecting a true null hypothesis.

Note: Other significance levels are possible if a reasonable justification is provided, but 0.05 is the conventional choice.

Question 6. One-proportion Z-test

(Page 5–6)

This question is based on the Australian unemployment opinion survey.

Given:

  • July 1997 proportion: 47%

  • November 1997 sample size: 631

  • November 1997 respondents who believed unemployment would increase: 284

  • Significance level: 5%

We want to determine whether the November proportion is lower than the July proportion.

(1) State the random variable and population parameter

Let:

\[ X=\text{The number of Australians in the November 1997 survey who believed unemployment would increase.} \]
\[ p=\text{The proportion of all Australians in November 1997 who believed unemployment would increase.} \]

(2) State the null and alternative hypotheses

Null hypothesis:

\[ \boxed{H_0:p=0.47} \]

Alternative hypothesis:

\[ \boxed{H_a:p<0.47} \]

Significance level:

\[ \boxed{\alpha=0.05} \]

This is a left-tailed test.

(3) Check whether \(np\geq5\) and \(nq\geq5\)

Given:

\[ n=631,\quad p=0.47,\quad q=1-0.47=0.53 \]

Calculate:

\[ np=631\times0.47 \]
\[ \boxed{np=296.57} \]

And:

\[ nq=631\times0.53 \]
\[ \boxed{nq=334.43} \]

Both values are greater than 5.

Therefore, the normal approximation condition is satisfied.

(4) Find the sample statistic, test statistic, and p-value

(i) Calculate the sample proportion:

\[ \hat p=\frac{x}{n} \]
\[ =\frac{284}{631} \]
\[ \boxed{\hat p=0.45} \]

(ii) Calculate the Z-test statistic.

The formula:

\[ z=\frac{\hat p-p}{\sqrt{\frac{pq}{n}}} \]

Substitute:

\[ z=\frac{0.450079-0.47} {\sqrt{\frac{0.47(0.53)}{631}}} \]
\[ \boxed{z=-1.00} \]

(iii) Calculate the p-value.

Since this is a left-tailed test:

\[ p\text{-value}=P(Z<-1.00) \]

Using the standard normal distribution:

\[ \boxed{p\text{-value}=0.158} \]

(5) Conclusion

Compare:

\[ p\text{-value}=0.158 \]
\[ \alpha=0.05 \]

Since:

\[ 0.158>0.05 \]

We fail to reject the null hypothesis.

Answer: There is insufficient statistical evidence at the 5% significance level to conclude that the proportion of Australians who believed unemployment would increase in November 1997 was lower than the proportion in July 1997.

(6) Interpretation

There is insufficient evidence to support the claim that Australians became less likely to believe unemployment would increase between July and November 1997.

Overall assessment: Can AI solve your examination?

Here is my assessment of the six questions.

Question

Topic

AI performance

Q1

Mean, median, SD

Excellent

Q2

Quartiles, IQR, box plot

Excellent

Q3

Normal distribution, Z-score

Excellent

Q4

Normal probabilities

Excellent

Q5

Hypothesis formulation

Excellent

Q6

One-proportion Z-test

Excellent

These are my qualitative assessments, not results from a formal benchmark.

Three interesting observations as an instructor

1. Q1 has an interesting statistical issue.

You provide six defect categories and ask students to calculate the sample standard deviation.

Mathematically, we can calculate it using \(n-1\), as requested. However, these six categories represent different types of defects, not necessarily a random sample from a larger population.

If these are the complete six defect categories of interest, using the population standard deviation (denominator \(n\)) could also be justified.

This is a useful opportunity to discuss the difference between a sample and a population.

2. Q2 depends on the quartile calculation method.

I used the median-of-halves method:

  • Q1 = median of the lower six observations.

  • Q3 = median of the upper six observations.

Some statistical software uses other quartile algorithms, which may produce different answers. I recommend explicitly specifying the method in your teaching materials.

3. Q5 tests conceptual understanding.

Students need to understand the difference between:

  • A random variable.

  • A population parameter.

  • A null hypothesis.

  • An alternative hypothesis.

AI can generate the correct hypotheses, but students who merely memorize formulas may struggle to explain why the alternative hypothesis uses \(p>0.75\), rather than \(p<0.75\).

My final evaluation

Your examination is a reasonably good test of introductory statistics because it covers three important abilities:

  1. Descriptive statistics: calculating and interpreting data.

  2. Probability: understanding normal distributions and Z-scores.

  3. Inferential statistics: formulating and interpreting hypothesis tests.

Can AI get full marks?

Potentially, yes, but not automatically. Q1 requires careful numerical accuracy, Q2 requires following the specified quartile convention, and Q5 requires understanding statistical terminology.

One particularly interesting feature of your examination is that you explicitly allow students to use AI but prohibit communication with other people. This makes it a useful examination of independent problem-solving with digital tools.

My suggestion would be to ask students to explain why they selected a particular formula or hypothesis, rather than only asking them to provide numerical answers.

That would make it more difficult to pass the examination simply by copying answers from AI.

---------------------------------------------------

THanks can I download your solutions as a file?


Certainly! I've prepared a PDF answer key containing all six questions, including:

  • Step-by-step calculations

  • Statistical formulas and explanations

  • Completed answer tables

  • Five-number summary and box plot

  • Hypothesis testing and interpretations

  • Instructor notes about possible ambiguities and grading

Introduction to Statistics – Midterm Solutions

PDF · Complete worked answer key

Ready

Download the PDF answer key

I hope this is useful for checking your examination and evaluating AI's ability to solve introductory statistics problems!




2026/11/19

20261119 今年第 19 次,不測速三千公尺 17 m 47 s


其實慢跑暖身時,覺得體能普通而已


Timing Data

Timing Description: Start Time: 2026年11月19日 17:29:47

Total Time: 00:17:46.66

9 Laps

Lap Description: Lap 9... <Stopped>
Lap Time: 00:01:34.33--最後一圈,加速
Lap Total Time: 00:17:46.66

Lap Description: Lap 8...
Lap Time: 00:01:45.71
Lap Total Time: 00:16:12.33

Lap Description: Lap 7...
Lap Time: 00:01:48.70
Lap Total Time: 00:14:26.62

Lap Description: Lap 6...
Lap Time: 00:01:49.11
Lap Total Time: 00:12:37.92

Lap Description: Lap 5...
Lap Time: 00:01:46.83
Lap Total Time: 00:10:48.81

Lap Description: Lap 4...
Lap Time: 00:01:47.01
Lap Total Time: 00:09:01.98

Lap Description: Lap 3...
Lap Time: 00:03:40.33--忘記按,兩圈各平均是 1 m 50.17 s
Lap Total Time: 00:07:14.97

Lap Description: Lap 2...
Lap Time: 00:01:47.67
Lap Total Time: 00:03:34.64

Lap Description: Lap 1...
Lap Time: 00:01:46.97
Lap Total Time: 00:01:46.97

Generated by the UltraChron Stopwatch for Android.
http://thespinninghead.com/wordpress/?app=ultrachron

使用 ChatGPT 修正給群組學生的英文

 

20261118

could you help me correct the English, thank you

------------------------

Please tell the department secretary, Miss Huang when you will arrive in the IHP office and take the exam (up to three hours)

I may not be on campus on Friday.


AI:

Certainly! Here is a more natural and grammatically correct version:

A few notes:

  • Ms. Huang is more commonly used in professional communication unless you know she prefers Miss.

  • Arrive at the IHP office is more natural than "arrive in the IHP office."

  • You will have up to three hours to complete it makes the exam time limit clearer.

Your original message was already quite understandable!

---------------

阿原修改後:

Please tell the department secretary, Ms. Huang when you will arrive at the IHP office and take the exam (You will have up to three hours to complete it)
I may not be on campus on Friday. 
Any questions, please let me know. 








2026/11/16

20261115 今年第 18 次,不測速三千公尺 19 m 14 s


其實,原本今天想要跑五千,但今天狀態是中等偏下,所以跑完前幾圈,心想,今天三千就好。

 



Timing Data

Timing Description: Start Time: 2026年11月15日 17:12:06

Total Time: 00:19:14.15

10 Laps

Lap Description: Lap 10... <Stopped>
Lap Time: 00:01:47.31
Lap Total Time: 00:19:14.15

Lap Description: Lap 9...
Lap Time: 00:01:52.05
Lap Total Time: 00:17:26.84

Lap Description: Lap 8...
Lap Time: 00:02:02.51
Lap Total Time: 00:15:34.79

Lap Description: Lap 7...
Lap Time: 00:01:58.92
Lap Total Time: 00:13:32.28

Lap Description: Lap 6...
Lap Time: 00:01:59.87
Lap Total Time: 00:11:33.36

Lap Description: Lap 5...
Lap Time: 00:02:01.88
Lap Total Time: 00:09:33.49

Lap Description: Lap 4...
Lap Time: 00:01:58.40
Lap Total Time: 00:07:31.61

Lap Description: Lap 3...
Lap Time: 00:01:55.40
Lap Total Time: 00:05:33.21

Lap Description: Lap 2...
Lap Time: 00:01:50.35
Lap Total Time: 00:03:37.81

Lap Description: Lap 1...
Lap Time: 00:01:47.46
Lap Total Time: 00:01:47.46

Generated by the UltraChron Stopwatch for Android.



2026/11/13

筆記:在 Linux 平台上可繪製 3 D 分布圖的開源軟體  

 




α   AlphaPlot



Top 20 Plotting Tools for Linux for Creating Scientific Graphs in Turkey, Istanbul, Ankara, Izmir 


6. PLplot


15 SciDAVis (Scientific Analysis and Visualization) is an essential tool to generate different types of interactive 2D and 3D plots.

18. DataMelt



20261112 今年第 17 次,不測速三千公尺 17 m 54 s


可能是上午做雙腿深蹲,單腿蹲,造常兩腳略酸痛,晚上跑步表現普通。


Timing Description: Start Time: 2026年11月12日 17:18:48


Total Time: 00:17:53.60  ( = ~ 5.94 min/km 接近六分速)

10 Laps

Lap Description: Lap 10... <Stopped>
Lap Time: 00:01:40.57
Lap Total Time: 00:17:53.60

Lap Description: Lap 9...
Lap Time: 00:01:50.75
Lap Total Time: 00:16:13.03

Lap Description: Lap 8...
Lap Time: 00:01:54.06
Lap Total Time: 00:14:22.28

Lap Description: Lap 7...
Lap Time: 00:01:51.26
Lap Total Time: 00:12:28.22

Lap Description: Lap 6...
Lap Time: 00:01:48.79
Lap Total Time: 00:10:36.96

Lap Description: Lap 5...
Lap Time: 00:01:46.19
Lap Total Time: 00:08:48.17

Lap Description: Lap 4...
Lap Time: 00:01:46.24
Lap Total Time: 00:07:01.98

Lap Description: Lap 3...
Lap Time: 00:01:47.26
Lap Total Time: 00:05:15.74

Lap Description: Lap 2...
Lap Time: 00:01:43.90
Lap Total Time: 00:03:28.48

Lap Description: Lap 1...
Lap Time: 00:01:44.58
Lap Total Time: 00:01:44.58

Generated by the UltraChron Stopwatch for Android.