BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sasnewbie12
Obsidian | Level 7

I am looking for binary outcome "speeding ticket" (1/0)

 

I have a categorical variable "bright color" which is categorized into 1, 2, 3 and 0.

 

I will run a chi-sq with speeding ticket*bright color 

 

On the other hand I make three categorical variables using the same information from bright colors 1, 2, and 3. Each bright color is made into a separate variable:

bright color 1 (1/0)

bright color 2 (1/0)

bright color 3 (1/0)

 

Then I will run a chi=sq with each variable such as:

bright color 1*speeding ticket

bright color 2*speeding ticket

bright color 3*speeding ticket

 

Will there be a correlation between running a chi-sq testing bright color as a single variable  vs. speeding ticket with categories 1, 2, 3 and on the other hand running 3 chi-sq testing bright colors as individual variables vs. speeding ticker(bright color1, bright color 2, bright color 3)??

 

If I find a significant association when running each color as a separate variable, should I expect to find a significant association when running all the colors as one variable with multiple categories?

 

Thank You

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
stat_sas
Ammonite | Level 13

Hi,

 

If overall chi-square between speeding ticket and bright color is not significant then chi-square at various levels would reflect the same.

View solution in original post

1 REPLY 1
stat_sas
Ammonite | Level 13

Hi,

 

If overall chi-square between speeding ticket and bright color is not significant then chi-square at various levels would reflect the same.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1380 views
  • 0 likes
  • 2 in conversation