Help using Base SAS procedures

Number of effective subjects - empirical SEs from proc mixed

Reply
N/A
Posts: 1

Number of effective subjects - empirical SEs from proc mixed

I am trying to fit a three level model: observations ("t") nested in subjects ("id"), subjects cross-classified into municipalities -people have moved over time in my study so I can't use a simple nested structure ("MuniID"). I'd like to compute empirical rather than model-based standard errors for my fixed effects, but when I specify the empirical option in PROC MIXED, I get a warning that I only have one effective subject. The dimensions table says I only have one effective subject, though the class level information is correct - I have 5 waves in 1,741 people in 195 towns.

I'm confused about why my dataset is read by SAS as having only one effective subject and how I can get the empirical standard errors I need. Anyone have any thoughts?

Any advice would be greatly appreciated!

Code:

proc mixed data = obese method = ml;

class ID t MuniID RACE SEX;

model BMI= edu inc age RACE SEX density time time*time pctpov fcrate/ solution;

repeated t/type =un subject=ID;

random intercept / subject=MuniID;

run;

Output

Dimensions
Covariance Parameters16
Columns in X22
Columns in Z195
Subjects1
Max Obs Per Subject20232

Class  Level Information
ClassLevels
ID1741
t5
MuniID195
RACE5
SEX2
Ask a Question
Discussion stats
  • 0 replies
  • 172 views
  • 0 likes
  • 1 in conversation