¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

CATEGORICAL AUTOCORRELATION: RCT analysis with 4 groups


 

Dear UCINET group,?

?

I am working on a relational contingency table analysis looking at the?associations between four groups.?

?

One type of node (Y), split into two groups based on their position in the network (core and periphery) and another two groups based on attribute X and non-X.? These groups are mutually exclusive.? I want to test if the association from Y to X is consistent from the core to the margin of the network or if there are different patterns of?association based on Y's position in the network.?

?

I created a NodeAtt file with two columns, the ID and the attribute column, recoding each node as either 1, 2,3,4 (i.e. core, periphery, X, non-X).? ?

?

Problem: UCINET automatically turns each category of the variable into 4 separate dummy variables and only considers the first dummy variable in the contingency table.?



How do I get UCINET to consider all the categories for the RCT analysis? And secondly, am I going about this in the right way, in choosing RCT analysis for this type of question??



Thanks for all your help UCINET group!

?

Cheers,

Mathew


 

¿ªÔÆÌåÓý

So, I have a network called campnet and an attribute dataset called campattr where the third column has 3 categories:

?

?

?

?????????????? 1 2 3

???????????????G R C

???????????????e o o

???????????????n l m

???????????????d e b

???????????????e?? o

???????????????r????

???????????????- - -

????1?? HOLLY? 1 1 1

????2? BRAZEY? 1 1 1

????3?? CAROL? 1 1 1

????4???? PAM? 1 1 1

????5???? PAT? 1 1 1

????6? JENNIE? 1 1 1

????7 PAULINE? 1 1 1

????8???? ANN? 1 1 1

????9 MICHAEL? 2 1 2

???10??? BILL? 2 1 2

???11???? LEE? 2 1 2

???12???? DON? 2 1 2

???13??? JOHN? 2 1 2

???14?? HARRY? 2 1 2

???15??? GERY? 2 2 3

???16?? STEVE? 2 2 3

???17??? BERT? 2 2 3

???18??? RUSS? 2 2 3

?

When I run the RCT procedure I tell it that the attribute is ¡°campattr col 3¡± and it gives the results below. I gather it¡¯s not working that way for you. I¡¯m guessing that your nodeattr dataset contains two columns of actual data (not one column plus row labels). If so, you should be telling it ¡°nodeattr col 2¡±

?

steve

?

RELATIONAL CONTINGENCY TABLE ANALYSIS -- DIRECTED NETWORKS/UNDIRECTED MODEL

--------------------------------------------------------------------------------

?

Network dataset:??????????????????????? campnet (C:\Users\Steve Borgatti\Dropbox\data\ucinet data\campnet)

Attribute:????????????????????????????? campattr col 3

# of Permutations:????????????????????? 10000

Random seed:??????????????????????????? 10291

?

Input data is directed.

Warning: Attribute vector has been recoded.

?

Here is a translation table:

?

? Old Code??? New Code?? Frequency

? ========??? ========?? =========

????? 1??? =>???? 1?????????? 8

????? 2??? =>???? 2?????????? 6

????? 3??? =>???? 3?????????? 4

?

Number of ties: 54.000

?

Cross-classified Frequencies

?

?????????? 1? 2? 3

?????????? 1? 2? 3

????????? -- -- --

??? 1? 1? 20? 2? 2

??? 2? 2?? 5? 9? 4

??? 3? 3?? 0? 3? 9

?

?

Expected Values Under Model of Independence

?

???????????? 1??? 2??? 3

???????????? 1??? 2??? 3

????????? ---- ---- ----

??? 1? 1? 9.88 8.47 5.65

??? 2? 2? 8.47 5.29 4.24

??? 3? 3? 5.65 4.24 2.12

?

?

Observed/Expected

?

???????????? 1??? 2??? 3

???????????? 1??? 2??? 3

????????? ---- ---- ----

??? 1? 1? 2.02 0.24 0.35

??? 2? 2? 0.59 1.70 0.94

??? 3? 3? 0.00 0.71 4.25

?

?

?

Average permutation frequency table

?

?????????? 1??? 2??? 3

??????? ---- ---- ----

??? 1?? 9.88 8.48 5.63

??? 2?? 8.46 5.33 4.21

??? 3?? 5.64 4.23 2.14

?

?

Observed chisquare value = 50.061

Significance = 0.000200

Number of iterations = 10000

?

Cross-classified observed frequencies saved as lltab

Expected values saved as llexp

Ratio of Observed to Expected values saved as llrat

?

----------------------------------------

Running time:? 00:00:01

Output generated:? 31 Jul 19 16:09:05

UCINET 6.682 Copyright (c) 2002-19 Analytic Technologies

?

?

?

?

From: ucinet@...
Sent: Tuesday, July 30, 2019 23:56
To: ucinet@...
Subject: [UCINET] CATEGORICAL AUTOCORRELATION: RCT analysis with 4 groups

?

?

Dear UCINET group,?

?

I am working on a relational contingency table analysis looking at the?associations between four groups.?

?

One type of node (Y), split into two groups based on their position in the network (core and periphery) and another two groups based on attribute X and non-X.? These groups are mutually exclusive.? I want to test if the association from Y to X is consistent from the core to the margin of the network or if there are different patterns of?association based on Y's position in the network.?

?

I created a NodeAtt file with two columns, the ID and the attribute column, recoding each node as either 1, 2,3,4 (i.e. core, periphery, X, non-X).? ?

?

Problem: UCINET automatically turns each category of the variable into 4 separate dummy variables and only considers the first dummy variable in the contingency table.?

?

How do I get UCINET to consider all the categories for the RCT analysis? And secondly, am I going about this in the right way, in choosing RCT analysis for this type of question??

?

Thanks for all your help UCINET group!

?

Cheers,

Mathew


 

Thanks for the reply Steve.? I've managed to do a RTC analysis once - with a NodeAtt file and selecting the relavent column.? My problem seems to be that UCINET wants to convert my multi-category variable into four dummies, even when I import it as two columns and tell it to treat the data as NodeAtt (actor attribute [value]):?



Thanks for your help with this.

Best wishes,
Mathew


 

¿ªÔÆÌåÓý

Can you send me the data? Steve.borgatti@...

?

From: ucinet@... <ucinet@...>
Sent: Friday, August 2, 2019 03:37
To: ucinet@...
Subject: [UCINET] Re: CATEGORICAL AUTOCORRELATION: RCT analysis with 4 groups

?

?

Thanks for the reply Steve.? I've managed to do a RTC analysis once - with a NodeAtt file and selecting the relavent column.? My problem seems to be that UCINET wants to convert my multi-category variable into four dummies, even when I import it as two columns and tell it to treat the data as NodeAtt (actor attribute [value]):?

?

?

Thanks for your help with this.

?

Best wishes,

Mathew