Problem with data box

56 views
Skip to first unread message

Nourhaine

unread,
Oct 17, 2015, 11:46:26 AM10/17/15
to Tetrad Users Group
Hi;

I'm using TETRAD V and I'm facing problem with data box.
Only Tabular Data Set works.I need to write the data as correlation matrix.
Could you please help me?
Thanks in advance

Nourhaine

Joseph Ramsey

unread,
Oct 17, 2015, 12:33:20 PM10/17/15
to tetrad-us...@googlegroups.com
I'm not sure; it works for me. Perhaps your format is wrong; I'm attaching a covariance matrix in the format that Tetrad accepts. The variable names and sample size must be declared. Only the lower triangle of the matrix need be given. Have you done all that?

Joe

--
You received this message because you are subscribed to the Google Groups "Tetrad Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tetrad-users-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Joseph D. Ramsey
Special Faculty and Director of Research Computing
Department of Philosophy
143 Baker Hall
Carnegie Mellon University
Pittsburgh, PA 15213

jsph....@gmail.com
Office: (412) 268-8063
http://www.andrew.cmu.edu/user/jdramsey
data7.txt

Nourhaine

unread,
Oct 19, 2015, 4:30:34 AM10/19/15
to Tetrad Users Group

Thanks for answering my question.
My data is in the appropriate format (.txt)
I click on data box, then "data Wrapper", then"load data" and I choose my file..
The data can't be loaded.
Is it wrong what I did?
Thanks again. 

cg...@andrew.cmu.edu

unread,
Oct 19, 2015, 9:50:46 AM10/19/15
to tetrad-us...@googlegroups.com
Send us your data file and we will check it. We will destroy it after investigating
the difficulty.

Cg

Nourhaine

unread,
Oct 19, 2015, 10:10:47 AM10/19/15
to Tetrad Users Group
This is my data.
Thanks

Nourhaine
Data.txt

cg...@andrew.cmu.edu

unread,
Oct 19, 2015, 10:17:07 AM10/19/15
to tetrad-us...@googlegroups.com
Try removing the first column that lists the variable names. Insert the sample size
on the first line before the columns.

Cg

> This is my data.
> Thanks
>
> *Nourhaine*
>
> Le samedi 17 octobre 2015 17:46:26 UTC+2, Nourhaine a écrit :
>>
>> Hi;
>>
>> I'm using TETRAD V and I'm facing problem with data box.
>> Only Tabular Data Set works.I need to write the data as correlation matrix.
>> Could you please help me?
>> Thanks in advance
>>
>> Nourhaine
>>
>

Nourhaine

unread,
Oct 19, 2015, 10:25:19 AM10/19/15
to Tetrad Users Group
it doesn't work..


Nourhaine


Data.txt

cg...@andrew.cmu.edu

unread,
Oct 19, 2015, 11:06:47 AM10/19/15
to tetrad-us...@googlegroups.com
Did you tell the program in the data inteface that the data is "tab delimited" (is
it?) and did you check that it is a positive definite matrix.

> it doesn't work..
>
>
>
> *Nourhaine*

Nourhaine

unread,
Oct 19, 2015, 11:38:51 AM10/19/15
to Tetrad Users Group

How to do it ?
Actually, I entered the data one by one..But how to tell Tetrad that the data is correlation matrix?


cg...@andrew.cmu.edu

unread,
Oct 19, 2015, 12:26:02 PM10/19/15
to tetrad-us...@googlegroups.com
Tetrad won't do it, but for your matrix I believe you can check by hand with this:

Let A be the symmetric (not the lower triangular) matrix. A is positive-definite if
all the diagonal entries are positive, and each diagonal entry is greater than the
sum of the absolute values of all other entries in the corresponding row/column.

see: https://ece.uwaterloo.ca/~dwharder/NumericalAnalysis/04LinearAlgebra/posdef/

Cg


>
> How to do it ?
> Actually, I entered the data one by one..But how to tell Tetrad that the
> data is correlation matrix?
>
> <https://lh3.googleusercontent.com/-hve94mgrtlk/ViUN7WqdloI/AAAAAAAAAJ4/SiOgCZy9dME/s1600/tetrad.png>

Nourhaine

unread,
Oct 19, 2015, 12:41:50 PM10/19/15
to Tetrad Users Group
I'll try it.
Thanks again 


Nourhaine

Joseph Ramsey

unread,
Oct 19, 2015, 12:56:38 PM10/19/15
to tetrad-us...@googlegroups.com
I see the problem; there's a misplaced exception. I'll re-upload the program when I get a chance.

Joe

Joseph Ramsey

unread,
Oct 19, 2015, 2:53:59 PM10/19/15
to tetrad-us...@googlegroups.com
Could you try it now?

Joe

Nourhaine

unread,
Oct 20, 2015, 4:34:28 AM10/20/15
to Tetrad Users Group

I tried but no avail..
I'm waiting your help Joe.. many thanks

Nourhaine

Joseph Ramsey

unread,
Oct 20, 2015, 5:39:47 AM10/20/15
to tetrad-us...@googlegroups.com
I just closed version 5.2.1-3 and re-opened it; this caused it to download again. I placed a Data box on the workbench. I double clicked the Data box and from the File menu selected Load Data. I selected your file, Data.txt. Under Regular, I selected Covariance matrix, clicked Load Data, and Save. Success.

Is this what you did? If not, what did you do?

Joe

--
You received this message because you are subscribed to the Google Groups "Tetrad Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tetrad-users-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nourhaine

unread,
Oct 20, 2015, 8:50:24 AM10/20/15
to Tetrad Users Group
Yes! It works !
The problem was that I didn't select covariance matrix ..
Really thanks Joe ! thanks so much 


Nourhaine
Reply all
Reply to author
Forward
0 new messages