24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1150  |  回复: 1

jzdda

新虫 (初入文坛)

[交流] 小提琴图已有1人参与

如何看懂小提琴图?
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

赵鑫易

铜虫 (小有名气)


小木虫: 金币+0.5, 给个红包,谢谢回帖
没找到合适的中文介绍,找了个维基的介绍如下。简单说就是进阶的箱型图在两侧标记核密度(提琴的身)

A violin plot is a method of plotting numeric data. It is similar to a box plot, with the addition of a rotated kernel density plot on each side.[1] Violin plots are similar to box plots, except that they also show the probability density of the data at different values, usually smoothed by a kernel density estimator. Typically a violin plot will include all the data that is in a box plot: a marker for the median of the data; a box or marker indicating the interquartile range; and possibly all sample points, if the number of samples is not too high. A violin plot is more informative than a plain box plot. While a box plot only shows summary statistics such as mean/median and interquartile ranges, the violin plot shows the full distribution of the data. The difference is particularly useful when the data distribution is multimodal (more than one peak). In this case a violin plot shows the presence of different peaks, their position and relative amplitude. Like box plots, violin plots are used to represent comparison of a variable distribution (or sample distribution) across different "categories" (for example, temperature distribution compared between day and night, or distribution of car prices compared across different car makers). A violin plot can have multiple layers. For instance, the outer shape represents all possible results. The next layer inside might represent the values that occur 95% of the time. The next layer (if it exists) inside might represents the values that occur 50% of the time. Although more informative than box plots, they are less popular. Because of their unpopularity, their meaning can be harder to grasp for many readers not familiar with the violin plot representation. In this case, a more accessible alternative can be plotting a series of stacked histograms or kernel density distributions. Violin plots are available as extensions to a number of software packages, including the R packages vioplot, wvioplot, caroline, UsingR, lattice and ggplot2, the Stata add-on command vioplot,[2] and the Python libraries matplotlib[3], Plotly[4], ROOT[5] and Seaborn[6], a graph type in Origin [7], IGOR Pro [8], Julia statistical plotting package StatsPlots.jl[9] and DistributionChart in Mathematica.
2楼2020-10-08 01:28:34
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 jzdda 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见