Blog
1004 posts on clinical medicine, epidemiology, research methodology, statistics and code — in English and Thai. Filter by category and language, or search.

Continuous Agreement: ICC, SEM, SDC และ Bland–Altman
การเลือก ICC (model × definition × type, Shrout-Fleiss) พร้อมตัวเลข worked จาก Stata และ SEM, SDC (worked 12.5), CV และ Bland–Altman plot

Continuous Agreement: ICC, SEM, SDC, and Bland–Altman
Choosing the ICC (model × definition × type, Shrout-Fleiss), with Stata worked numbers, plus SEM, SDC (worked 12.5), CV and the Bland–Altman plot.

Categorical Agreement: % Agreement, Specific Agreement และ Kappa
% agreement, specific agreement และ Cohen's kappa ที่ปรับแก้ความบังเอิญ (worked κ=0.70) พร้อม linear vs quadratic weighted kappa (worked κ_w=0.64)

Categorical Agreement: % Agreement, Specific Agreement, and Kappa
% agreement, specific agreement, and chance-corrected Cohen's kappa (worked κ=0.70) plus linear vs quadratic weighted kappa (worked κ_w=0.64).

Inter-rater, Intra-rater, Test–retest: การออกแบบการศึกษา Reliability
สาม reliability designs ข้อสมมุติเรื่อง stability แหล่งของ variance และ 4 ขั้นตอนของการวัดที่ systematic error เข้ามาได้ (ตัวอย่าง iTUG)

Inter-rater, Intra-rater, Test–retest: Designing a Reliability Study
The three reliability designs, the stability assumption, sources of variation, and the four measurement-process steps where systematic error enters (iTUG example).

Agreement vs Reliability: Variance ชุดเดียว สองคำถาม
Observed = true + error. Agreement วัดขนาดของ error (absolute, มีหน่วย); reliability วัดสัดส่วน true variance (relative, ไม่มีหน่วย) เลือกใช้เมื่อใด

Agreement vs Reliability: One Variance, Two Questions
Observed = true + error. Agreement measures the size of error (absolute, units); reliability measures the share of true variance (relative, unitless). When to use each.

