Conditional Independence Test

Re: Conditional Independence Test

Postby zgong001 » Fri Apr 06, 2018 11:56 am

The attached are entropy for one variable and for two variables.
Attachments
entropySoted(sprinkler)100sample-paired.xlsx
entropy for every two variable
(5.36 KiB) Downloaded 151 times
entropySoted(sprinkler)100sample-one variable.xlsx
entropy for every one variable
(4.8 KiB) Downloaded 151 times
zgong001
 
Posts: 463
Joined: Thu Nov 16, 2017 11:10 am

Re: Conditional Independence Test

Postby zgong001 » Fri Apr 06, 2018 12:11 pm

The attached is the Independence Test without any parent.
Attachments
pvalueSorted(sprinkler)-no parent.xlsx
the Independence Test without any parent for 100 sample of sprinkler Dataset
(5.47 KiB) Downloaded 137 times
zgong001
 
Posts: 463
Joined: Thu Nov 16, 2017 11:10 am

Re: Conditional Independence Test

Postby zgong001 » Fri Apr 06, 2018 1:52 pm

The entropy of two different parent sets giving 2 variables are the following. The following is for sprinkler data set.

Suppose X = 5, Y = 6, W = 0 , Z = 1, W ' = 2, Z ' = 3 (5, 6, 0, 1, 2, 3 are column number)

p-value of ( X ind Y | W, Z) =0.5702, p-value of ( X ind Y | W ' , Z ' ) = 0.9399

log Score ( X , Pa (x) = { W, Z } = -35.4498 , log Score ( X , Pa (x) = { W ' , Z ' } = -54.4876

entrop (Nxwz) =1.565021 entrop (Nxw'z') = 1.42160

log Score ( Y , Pa (x) = { W, Z } )= -71.5613 , log Score ( X , Pa (x) = { W ' , Z ' } )=-72.1485

entrop (Nywz) =1.899676 entrop (Nyw'z') = 1.563514

entrop (Nywz) = 1.841074 entrop (Nyw'z') = 1.678443
zgong001
 
Posts: 463
Joined: Thu Nov 16, 2017 11:10 am

Re: Conditional Independence Test

Postby zgong001 » Fri Apr 06, 2018 2:17 pm

Suppose X = 6, Y = 7, W = 1 , Z = 2, W ' = 3, Z ' = 4 (7, 6, 1, 2, 3,4 are column numbers)

p-value of ( X ind Y | W, Z) =0.0003027, p-value of ( X ind Y | W ' , Z ' ) = 0.000283

log Score ( X , Pa (x) = { W, Z } =-71.3621 , log Score ( X , Pa (x) = { W ' , Z ' } = -57.7773

entrop (Nxwz) = 1.422716 entrop (Nxw'z') = 1.661798

log Score ( Y , Pa (x) = { W, Z } )= -73.1975 , log Score ( X , Pa (x) = { W ' , Z ' } )=-72.8787

entrop (Nywz) =1.448039 entrop (Nyw'z') = 1.804677
zgong001
 
Posts: 463
Joined: Thu Nov 16, 2017 11:10 am

Re: Conditional Independence Test

Postby zgong001 » Mon Apr 09, 2018 4:05 pm

The attached is the test result about the relationship between p-value and score, and relationship between score and entropy.

The yellow row in the sheet "p-value violation" does not following the rule:

if p-value of ( X ind Y | W, Z) =0.0003027 greater than ( > ) p-value of ( X ind Y | W ' , Z ' ) , then

log Score ( X , Pa (X) = { W, Z } less than ( < ) log Score ( X , Pa (X) = { W ' , Z ' } and

log Score ( Y , Pa (Y) = { W, Z } less than ( < ) log Score ( Y , Pa (Y) = { W ' , Z ' } .



The blue row in the sheet "entropy violation" does not following the rules:

if log Score ( X , Pa (X) = { W, Z } less than ( < ) log Score ( X , Pa (X) = { W ' , Z ' } then

entropy (Nxwz) less than ( < ) entropy (Nxw'z') .

if log Score ( Y , Pa (Y) = { W, Z } less than ( < ) log Score ( Y , Pa (Y) = { W ' , Z ' } then

entropy (Nywz) less than ( < ) entropy (Nyw'z').
Attachments
TestResult(sprinkler)-v2.xlsx
(118.71 KiB) Downloaded 154 times
zgong001
 
Posts: 463
Joined: Thu Nov 16, 2017 11:10 am

Re: Conditional Independence Test

Postby zgong001 » Wed Apr 11, 2018 4:37 pm

The attached is the updated test result about the relationship between p-value and score, and relationship between score and entropy.
The parent sets ( (w,z) and (w',z') are mutual exclusive. They have no intersection.

The yellow rows in the sheet "p-value violation" are p-value violation case.
The orange rows in the sheet "entropy violation" are entropy violation case.
Attachments
Test(sprinkler)-v4.xlsx
(33.8 KiB) Downloaded 150 times
zgong001
 
Posts: 463
Joined: Thu Nov 16, 2017 11:10 am

Re: Conditional Independence Test

Postby zgong001 » Fri Apr 13, 2018 11:35 am

The attached is the detailed process of calculating the entropy.
Attachments
Calculation Process of entropy.docx
(29.8 KiB) Downloaded 138 times
zgong001
 
Posts: 463
Joined: Thu Nov 16, 2017 11:10 am

Re: Conditional Independence Test

Postby cwyoo » Fri Apr 13, 2018 2:31 pm

zgong001 wrote:The attached is the detailed process of calculating the entropy.


Please use conditional entropy and also present the corresponding variable scores as well.
cwyoo
Site Admin
 
Posts: 387
Joined: Sun Jun 22, 2014 2:38 pm

Re: Conditional Independence Test

Postby zgong001 » Mon Apr 16, 2018 11:14 am

The attached is the detailed process of calculating the conditional entropy H((4,7)|(0,1)) and H((4,7)|(2,3)).
Attachments
Calculation Process of conditional entropy.docx
(17.94 KiB) Downloaded 154 times
zgong001
 
Posts: 463
Joined: Thu Nov 16, 2017 11:10 am

Re: Conditional Independence Test

Postby zgong001 » Thu Apr 19, 2018 12:03 pm

The attached is the detailed process of calculating the conditional entropy H( 4| (0,1) ), H( 4 | (2,3) ), H( 7| (0,1) ) and H( 7| (2,3) ).
Attachments
Calculation Process of conditional entropy - v2.docx
(35.98 KiB) Downloaded 136 times
zgong001
 
Posts: 463
Joined: Thu Nov 16, 2017 11:10 am

PreviousNext

Return to Learning Conditional Independence Distributions

Who is online

Users browsing this forum: No registered users and 1 guest

cron