如何根据不同调整值的范围绘制p值? [英] How to make a figure plotting p-values by range of different adjustment values?

查看:117
本文介绍了如何根据不同调整值的范围绘制p值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

感谢您抽出宝贵时间阅读我的留言。



(使用包中的** logit **功能**汽车**)



我的统计分析是根据0%到100%的概率估算进行的。因为在0和1之间的百分比上运行线性模型并不理想,所以这些估计值是对数变换的。



然而,这引入了研究者的自由度。在Package ** Car **中,logit转换代码是

 logit(p = doc $ value,adjust = 0.025)



logit definition /描述



计算比例或百分比的logit变换。



用法



 logit(p,百分比= range.p [2]> 1,调整





参数



pa数字向量或比例或百分比数组。

百分比为TRUE为百分比。

调整调整系数以避免比例为0或1;如果数据中没有这样的比例,则默认为0;如果有,则默认为.025。)



我选择默认调整系数.025,但是我我需要确定我的值大于.05以显示我没有选择使我的结果显着的调整值。



最终,我想要找到调整因子的范围,我们得到P< 0.05?在什么时候我们得到P> 0.05?



##我正在寻找的最终产品是具有以下功能的数字:

## 1)调整系数x轴

## 2)y轴上的P值

有谁知道怎么做?非常感谢你。

 





我尝试了什么:



对于循环但我的编码不够先进:(



谢谢!

解决方案

value,adjust = 0.025)



logit definition / Description



计算比例或百分比的logit变换。



使用



 logit(p,百分比= range.p [2]> 1,调整





参数



pa数字向量或比例或百分比数组。

百分比为真。

调整调整系数以避免比例0或1;如果数据中没有这样的比例,则默认为0;如果有,则默认为.025。)



我选择默认调整系数.025,但是我我需要确定我的值大于.05以显示我没有选择使我的结果显着的调整值。



最终,我想要找到调整因子的范围,我们得到P< 0.05?在什么时候我们得到P> 0.05?



##我正在寻找的最终产品是具有以下功能的数字:

## 1)调整系数x轴

## 2)y轴上的P值

有谁知道怎么做?非常感谢你。

 





我尝试了什么:



对于循环但我的编码不够先进:(



谢谢!


Thank you for taking the time to read my message.

(Using the **logit** function in package **car**)

My Statistical analyses were conducted on probability estimates ranging from 0% to 100%. As it's not ideal to run linear models on percentages that are bounded between 0 and 1, these estimates were logit transformed.

However, this introduces a researcher degree of freedom. In Package **Car**, the logit transformation code is

logit(p = doc$value, adjust = 0.025)


logit definition/Description

Compute the logit transformation of proportions or percentages.

Usage

logit(p, percents=range.p[2] > 1, adjust

)

Arguments

p a numeric vector or array of proportions or percentages.
percents TRUE for percentages.
adjust adjustment factor to avoid proportions of 0 or 1; defaults to 0 if there are no such proportions in the data, and to .025 if there are.)

I chose the default adjustment factor of .025, but I need to determine at what point my values are greater than .05 to show I did not choose an ajustment value that makes my results significant.

Ultimately, I want to find the range of adjustment factors do we get P < 0.05?And at what point do we get P > 0.05?

## The final product I'm looking for is a figure with the following features:
## 1) Adjustment factor on the x-axis
## 2) P value on the y-axis

Does anyone know how to do this? Thank you so much in advance.



What I have tried:

For loop but my coding is just not advanced enough :(

Thank you!

解决方案

value, adjust = 0.025)


logit definition/Description

Compute the logit transformation of proportions or percentages.

Usage

logit(p, percents=range.p[2] > 1, adjust

)

Arguments

p a numeric vector or array of proportions or percentages.
percents TRUE for percentages.
adjust adjustment factor to avoid proportions of 0 or 1; defaults to 0 if there are no such proportions in the data, and to .025 if there are.)

I chose the default adjustment factor of .025, but I need to determine at what point my values are greater than .05 to show I did not choose an ajustment value that makes my results significant.

Ultimately, I want to find the range of adjustment factors do we get P < 0.05?And at what point do we get P > 0.05?

## The final product I'm looking for is a figure with the following features:
## 1) Adjustment factor on the x-axis
## 2) P value on the y-axis

Does anyone know how to do this? Thank you so much in advance.



What I have tried:

For loop but my coding is just not advanced enough :(

Thank you!


这篇关于如何根据不同调整值的范围绘制p值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