ทำไม Sensitivity จึงไม่ใช่ Kappa: Performance vs Agreement
Sensitivity/specificity (performance เทียบ reference) กับ inter-rater agreement (Cohen's kappa, Gwet AC1) เป็นคนละคำถาม กับดัก prevalence, recall-first และ agreement อยู่ตรงไหน

Why Sensitivity Is Not Kappa: Performance vs Agreement
Sensitivity/specificity (performance vs a reference) and inter-rater agreement (Cohen's kappa, Gwet AC1) answer different questions. The prevalence trap, recall-first screening, and where agreement belongs.

Diacerein ในโรคข้อเข่าเสื่อม: กลไก หลักฐานทางคลินิก ประโยชน์ ความเสี่ยง และบทบาทในปัจจุบัน
บทคัดย่อ โรคข้อเข่าเสื่อม (Knee Osteoarthritis; Knee OA) เป็นโรคข้อเสื่อมที่พบบ่อยที่สุดทั่วโลกและเป็นสาเหตุสำคัญของความพิการในผู้สูงอายุ ความผิดปกติของโรคไม่ได้เกิดจากการสึกหรอของกระดูกอ่อนเพียงอย่างเดียว แต่เกี่ยวข้องกับกระบวนการอักเสบระดับต่ำ (low-grade inflammation) ภายในข้อร่วมด้วย Diacerein เป็นยากลุ่ม Symptomatic Slow-Acting Drug for Osteoarthritis (SYSADOA) ที่ได้รับการพัฒนาขึ้นเพื่อยับยั้งการทำงานของ interleukin-1 beta (IL-1β) ซึ่งเป็น cytokine สำคัญที่เกี่ยวข้องกับการสลายตัวของกระดู...

Diacerein in Knee Osteoarthritis: Mechanisms, Evidence, Benefits, Risks, and Current Role
Abstract Knee osteoarthritis (OA) is the most common degenerative joint disease worldwide and a leading cause of disability among older adults. Current treatment strategies focus primarily on symptom control through non-pharmacological interventions, analgesics, nonsteroidal anti-inflammatory drugs (NSAIDs), intra-articular therapies, and ultimately joint replacement for advanced disease. Diacerein is classified as a symptomatic slow-acting drug for osteoarthritis (SYSADOA) and has attracted...

เพศสัมพันธ์ การช่วยตัวเอง ADHD และ early BPH: อะไรปลอดภัย และอะไรคือสัญญาณเตือน?
บทนำ เพศสัมพันธ์และการช่วยตัวเองเป็นพฤติกรรมทางเพศที่พบได้ทั่วไปในมนุษย์ สำหรับคนส่วนใหญ่ สิ่งเหล่านี้ ไม่เป็นอันตราย และ ไม่ได้เป็นสาเหตุของ ADHD หรือ benign prostatic hyperplasia (BPH) ประเด็นสำคัญทางคลินิกไม่ใช่คำถามว่า “ทำบ่อยแค่ไหนถึงมากเกินไป?” แต่ควรถามว่า: พฤติกรรมนั้นยังควบคุมได้หรือไม่? ไม่มีอาการเจ็บหรือไม่? และไม่ได้รบกวนชีวิตประจำวันหรือสุขภาพทางเดินปัสสาวะหรือไม่? สำหรับผู้ชายที่มี ADHD และ early BPH การมีเพศสัมพันธ์และการช่วยตัวเองโดยทั่วไปถือว่าปลอดภัย...

Sex, Masturbation, ADHD, and Early BPH: What Is Safe and What Is a Warning Sign?
Introduction Sex and masturbation are common parts of human sexual behavior. For most people, they are not harmful and do not cause ADHD or benign prostatic hyperplasia (BPH). The important clinical question is not “How many times is too much?” but rather: Is it controlled, painless, and not interfering with life or urinary health? For a male with ADHD and early BPH, sex and masturbation are generally safe when they do not cause pain, urinary worsening, compulsive behavior, or functional...

Warfarin/DOAC vs Aspirin: เหตุใดผู้ป่วย Stroke บางรายได้รับยาต่างกัน
แนวคิดหลัก ความสับสนเกิดขึ้นเพราะคำว่า "มีประวัติ stroke" ไม่ได้หมายความว่าผู้ป่วยทุกคนต้องได้รับยาป้องกันชนิดเดียวกัน ผู้ป่วย 2 รายอาจมีประวัติ ischemic stroke เหมือนกัน แต่ สาเหตุของ stroke อาจต่างกัน ✅ ประวัติเหมือนกัน: ischemic stroke ❌ กลไกไม่จำเป็นต้องเหมือนกัน: AF embolus vs atherosclerotic platelet clot ✅ ดังนั้นยาป้องกันจึงไม่จำเป็นต้องเหมือนกัน: anticoagulant vs antiplatelet หลักสำคัญคือ การป้องกัน stroke ซ้ำต้องดูว่า stroke ครั้งก่อนเกิดจากอะไร แนวทาง AHA/ASA ด้าน secondary stroke...

Warfarin/DOAC vs Aspirin: Why Stroke Patients Receive Different Blood Thinners
Core idea The confusion happens because "stroke history" is not one single treatment category. Two patients may both have a history of ischemic stroke, but the cause of the stroke may be different. ✅ Same history: ischemic stroke ❌ Not always same mechanism: AF embolus vs atherosclerotic platelet clot ✅ Therefore, not always same prevention drug: anticoagulant vs antiplatelet AHA/ASA secondary stroke prevention guidance emphasizes that prevention should be based on the cause of the first...

Community-Acquired Pneumonia (CAP): Severity Assessment, Antibiotic Selection, and ICU Management
1️⃣ SITE OF CARE CURB-65 Decision 0–1 ✅ OPD 2 ✅ IPD ≥3 🚨 ICU eval 2️⃣ OPD MANAGEMENT Patient Antibiotic Healthy Amoxicillin 1 g tid OR Doxy 100 mg bid Comorbidity Augmentin + Azithro/Doxy Thailand note ❌ Avoid FQ mono (TB risk) 3️⃣ IPD (WARD) Severity Antibiotic Non-severe Ceftriaxone + Azithromycin Alternative Amp/Sulbactam + Macrolide 4️⃣ ICU (SEVERE CAP) Rule Regimen 🔥 Always combo β-lactam + macrolide Example Ceftriaxone + Azithro 5️⃣ ADD-ON COVERAGE Condition Add MRSA risk Vancomycin /...

Non-Occlusive Mesenteric Ischemia (NOMI): Diagnosis, ICU Management, and Clinical Pitfalls
Introduction Non-occlusive mesenteric ischemia, or NOMI, is a life-threatening form of acute mesenteric ischemia in which the bowel becomes ischemic without an obstructing thrombus or embolus in the mesenteric vessels. The core problem is low intestinal blood flow, usually from shock, severe cardiac dysfunction, hypovolemia, sepsis, or excessive vasoconstriction from vasopressors. The World Society of Emergency Surgery describes NOMI as a condition commonly caused by superior mesenteric...

Marked Troponin Elevation with Normal ECG: A Practical Article on Type 2 MI and Myocardial Injury
Case: “Ms. A” Ms. A presented with shoulder pain for 2 days. Her initial ECG looked normal, with no ST elevation. She did not have active chest pain at the time of reassessment and clinically looked well. However, her laboratory results were striking: Troponin I: 56 → 54 WBC: 18,000 BUN: 27 Creatinine: 0.6 CXR: normal lungs, mild cardiomegaly Serial ECG: completely normal At first glance, this creates a difficult clinical question: Is this NSTEMI, Type 2 MI, myocarditis, pulmonary embolism,...

Propensity Score vs Prognosis Summary Score: สองคะแนนที่หน้าตาคล้ายกัน แต่ตอบคนละคำถาม & How to Matching
ในงานวิจัยเชิงสังเกต (observational studies) เรามักพูดถึงคำว่า “matching” เหมือนเป็นแค่เทคนิคทางสถิติขั้นหนึ่ง แต่ความจริงแล้ว matching ไม่ได้เริ่มจาก algorithm ก่อน มันเริ่มจากคำถามที่ลึกกว่านั้น: เราต้องการทำให้คนสองกลุ่ม “เทียบกันได้” ในเรื่องอะไร? ถ้าคำถามของเราคือ“ใครมีโอกาสได้รับการรักษาใกล้เคียงกัน?”เครื่องมือที่มักใช้คือ Propensity Score (PS) แต่ถ้าคำถามของเราคือ“ถ้าคนนี้ปกติ ค่า outcome ควรได้เท่าไหร่?”หรือพูดให้ชัดขึ้นว่า“ถ้าคนนี้ไม่มีโรค เป็น control แต่ยังมีอายุ เพศ BSA HR...

Propensity Score vs Prognosis Summary Score: Two Similar-Looking Tools That Answer Different Questions
The Thai tailor-made Article is better Two Similar-Looking Tools That Answer Completely Different Questions In observational research, we often say we want to “make groups comparable.” But a deeper question comes first: Comparable in what sense? Are we trying to make two groups similar in terms of who would receive treatment? Or are we trying to make them similar in terms of what their outcome should look like at baseline? This distinction leads us to two powerful but fundamentally different...

Impacted Cerumen (Earwax Blockage): Clinical Management and Safe Removal Guide
Introduction Impacted cerumen is one of the most common and easily treatable conditions encountered in outpatient practice. Despite its simplicity, improper management can lead to complications such as ear injury or infection. This guide provides a clear, guideline-based approach suitable for both clinical practice and medical education. 👂 What is Impacted Cerumen? Cerumen (earwax) is a natural substance produced by glands in the ear canal. It serves to: Protect the ear from dust and...

Epstein–Barr Virus (EBV): Pathophysiology, Infectious Mononucleosis, and Management
Introduction Epstein–Barr Virus (EBV) is a double-stranded DNA virus from the Herpesviridae family (HHV-4). It is one of the most common human viruses worldwide and is the primary cause of infectious mononucleosis (IM). 💡 High-yield fact (exam): EBV = “Kissing disease” → transmitted via saliva → infects B cells → triggers reactive CD8+ T cells (atypical lymphocytes) EBV is normally found in which patients? ✅ 1. Age group (MOST IMPORTANT) Adolescents & young adults (15–25 years)👉 This group...

Acute Bacterial Conjunctivitis: Clinical Approach and Treatment Guide
1. Clinical Definition Acute bacterial conjunctivitis = superficial infection of the conjunctivaTypical features: Red eye Mucopurulent discharge (sticky eyelids in morning) Mild irritation (NOT severe pain) Usually normal vision 2. Determine Severity First (CRITICAL STEP) Before prescribing anything, classify: ✅ Uncomplicated conjunctivitis (OPD case) ALL must be present: No vision loss No severe pain No photophobia No corneal involvement No contact lens–related keratitis suspicion No recent...

Red Eye in Clinical Practice: When You MUST Consult an Ophthalmologist
Introduction Red eye is one of the most common presentations in outpatient and emergency settings. Most cases are benign (e.g., conjunctivitis), but missing a vision-threatening condition can lead to permanent blindness. As a new doctor, your job is not to diagnose everything — your job is to recognize danger early and refer appropriately. 🧠 Step 1: Think Simple First Ask yourself: 👉 “Is this just conjunctivitis, or could this destroy vision?” Most benign cases: Mild pink/red eye Watery...

Ottawa Ankle Rules: When to Order X-rays in Ankle Injuries
Introduction Ankle injuries are one of the most common presentations in emergency and outpatient settings. However, not all patients require radiographic imaging. The Ottawa Ankle Rules (OAR) are a validated clinical decision tool designed to reduce unnecessary X-rays while maintaining high sensitivity for detecting clinically significant fractures. Ottawa Ankle Rules (OAR) Indications for Ankle X-ray An ankle X-ray series is indicated only if there is pain in the malleolar zone AND at...

Vibrio cholerae (Cholera): Pathophysiology, Diagnosis, and WHO-Recommended Treatment
✅ First-line (WHO / CDC guidelines) 1. Doxycycline (preferred in adults) Doxycycline (300 mg), single dose, po ✔️ First-line in adults ✔️ Reduces duration of diarrhea and bacterial shedding 2. Azithromycin (preferred in children & pregnant women) Azithromycin (1 g), single dose, po (adult) Children: 20 mg/kg single dose ✔️ Safe in pregnancy ✔️ Good for areas with tetracycline resistance 3. Ciprofloxacin (alternative) Ciprofloxacin (1 g), single dose, po OR Ciprofloxacin (500 mg), 1×2 po, for...

Hiccups (Singultus): Pathophysiology and Clinical Management
Introduction Hiccups (singultus) are involuntary, repetitive contractions of the diaphragm and intercostal muscles , followed by sudden closure of the glottis, producing the characteristic “hic” sound. While most cases are benign and self-limited, persistent (>48 hours) or intractable (>1 month) hiccups may indicate serious underlying pathology and require systematic evaluation and management. Pathophysiology of Hiccups The Hiccup Reflex Arc Hiccups occur due to dysfunction in a reflex arc ,...

Osgood-Schlatter Disease: Diagnosis, Pathophysiology, and Management
Osgood-Schlatter disease (OSD) is one of the most common causes of anterior knee pain in adolescents, particularly those who are physically active. It is a benign, self-limiting condition associated with growth spurts and repetitive stress on the knee joint. Understanding its pathophysiology, diagnosis, investigation, and management is essential for both clinical practice and medical examinations. Introduction Osgood-Schlatter disease typically affects adolescents aged 10–15 years, especially...

Anaphylaxis: Emergency Diagnosis and Immediate Management (High-Yield Guide)
A) Clinical diagnosis Think anaphylaxis if acute onset (minutes to hours) after a likely trigger with: Skin/mucosal signs : urticaria, flushing, lip/tongue swelling, angioedema plus Respiratory compromise : wheeze, dyspnea, stridor, hoarseness or Circulatory compromise : hypotension, syncope, shock Also call it anaphylaxis if there is hypotension / bronchospasm / laryngeal edema after allergen exposure even without rash . B) Physical examination Focus on ABCDE Airway lip/tongue swelling →...