Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Σmin(x,y)/Σ(y)

Unfortunately, these are just the formulas for calculations regarding the included factors as sufficient conditions for the outcome. If one supposes that the factors are necessary, one has to swap the formulas for the two measurements in the following way:

Σmin(x,y)/Σ(y) (consistency) AND Σmin(x,y)/Σ(x) (coverage)

Do you know how this "switch" can be performed. I am adding a little piece of code to exemplify the issue. In the code, we regard how degrees of wealthiness influence the posession of luxury goods (this obviously is a necessary condition since you can only have luxury goods if you have a sufficient amount of money, however, you are not obliged to buy luxury goods just because you are rich). I picked values that should produce a conistency-value of "1". As I have pointed out, however, the program incorrectly produces a coverage-value of "1" and a consistency value of ".739".

*Variables: Wealthiness und Posession of Luxury Goods*
input wealthy lux_goods
0 0
1 .8
.4 .2
.6 .6
.4 .4
.8 .8
.8 .2
.6 .4
end

*calculation of constistency and coverage *
fuzzy lux_goods wealthy, settest(yvv)
coverage lux_goods wealth

Thanks a lot for your help! 
___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index