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]
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
*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: