dongqiya9552 2010-07-10 02:42
浏览 55

寻找钟形曲线公式来呈现在范围内具有零到完全影响的数据

a=(0-100)

when x=0, a should be 0 when x=100, a should be 100

the data needs to bell curve towards the 100 mark, so that once x passes 100 a will remain at 100 and not go over.

Explanation and application follows:

We have a number of rows of data that are counted as good, bad or questionable. If a row is bad we count it as full value (1.0) against the total. so 100 rows with o1 bad = 99% success if a row is questionable, we count it as a percentage of 1 against (maybe .75) so 100 rows with 1 questionable results in 99.25% success

I would like to build in a factor to apply to that value (bad affect or questionable affect) that would reduce it to zero affect (in either case) if there is only 1 row of data. so.. some thing like: 1 row with 1 bad or questionable = 100% success (no matter the questionable affect) 2 rows with one bad would yield nearly 100% success 10 rows with one bad might yield a 99% success rate 50 rows with 1 bad would yield 99.5% 100 rows with one bad would yield 99%

similar affect to questionable results

This factor that I am attempting to derive would be applied to the affect variable for each of bad and questionable affects.

The factor also will have no implication on the affect once it reaches a certain value, in the above sample 100. it will always start at 0.

Thanks for any assistance. -Scott

  • 写回答

2条回答 默认 最新

  • donglei1616 2010-07-10 04:23
    关注

    To fit an bell curve you will need two parameters. From data you provided, you can estimate only one parameter so to fit another you will be needing more data. eg. Lets say you want to fit a normal curve with (mean m , and variance v) then you can easily say your variance is 50 =(100-0/2) but you still cannot measure m. You can estimate m based on data you have and your requirements. Similary you can fit any other curve too. Given your use case weibull might be an better curve than normal as you dont want a symmetrical curve.

    Secondly be it any curve it cannot fulfill the proposition that x should remain constant 100 for a>100. to achieve this you will have to use 2 or more equations to define enitre curve as

    f(x) = 0 for x<= 0

       BellCurve(x) for 0<x<100
    
       100 for x>=100
    
    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog