BookmarkSubscribeRSS Feed
pingsu
Calcite | Level 5

Table 56.16 Example of Main Effects

Data

 

I

 

A

 

B

A

B

 

 

A1

A2

 

B1

B2

B3

1

1

 

1

 

1

0

 

1

0

0

1

2

 

1

 

1

0

 

0

1

0

1

3

 

1

 

1

0

 

0

0

1

2

1

 

1

 

0

1

 

1

0

0

2

2

 

1

 

0

1

 

0

1

0

2

3

 

1

 

0

1

 

0

0

1

If I need the this table of main effect from proc mixed, how can i write data set at the first place before i start to write  proc mixed -----.

2 REPLIES 2
Rick_SAS
SAS Super FREQ

It looks like you copied this from someplace. Maybe SAS documentation? The chapters and example numbers change every release as new procedures and examples are added. Could you provide a link to the example?  Also explain what this has to do with PROC MIXED? (They look like fixed effects.)

 

For examples that do not include data, in many cases the first paragraph says "This example continues to analyze the data Example XYZ" and provides a hyperlink to the earlier example.

Rick_SAS
SAS Super FREQ

Or maybe you want to simulate a mixed model with two class effects A and B such that the design matrix of the fixed effects is the table that you report, where mu is the grand mean?

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 853 views
  • 0 likes
  • 2 in conversation