Option to visualize event times and censoring times as dots in ppc_km_overlay()
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 62/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- r
- Lĩnh vực
- data-visualization
Hướng nghiên cứu
Bắt đầu từ điểm vào ppc_km_overlay() và kiểm tra cách hiện tại hàm này vẽ các đường cong Kaplan-Meier cho thời điểm xảy ra sự kiện và thời điểm kiểm duyệt. Thêm hành vi được yêu cầu cho các chấm tùy chọn, đồng thời giữ nguyên hành vi mặc định của đường cong, sau đó xác minh rằng cả hai chế độ trực quan hóa đều tạo ra các biểu đồ như mong đợi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I was presenting my work related to predictive model checking for survival models (Predictive Assessment and Comparison of Bayesian Survival Models for Cancer Recurrence) at StanCon and somebody asked me about a case where there are so few event times that the Kaplan-Meier curve is far from continuous. In this case, plotting the Kaplan-Meier curve for the observations is clumsy. A similar issue can arise if the time is discretized and there are only few different time points where events are happening, even though the number of events is high.
For these kinds of cases, I think it would be useful if ppc_km_overlay() had a binary parameter dots that could be used to plot the event times and censoring times as dots instead of plotting the Kaplan-Meier curve. The default value could still be dots = FALSE, which plots the Kaplan-Meier curve as before. There are some examples below.
When plotting the Kaplan-Meier curves for these two models, it can be a little bit unintuitive to say which one is fitting and which one is not, since you have to look at the points where the Kaplan-Meier curves fall.
In my opinion, the dots would be a clearer visualization, because from these you can instantly tell, which model fits and which does not.
Another nice thing about the dots is that they can indicate the exact locations where censoring is happening.
I have already implemented this in my own fork so I can make the pull request relatively easily if this is deemed to be a wanted feature for the package.
- Ngôn ngữ chính
- R
- Star
- 443
- Fork
- 93
- Merge trung bình
- 15 giờ 46 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stan-dev/bayesplot
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Replace superseded coord_flip() with swapped aesthetics in ppc_error_scatter_avgCó thể đã có người làm @ishaan-arora-1 đã nhận 205 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
pp_check and rvarsĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Package cheatsheet with thumbnail plots or an example galleryCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởdocumentation
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Tất cả issue của stan-dev/bayesplot
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
inbo/erl-butterflies-2025#26 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
broken link to libgit2Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
CART ADaM: ADVS.CHG update codeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
RConsortium/submissions-pilot7-synthetic-data#95 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
betweenĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100